Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Save the file and browser to file using a browser. You can use either the IP Address or the valid Domain Name. For example, http://173.194.75.94/info.php or http://www.dailyplanet.com/info.php which should show a purple and grey PHP informational screen.

Secure

...

PHP

The security posture is from an administrative perspective and with shared hosting.

...

Code Block
languagebash
sudo, edit, vi /etc/php5/apache2/php.ini

...

This helps minimizes the amount of damage that can be done in the event that the system is compromised to the specified directory.

Select Temporary Folder

Because open_basedir has been set, WordPress nolonger has access to the general temporary folder /var/tmp/ which is required for example to upload and install plugins.

Modify the ...

 

Restart Apache for the changes to take effect,

...

DirectoryPurposeAccessTech Notes
/wp-content/plugins/Plugins are dropped in here.Administrator and developers.

The plugin can be installed through WordPress Administration two ways,

  1. Via FTP and FTPS (whatever that is) Login Prompt (not sure how this works).
  2. Upload into WordPress zip file.

Option 2 did does not work for out of the box unless the owner of the directory is www-data. me, but I suspect it is due to having set in php open_basedir which does not have a writable temporary folder. This can be resolved by specifying upload_tmp_dir which must reside in open_basedir and also where www-data has rwx access.

...

Wordpress' official article to getting started after setup - http://codex.wordpress.org/First_Steps_With_WordPress

Article which resolved manual upload issue - http://www.charleshooper.net/blog/wordpress-auto-upgrade-and-dumb-permissions/