CMS module for Phprojekt
FS#39 - Setup routine to overcome PHP safe-mode problems.
Attached to Project:
CMS module for Phprojekt
Opened by Mario A. Valdez-Ramirez (mvaldez) - Wednesday, 07 July 2004, 17:42 GMT-5
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Sunday, 11 July 2004, 12:43 GMT-5
Opened by Mario A. Valdez-Ramirez (mvaldez) - Wednesday, 07 July 2004, 17:42 GMT-5
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Sunday, 11 July 2004, 12:43 GMT-5
|
DetailsPossible solutions:
a) Use a PHP-script installer. A PHP-script installer is one script which create all other scripts from an encoded string (efectively creating them with webserver ownership). I have never seen one standalone version, only ad-hoc scripts for this (for example, smartBB and FUDforum use this approach to install). b) A FTP autoinstaller, a variation of the previous one, where the script download all files from the same server (or other) using FTP to the webserver (efectively donwloading them with the wevserver ownership). This is the approach taken by Mambo CMS. c) Store all in a single directory and let the CMS code to keep track of the files/directories (an approach followed by the filemanager of Phprojekt, where dirs are really virtual). I'm seriously considering this solution for the next version (a hashed two-level fixed dir tree). This would only need to set permissions, not ownership. d) Store everything in the database, including files. The original design of the CMS was planned with this. However, earlier testings when developing the CMS module led me to abandon this idea (because of very poor performance with big files). Retest again for the next release. |
This task depends upon
The option C and D should be addresses in different bug reports.