You are not logged in.
Hi, so I'm trying to install a program called firestats to go with my drupal site, and when I click on a button that's supposed to install tables to a mysql database I made. I get this error. I tried chmod 777 those files, but it does nothing. Can anyone help?
Error creating config file:
Warning: fopen(/home/httpd/html/firestats/php/fs-config.php) [function.fopen]: failed to open stream: Permission denied in /home/httpd/html/firestats/php/db-config-utils.php on line 171
Offline
Well, as the error tells you. The program tries to create a file, not just to write one. That would mean the file does not exists, and the http process has no permission to write in the directory.
The possibilities you have:
do a chmod on the folder the script needs write access to (/home/httpd/html/firestats/php), giving the folder the permission 666.
Or you simply give the ownership of the directory to the user running the webserver (i'd rather advice you to do so anyway).
This will also grant the script the permission to create files, not just to write them.
// STi
Ability is nothing without opportunity.
Offline