Jump to content

extensio_dir php5 local setting


Recommended Posts

Hi!

The Server is running with SUSU and PHP 4.

Now I need PHP5 in one directory, but I cannot change the global php.ini, because another directory needs php4.

It is a php-cgi-library I must use.

I tried a local php.ini, but phpinfo doesn't recognize it.

How can I activate a local php.ini with extension_dir=?

ini_set doesn't support extension_dir.

 

Can anybody help me?

 

The User

Link to comment
https://forums.phpfreaks.com/topic/96591-extensio_dir-php5-local-setting/
Share on other sites

In the php.ini I can set extension_dir.

So I could use php5 because ther is a php-cgi-library on the server.

But this extension_dir should be set only for a few scripts in one directory, because other scripts need php4.

I tried ini_set, but ini_set doesn't support extension_dir.

I ve read sometimes that it is possible to use a local php.ini.

Here I could set the extension_dir, how could I enable a local php.ini?

 

Thank you for helping me!

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.