≡ Menu

Install WordPress on Ubuntu Server using Nginx, PHP, MySQL

Thwordpress logois time i want to talk how to Install WordPress on Ubuntu Server using Nginx, PHP, MySQL. If during the time we are familiar with Apache web server, now in writing this time I do not use Apache as web server, but using Nginx.

Please read and read Apache vs Nginx: Web Server Performance Deathmatch to know a little performance comparison between Apache and Nginx.

Immediately, we practice, let’s …

Install the necessary software (nginx, php, mysql, compiler, and additional software)

1. Nginx Configuration

Edit nginx configuration in order to be run as we expected.

Then uncomment the sections below:

Spawn-fcgi configuration

We can use the spawn-fcgi lighttpd, so it means you have to build from source to get its binary.

Create a script to run spawn-fcgi

Give 755 permissions for the script can be executed.

Running init-FastCGI and settings for this script is executed when the server machine on reboot.

Start the service nginx

Test setup nginx + php + mysql configuration using phpinfo.

2. MySQL Configuration

Make sure the MySQL server service is running well.

3. Instalasi WordPress

Edit customize wordpress configuration settings database which we have set previously.

Once saved, navigate your browser to http://server_nginx/wordpress/wp-admin/install.php, if we are doing right setting, it will show the wizard for the installation of wordpress, please follow the wizard to finish and tutorial how to Install WordPress on Ubuntu Server using Nginx, PHP, MySQL is finish too :d

{ 0 comments… add one }

Leave a Comment