|
|||
|
php.ini and override default php.ini
I´m running a system with phpSuexec. I try to activate register_globals for one directory.
Since this is a cgi setup, I can only override this setting from php.ini on a per dir basis, and not through .htaccess or in httpd.conf. However: The php.ini file I have put in the directory, beside a test.php file with phpconfig(); content, doesn´t change register_globals. So, is there anywhere a directive that allows override like this? The php settings doesn´t change. |
|
|||
|
you should recompile your php with option where php should find php.ini (i do not remember definately, so please read ./configure --help in php source folder). By default new version of php used only one - server php.ini
__________________
https://robobill.net US dedicated, Europe and Asia and Russia dedicated server. Shared, Reseller, VPS hosting in US and Europe. We are RESELLER of dedicated servers since 2002. |
|
||||
|
Quote:
I get the impression you may actually be running the newer SuPHP which operates similar to the old phpSuExec but not exactly the same and there are differences in how you do configuration overrides.
__________________
My Server Expert: Server support, security, and management! |
|
||||
|
Quote:
I get the impression you may actually be running the newer SuPHP which operates similar to the old phpSuExec but not exactly the same and there are differences in how you do configuration overrides.
__________________
My Server Expert: Server support, security, and management! |
![]() |
| Thread Tools | |
| Display Modes | |
|
|