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
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!

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.