Created
December 5, 2011 14:50
-
-
Save deanet/1433829 to your computer and use it in GitHub Desktop.
php.ini suPHP apache trouble maker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[phprc_paths] | |
;Uncommenting these will force all requests to that handler to use the php.ini | |
;in the specified directory regardless of suPHP_ConfigPath settings. | |
application/x-httpd-php=/usr/local/lib/ | |
application/x-httpd-php4=/usr/local/php4/lib/ | |
application/x-httpd-php5=/usr/local/lib/ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[phprc_paths] | |
;Uncommenting these will force all requests to that handler to use the php.ini | |
;in the specified directory regardless of suPHP_ConfigPath settings. | |
application/x-httpd-php=/usr/local/lib/ | |
application/x-httpd-php4=/usr/local/php4/lib/ | |
application/x-httpd-php5=/usr/local/lib/ | |
root@venus [/home/rottwe/www]# php -c php.ini t.php | grep global | |
auto_globals_jit => On => On | |
register_globals => On => On | |
root@venus [/home/rottwe/www]# | |
http://www.sant-media.co.uk/2010/02/whmcpanel-per-user-php-ini-under-apache-2-x-and-suphp/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment