Well I decided to take the plunge and upgrade to PHP5. I program with objects and I wanted to try the new features that are geared towards OOP in PHP5.

The first thing I found was I need to upgrade to the latest ADODB because of an interface error. No problems just unzipped into my include directory. Please not the site has moved.

Then came the headache! mySQL would not run. I tried to uncomment the line in php.ini ‘extension=php_mysql.dll’ and restarted apache, but kept getting ‘The module could not be found’. So I turned to Google to see what I could find. In PHP5 the extension directory has changed from ‘extension’ to ‘ext’ so I made the change in my php.ini and restarted Apache.

I did not notice at first but the error had changed to ‘The specified procedure could not be found’ so it looked like the module was loading but there was a problem. I read that other users had the same problem and they suggested moving dll’s around. I tried but had no luck. Time to clean house and start fresh.
I uninstalled mySQL, and deleted all the libmysql.dll’s I found. Then I reinstalled the latest mySQL and added the paths to my environment c:\mysql;c:\mysql\bin.
I then restarted apache, and bang it works. So it looks like it was loading the wrong dll for mySQL.

I loaded up some app’s top see what errors I would run into. Everything seems great so far. Here is a list of small things I ran into.

Needed to change Parent to parent when referencing the parent class.

PHP gave me errors about redeclaring a var in the same class, nice feature to keep me from being sloppy.