From: Jamie C. <jca...@we...> - 2013-01-02 18:50:08
|
On 02/Jan/2013 06:59 Roger B.A. Klorese <ro...@qu...> wrote .. > On 1/1/13 8:24 PM, Jamie Cameron wrote: > > On 31/Dec/2012 22:27 Roger B.A. Klorese <ro...@qu...> wrote .. > >> CentOS 5.8 (upgraded), then Virtualmin GPL install via script, then > >> updated PHP (to 5.4) and MySQL (to 5.5) via RPM. > >> > >> Default Virtualmin virtual server Apache config for PHP. > >> > >> Installed Drupal 7.x. > >> > >> Config page throws: > >> > >> File system > >> The directory sites/default/files is not writable. An automated attempt > >> to create this directory failed, possibly due to a permissions problem. > >> To proceed with the installation, either create the directory and modify > >> its permissions manually or ensure that the installer has the > >> permissions to create it automatically. For more information, see > >> INSTALL.txt or the online handbook. > >> > >> The VirtualHost has SuexecUserGroup set properly. The file permissions > >> seem correct -- owned by the user and group, not over-relaxed. > >> > >> Any good suggestions on how to debug this? > > Is the virtual server set to run PHP scripts with domain owner permissions, > > via CGI or fcgid modes? This can be configured at Server Configuration -> > > Website Options in Virtualmin. This should fix the drupal directory permissions > > problem you described.. > > > > It was set for fcgid, though I'd had to comment out parts, as follows. > Toggling the setting re-added the commented-out > RemoveHandler/php_admin_value lines, which is why they appear here > twice. With those lines in place, the PHP script is delivered as text... Commenting out those RemoveHandler lines will cause PHP scripts to fall back to being run as mod_php. Are you sure they caused scripts to be output as text? - Jamie |