Exec issue


#1

I’m using AddHandler in my .htaccess file so that I can use an html extension on my files.

I have file that uses the php exec function that works when I have the .php extension on it, but gives me the following error when I have an html extension.

Warning: exec() has been disabled for security reasons

I’m running PHP 4.4.2 as CGI and I have Extra Web Security and FastCGI support turned on.

Sheldon Kotyk
http://www.kotyk.com


#2

Never mind, my buddy Alvin figured it out. AddHandler causes PHP to run through Apache, not CGI.

Sheldon Kotyk
http://www.kotyk.com