PHP warning after upgrade

I did an upgrade to PHP months back and now every time I or Apache executes a PHP script, this warning is printed at the top:

Code:
greg-kennedy# php
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/session.so' - Cannot open "/usr/local/lib/php/20090626
/session.so" in Unknown on line 0
^C

Any idea what is causing this and how to make it go away?
 
Huh, how strange, it was missing. Can't believe I didn't think of that.

I was getting this new error after installation:

Code:
greg-kennedy# php
PHP Warning:  Module 'session' already loaded in Unknown on line 0
^C

So I edited /usr/local/etc/php/extensions.ini and saw extension=session.so listed twice. Removed the last instance, everything starts up no problem now. Thanks for the help!
 
Back
Top