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
https://forums.phpfreaks.com/topic/175989-multiple-extension_dir/
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:

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.