Shared Server configuration PHP settings for WordPress and Drupal installations

February 15, 2009

Recently had to install wordpress and Drupal on our shared server.

I wasn’t seeing any errors, just a status 500 Server Error.

So after poking around and trying some things. I had to make a .htaccess file with the following settings :

php_flag display_startup_errors on
php_flag display_errors on
php_flag register_globals off
php_value memory_limit 16M
php_value zend.ze1_compatibility_mode Off

This allowed me to see the errors and also to avoid a brutal compatibility bug our provider has setup in their version of PHP5 install. After these were set… no problems đŸ™‚

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: