WordPress configuration
Last updated
Was this helpful?
Last updated
Was this helpful?
Access the /var/www/html directory with the command:
Copy the file wp-config-sample.php and rename it wp-config.php:
Once we have renamed it we will edit the file wp-config.php:
modify the following values:
You have to replace them with the values that we have previously set when we created the database and the user so that WordPress can connect and make use of it.
We enabled the fastcgi-php module in Lighttpd to improve the performance and speed of web applications on the server:
We enabled the fastcgi-php module in Lighttpd to improve the performance and speed of PHP-based web applications on the server:
We update and apply the changes in the configuration with the command:
Once we have completed the previous steps we can go back to our browser and type localhost
. You should see the following:
If it don't work you can try http://localhost:81
We must fill in all the fields. In my case I have put the following:
Once we have filled in all the fields we must click on Install WordPress
and we will have finished the installation. You will see the next tab. Now WordPress can create the tables and dump all the data it needs to work in the database we have assigned to it.
If we access again to our localhost from the browser we can see our functional page.