|
|||
|
PHP5 not detecting php.ini in user's home dir
Hi,
PHP4 and PHP5.0.5 is installed in server and both are working great. But php5 is not detecting php.ini file in user's home directory. PHPsuexec is enabled with both php4 and php5. Any help is appreciated..
|
|
|||
|
This thread http://forums.cpanel.net/showthread.php?t=53185& says
Quote:
__________________
Lloyd F Tennison |
|
|||
|
Guys, I advice to install custom wrapper to handle such cases (of course, if you run PHP5 via Action directive!):
http://forums.cpanel.net/showpost.ph...52&postcount=1 Read the section about the wrapper. |
|
|||
|
After testing a number of options it seems that PHP 5.1.4 does not fully support custom php.ini files. Don't know whether this is a bug or a change in the direction of PHP, but I truly needed per-directory php.ini support. Downgrading PHP to 5.0.5 fixed this problem and all is well. I haven't tested per-home-directory but I would imagine this works as well. Of course a custom wrapper is probably the best way to go for flexibility on shared hosting, but downgrading is a good temporary fix should you not need the latest PHP.
|
|
|||
|
Quote:
Perhaps later I will take a look. |
|
|||
|
any news on this?
Having this problem as well, and I only need to enable register_globals for one account.
__________________
Working on signature. www.NAVIGATORis.net |
|
|||
|
I believe it's related to this bug:
http://bugs.php.net/bug.php?id=33882 Which was included in PHP5. No current workaround, although I have been told that it should work with suPHP (in beta atm) instead of phpSuExec |
![]() |
| Thread Tools | |
| Display Modes | |
|
|