DreamHost Web Hosting
Discussion Forum


Forums
   >> General Troubleshooting
*Threaded Mode

Subject exec issue  
Posted byshoden (DH New User )
Posted on09/20/06 02:09 PM



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


Subject Re: exec issue new [re: shoden]  
Posted byshoden (DH New User )
Posted on09/20/06 02:17 PM



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

Sheldon Kotyk
http://www.kotyk.com



*Threaded Mode
Jump to