If you are running a web server though Plesk and you are new to it, installing a WordPress blog in it may be a little bit more challenging that you would like. Keep reading to find out how to do it without any problems.
So you decided to start blogging, you already have a wordpress template ready for your new blog, so you upload the files try to install and realize that the “famous 5 min installation” doesn’t work because of your Plesk settings.
Keep in mind that you can always manually create the conf.php file that wordpress needs to access the database, if you do not want to do this.
The first thing you need to do is to upload all the wordpress files into your preferred installation directory. Then log into your plesk account and select the domain under which you want to install wordpress. Then go to File Manager. Inside file manager browse until you get to the installation folder, in this case httpdocs. Now selected it and click on the “permissions” link on the forth column. This should take you to the permissions page, in here you need to add the option “write” to group. So they should like something like this.
This tells the server that you should let other people from the owners group to write. This other “people” is the php module.
Now, this should take care of the configuration file. However there are still a few adjustments that you need to do. First, if you control the domain and trust your users, then you need to make php NOT to run on safe mode. Running php on safe mode “secures” your files by not letting other people (php users) to write your files. So this somehow poses a security thread, so WHEN YOU ARE DONE MAKE SURE TO SET IT BACK TO SECURE MODE.
In order to make php run on secure mode, go back to your domain panel and go to Web Hosting Settings under “Web Site”, you will be presented a list of options. Towards the end of the list you will php under services. Uncheck the box that says “Run in safe mode” Then save your changes.
Once you have done this you will be able to install WordPress without any problems in Plesk V9.
However if you want to be able to upload files through the Flash uploader sometimes (depending on your Plesk configuration) you will need to change something else. For this you will need to login as root via ssh to your server and change the file /var/www/vhosts/your.domain.tld/conf/http.include. In this file make sure that all your open_base dir argument is correct. Meaning that you can access your temporary upload folder, and that you can access wherever is that you are going to save those images.
Let us know if you find this useful, and remember if you are looking for a great wordpress template let us know, we can sure help you with that.