HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Programming/Scripts (http://www.howtoforge.com/forums/forumdisplay.php?f=7)
-   -   Disable exec() in PHP (http://www.howtoforge.com/forums/showthread.php?t=47)

uli 26th April 2005 16:55

Disable exec() in PHP
 
I'd like to disable the use of the exec() function in my PHP. Can this be done?

Uli

falko 26th April 2005 17:17

Yes, you can disable it in your php.ini. Search for the line

Code:

disable_functions =
and change it:

Code:

disable_functions = exec
Don't forget to restart Apache afterwards.

uli 27th April 2005 17:42

That's what I was looking for! :)


All times are GMT +2. The time now is 06:26.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.