[thelist] automatic code updates with PHP

Peter VanDijck pvandijck at lds.com
Tue Nov 12 14:42:00 CST 2002


> To implement this, it might mean having a folder where the "main" code
> is that has to be chmod'd to allow access by the PHP/Webserver user
> while the update happens, then changed back once the update is
> complete. Gallery (http://gallery.sourceforge.net) does something
> similar for setup -- you run a configure script to open permissions,
> then run a secure script once you're done.

Can the script do the chmoding (I guess not)? So the user would have to
chmod manually? Mmm... not what I want...
Wwould it be ok to leave something accessible by PHP if it is outside of
the web root? Or would that be a security risk?
Peter



More information about the thelist mailing list