problem in diactive special php.ini
hi there dear friends..
i want to limit php.ini for deactive special php.ini
im goining to this directory
[PHP]/usr/local/apache/conf/includes/pre_main_global.conf[/PHP]
and inport this code string :
[PHP]
suPHP_ConfigPath /usr/local/lib/
[/PHP]
and im going to this config file :
[PHP]/opt/suphp/etc/suphp.conf[/PHP]
the training should be such files available (and should separate ( ; ) in outset ) :
[PHP]application/x-httpd-php=/usr/local/lib/
application/x-httpd-php4=/usr/local/php4/lib/
application/x-httpd-php5=/usr/local/lib/[/PHP]
but in my /opt/suphp/etc/suphp.conf
there is, this code and there is not, last code :
[PHP][handlers]
;Handler for php-scripts
application/x-httpd-php="php:/usr/bin/php"
application/x-httpd-php4="php:/usr/php4/bin/php"
application/x-httpd-php5="php:/usr/bin/php"
[/PHP]
what to do
-
] i want to limit php.ini for deactive special php.ini
Hello :) You can actually follow the instructions on the following thread: Methods to Increase Security on suPHP - Restricting who can use php.ini files Thank you.0
Please sign in to leave a comment.
Comments
1 comment