Help! Server move didn't go very smoothly :(
Posted: Thu Feb 08, 2007 7:06 pm
I decided to change web hosts for a number of reasons, and the guys at the new web host helped me copy everything over with permissions intact.
The problem is that on the new host, PHP is operating differently (I don't know a whole lot about this yet, so bear with me). When I try and load the site I get a general 500 internal error generated by my browser and in the error logs on the server it indicates that in my .htaccess file the 'php_value' command is invalid. I did some searching and I think that is because my new host is running PHP in CGI mode and not as an apache module.
The two lines using the invalid 'php_value' command are:
php_value session.use_trans_sid 0
php_value register_globals off
I tried deleting those lines from the .htaccess file but then I get a forbidden error, and deleting the .htaccess didn't solve anything either.
What changes do I need to make to my configuration to get my site working again? I tried searching the forums and documentation and didn't find anything that seemed obvious, so I apologize if this is a stupid question.
The problem is that on the new host, PHP is operating differently (I don't know a whole lot about this yet, so bear with me). When I try and load the site I get a general 500 internal error generated by my browser and in the error logs on the server it indicates that in my .htaccess file the 'php_value' command is invalid. I did some searching and I think that is because my new host is running PHP in CGI mode and not as an apache module.
The two lines using the invalid 'php_value' command are:
php_value session.use_trans_sid 0
php_value register_globals off
I tried deleting those lines from the .htaccess file but then I get a forbidden error, and deleting the .htaccess didn't solve anything either.
What changes do I need to make to my configuration to get my site working again? I tried searching the forums and documentation and didn't find anything that seemed obvious, so I apologize if this is a stupid question.