markjreed Posted August 31, 2007 Share Posted August 31, 2007 I am completely flummoxed by this. There is only one php.ini file on the system. Both command-line php and mod_php (both 4.4.7) report loading that php.ini file in phpinfo(). That php.ini file has the lines extension_dir=/usr/lib/php/extensions extension=syck.so syck.so exists in that directory. Command-line php loads the extension no problem; it is listed in phpinfo and the functions work. In Apache (which I have restarted multiple times), the extension is not loaded. No error in the logs; the php.ini appears to have been processed. But the extension is not loaded - not listed in phpinfo, functions not found. Is there some security thing? I mean, I know dl() doesn't work in multithreaded Apache2, but extension= in the php.ini file is supposed to work. This is the only extension I'm using that's not compiled into php, though. Any help? Quote Link to comment https://forums.phpfreaks.com/topic/67507-php4apache2-extension-not-loading/ Share on other sites More sharing options...
hitman6003 Posted September 1, 2007 Share Posted September 1, 2007 Is the .so file readable / reachable by the apache user? Do an su to the apache user, cd to the directory and see if you can access the directory. Not sure which OS you're using, but I usually check to make sure it can load correctly using 'ldd' in solaris. Quote Link to comment https://forums.phpfreaks.com/topic/67507-php4apache2-extension-not-loading/#findComment-339070 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.