Jump to content

PHP4/Apache2: extension not loading


markjreed

Recommended Posts

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?

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.