Jump to content

multiple extension_dir


loquela

Recommended Posts

Hi there,

 

I'm working with a graphics generation api that uses custom php modules. I'm on shared hosting so  need to put the module in my local cgi-bin and issue the directive  extension_dir=/home/sites/pdf.co.uk/cgi-bin/

 

this gets the api working great. However, it overrides the default extension_dir=/usr/lib/php5/, so now none of the other php modules can be loaded.

 

Can I set multiple parameters for extension_dir? if so, what's the syntax?

 

Many thanks in advance,

 

S.

 

Link to comment
Share on other sites

Thanks thorpe,

 

But this just throws this error :

 

dl(): Unable to load dynamic library '/usr/lib/php5:/home/sites/pdf.co.uk/cgi-bin/phpchartdir520.dll' - /usr/lib/php5:/home/sites/pdf.co.uk/cgi-bin/phpchartdir520.dll: cannot open shared object file: No such file or directory

 

"It appears the PHP extension directory of this system is configured as "/usr/lib/php5:/home/sites/pdf.co.uk/cgi-bin", but this directory does not exist or is inaccessible. PHP will then refuse to load extensions from any directory due to invalid directory configuration."

 

:facewall:

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.