V 4.3.11 vs. 5.2.1
Moderator: General Moderators
V 4.3.11 vs. 5.2.1
I have a simple contact form that works on a server that supports PHP 4.3.11 but when i move the file to a server that support PHP 5.2.1, the form no longer works. In fact, it looks like the PHP is getting read as HTML and displays on the page. Has anyone ever had that experience or know what I need to do to correct this?
Check your php configuration on the new server.
Save that as phpinfo.php and run it... if you can.
There are several things it could be
Apache not recognizing the php extension
PHP errors are not displaying to show you any errors such as:
-short tags on/off
-register globals on/off
-magic quotes on/off
Even the use of deprecated superglobals like $HTTP_POST_VARS
Code: Select all
<?php
phpinfo();
?>There are several things it could be
Apache not recognizing the php extension
PHP errors are not displaying to show you any errors such as:
-short tags on/off
-register globals on/off
-magic quotes on/off
Even the use of deprecated superglobals like $HTTP_POST_VARS
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
PHP Configuration
Thanks. i already have a test page that tells me that info but I didn't think to look at it thoroughly...I'm not all that familiar with what could be throwing it off...any chance you can take a look?
http://www.christchurchlife.com/staging/test.php
http://www.christchurchlife.com/staging/test.php
scottayy wrote:Check your php configuration on the new server.
Save that as phpinfo.php and run it... if you can.Code: Select all
<?php phpinfo(); ?>
There are several things it could be
Apache not recognizing the php extension
PHP errors are not displaying to show you any errors such as:
-short tags on/off
-register globals on/off
-magic quotes on/off
Even the use of deprecated superglobals like $HTTP_POST_VARS
thanks, I'll take a look. I use a hosting service so I have no idea what/how they configured everything or if I can even have them change whatever is causing the issue. Its been a while since I looked at PHP, so I am having to dig alot to find answers and I am trying to help out a friend with troubleshooting their page.