2.5 Admin side PHP5 only?
-
I noticed that although the main site works fine with PHP4 (I have some cross-site code that needs PHP4), the admin site will break with a 500 error code unless I change the .htaccess file accordingly.
so.. the .htaccess for the root directory isAddType x-mapp-php4 .php AddHandler x-mapp-php4 .php # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
and for w the wp-admin folder is:
AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘2.5 Admin side PHP5 only?’ is closed to new replies.