The User Posted March 17, 2008 Share Posted March 17, 2008 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 Quote Link to comment Share on other sites More sharing options...
trq Posted March 17, 2008 Share Posted March 17, 2008 It is pretty unclear from your post what your actually trying to achieve. Can you try and describe your issue a little clearer. Quote Link to comment Share on other sites More sharing options...
The User Posted March 17, 2008 Author Share Posted March 17, 2008 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.