enable only exec after build secure_php

You should modify the PHP configuration to disable commonly abused php functions, e.g.:
Code:
disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, 
popen, proc_open, allow_url_fopen
Some client web scripts may break with some of these functions disabled, so you just remove them from this list.
 
You should modify the PHP configuration to disable commonly abused php functions, e.g.:
Code:
disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, 
popen, proc_open, allow_url_fopen
Some client web scripts may break with some of these functions disabled, so you just remove them from this list.

I already did it, I'm the admin of the server.
But I have a virtual host I (ADMIN) use for a script that use the function "exec".
The question is: is it possible to reactivate it only for that virtual host?
 
You should modify the PHP configuration to disable commonly abused php functions, e.g.:
Code:
disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo,
popen, proc_open, allow_url_fopen
Some client web scripts may break with some of these functions disabled, so you just remove them from this list.
witch file should be modified where is the patch please
 
witch file should be modified where is the patch please
You are responding to a 11 year old post. Please dont do that..

look here
 
look here

Good "how to" for doing it server-wide... but needing to do it for a single user? Is it somehow possible?
 
Back
Top