Re: [SMARTY] smarty problems - problem creating directory "/%%-13/%%-135052920

From: Date: Wed, 10 Dec 2003 20:42:03 +0000
Subject: Re: [SMARTY] smarty problems - problem creating directory "/%%-13/%%-135052920
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10657@lists.php.net to get a copy of this message
On Wednesday 10 December 2003 03:22 pm, Markku Niskanen wrote: > As far as I know safe_mode cannot be turned off in .htaccess or > httpd.conf. You cannot via .htaccess, but you can via httpd.conf I currently control each domain settings via httpd.conf virtual host directives, and I haven't had a problem with safe_mode. If PHP is run as an Apache module the only way to > switch to non-safe mode is compile a PHP binary and run it as > a CGI module. Not true. My current setup is setup as an apache module, and I can turn safe_mode off/on at will by changing its value in each domain's virtual host configuration. > I wonder if anybody has succeeded in running Smarty applications > using CGI approach? If you're talking about php as a CGI, then yes it works. But I've only tested using CGI under windows (Apache & IIS). Maybe one of these days, Ill test CGI in a *nix environment, and see how my scripts perform there...

« previous php.smarty.general (#10657) next »