I have been using PHP4 in my application for a long time. When I tried to run the application under PHP5 many of the scripts do not work. For the most part, I don't use any fancy or unusual features. My application does hit a MySQL database quite frequently. Also, many of my forms call themselves many times (like a wizard in Windows). I made a few test pages with these two features but there was no problem. I combined my test pages but there was still no problem.
I also noticed that PHP5 doesn't supply any feedback when I make coding mistakes. Is there some site that can provide guidance to people migrating to PHP5. I looked on the PHP site and the page regarding migration wasn't helpful because I wasn't using any of the functions and features they said were different in PHP5.
Thanks in advance,
Shirokuma
PHP4 scripts don't work in PHP5
Moderator: General Moderators
start your scripts with:
and tell us what it says.....
Code: Select all
error_reporting(E_ALL);- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
just to make sure, also turn on error display (it may be off in your install, for whatever reason)
Code: Select all
ini_set('display_errors','1');