[LUGOS-PROG] PHP modul in pravice

Branko F. Graènar bfg at noviforum.si
Tue May 27 11:07:08 CEST 2003


v httpd.conf za vsak virtualni host dodaš:

php_admin_value open_basedir /wwwroot:/wwwroot/tmp

http://si2.php.net/manual/en/features.safe-mode.php#ini.open-basedir

Potem nastaviš pravice na fajlih take, da jih lahko bere samo http strežnik.

lp, Brane




More information about the lugos-prog mailing list