(Moved from main boards)
I just upgrade my box from Ubuntu 7.10 to Ubuntu 8.04. The php version is 5.2.4, which I believe is identical to 7.10. I went to make sure everything still worked with my phpMotion server, and the site seemed fine. However, when php is invoked directly, I am getting the well-known error:
Warning: dl(): Dynamically loaded extensions aren't enabled in /var/www/phpmotion/classes/config.php on line 2
I know there are plenty of posts about this. The thing that mystifies me is that I have never had to mess with phpshield before I upgraded the server. When I installed phpmotion the first time, I didn't need to touch up any php.ini file to make sure phpshield extensions were loaded explicitly. When I tried to follow
http:///how-to-install-phpshield-loaders/ to specify the extension explicitly, my apache error log complained, saying:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs//var/www/phpmotion/phpshield/phpshield.5.2.lin'I took out the extension declarations in the php.ini file and this error went away. I don't see any other phpshield errors in the error.log. I also tried copying the phpshield.5.2.lin file into my /usr/lib/php5/20060613+lfs folder, but that did not help either.
UPDATE: So it appears that the issue is not with apache. I can display pages perfectly. The issue is when php is invoked directly, such as when convertor.php is called. I made a test file with a string declaration and then include ("classes/config.php"). I executed this with php, and I got the dynamic load error.
Any ideas?
