Web Hosting Talk







View Full Version : exec


LoganNZ
09-16-2004, 05:45 AM
Problem;

I cannot have exec listed in the disable_functions in php.ini because WHMAP throws a **** at me. Is there any other way to have exec enabled and WHMAP still working?

:)

sprintserve
09-16-2004, 07:40 AM
You can try enabling it for the particular virtual host that WHMAP is on.

Try editing your httpd.conf (located at /usr/local/apache/conf/ typically)

Look for the domain you have WHMAP installed. Just above </VirtualHost>, add,

php_admin_value disable_functions = ""

Save and restart Apache. See if it works now.

LoganNZ
09-16-2004, 09:26 AM
Umm, i want to be have exec disabled globally on the server, ut i still want whmap to work without throwing a wobly at me.

Is there a variable that i can put into the accounts virtual host that will disable exec on that certain account?

Thanks!

Burhan
09-16-2004, 11:09 AM
php_admin_value disable_functions = "exec"

in the <VirtualHost> section, as pointed by sprintserve

Steven
09-16-2004, 11:14 AM
Originally posted by LoganNZ
Umm, i want to be have exec disabled globally on the server, ut i still want whmap to work without throwing a wobly at me.

Is there a variable that i can put into the accounts virtual host that will disable exec on that certain account?

Thanks!

Read what sprintserve said.

ub3r
09-16-2004, 11:25 AM
you might also want to disable other associated services like system(), and shell_exec() .

LoganNZ
09-16-2004, 11:29 AM
oohhh yeah i get it now.

Sorry, i didn't read it properly.

Thanks!