Turn of PHP 'safe mode' for one virtual host.

Hi,

I tried turning of PHP safe mode for one virtual host in httpd.conf using 'php_admin_value safe_mode' but the script that is running on this domain says that PHP safe mode is still on so I guess this is the wrong method.

I asked the company who made the script and on the question if this was the right way to turn off PHP safe mode they answered
"Yes, in a .htaccess file. But this may only affect the apache PHP, not the CLI php which cron uses."

So my question is what the method is to turn off PHP safe mode for just one virtual host.

Thank you!

 

 

 

 

Top