* Thus wrote Tim Traver: > Hi all, > > In the quest to secure php script running, I am starting to think about > running php as a cgi instead of through the module. > > I generally set the open_basedir directory within the apache > configuration file for individual hosts. If I ran php as a CGI, would > that directive still be in effect ? or do I have to set that in a > php.ini file that is specific for that virtual host ? The directive will be effectve for which ever apache's <Directory> direcve applies, other wise the setting to the default directory will be used. php in general, has no clue about virtual hosts. This is rather a appache issue. Curt -- Quoth the Raven, "Nevermore." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php