I am a big fan of portable applications. I love them the way they are instantly usable in different computers. As I am trying my hands on web development, I use XAMPP, WAMP, MAMP all those make use of Apache webserver, MySQL and PHP. I read that http://www.wordpress.com is serving the service with nginx server and I want to try it, if possible in portable way.
And I found the Xeoncross’s WNMP (Windos, Nginx, MySQL, PHP). Here are the steps I took to install wordpress on Windows 7.
Get the files
Download only the compressed files which do not require installation to use the programs
- get the Xeoncross’ WNMP (Xeoncross-wnmp-v1.0.0-0-g9c1d833.tar.gz)
- get memcached (memcached-1.2.6-win32-bin.zip)
- get MySQL (mysql-5.5.11-win.zip)
- get nginx (nginx-1.0.0.zip)
- get PHP (php-5.3.6-nts-Win32-VC9-x86.zip)
- get phpMyAdmin (phpMyAdmin-3.3.10-all-languages.tar.gz)
- get wordpress (3.1.1.tar.gz)
Place the files
- extract the content of WNMP to
d:\wemp\
- extract the
memcached.exe
tod:\wemp\memcached\
- extract the contents of MySQL to
d:\wemp\MySQL\
- extract the contents of nginx to
d:\wemp\nginx\
- extract the content of PHP to
d:\wemp\PHP\
- extract the content of phpMyAmdin to
d:\wemp\www\phpMyAdmin\
- extract the content of wordpress to
d:\wemp\www\wordpress\
Configure
- for MySQL, rename
d:\wemp\MySQL\my-small.ini
tomy.ini
- for NginX, copy
d:\wemp\example.nginx.conf
tod:\wemp\nginx\conf\
, renamenginx.conf
tonginx.conf.bak
and renameexample.nginx.conf
tonginx.conf
- for PHP, rename
d:\wemp\PHP\php.ini - development
tophp.ini
- open the
php.ini
file in a text editor, remove the;
preceedingextension_dir = "ext"
- remove the
;
preceedingcgi.fix_pathinfo = 1
- remove the
;
preceedingextension=php_mbstring.dll
- remove the
;
preceedingextension=php_mysql.dll
, save the file
Run
- run
d:\wemp\start_server.bat
to start running, a few command prompt windows will pop up and disappear
Confirm they are running
- open task manager by pressing
Ctrl+Shift+Esc
- check
php-cgi.exe
,memcached.exe
,mysqld.exe
,nginx.exe
are running - run the following command in command prompt to change the root password of MySQL
d:\wemp\mysql\bin\mysqladmin -u root password hereIsYourPassword!
- I had problem starting
mysqld.exe
and I looked the error ind:\wemp\mysql\data\err.log
Test the server and install wodpress
- start a browser (make sure there is no proxy)
- visit http://localhost/
- see the WNMP success page
- visit http://localhost/phpMyAdmin/
- log in with username
root
, passwordhereIsYourPassword!
- create a database with the name wordpress
- visit http://localhost/wordpress/
- start the famous 5 mins installation of wordpress
hi this is a great site that you’ve, thank u 4 sharing it with us.
wesler.biz withdrawl proof – earning, initial coin offering