OK. This is a bit confusing so I would appreciate if someone can help. I had already installed Gallery and got almost everything working before I found this post. Everything works except the upload.
I added the AddType php-cgi .php line to my .htaccess file but there are over 50 scripts in the program. I first tried running the scripts as is but I get the error below when I run the upload script.
Do I then have to rename all the scripts .pcgi?
Do I have to go into the database and change all the referenced links so each script knows the extension is now .pcgi instead of .php? Is it important to put the AddType php-cgi .php line at the beginning of the .htaccess file? Middle? Bottom? Do I have to add this line "As-is"? Are there any parameters I need to know?
Here is the error I am currently receiving with the php-cgi .php line:
- Adding COOLGUY.gif
Warning: Unable to create '/home/mydomain.com/albums/album01/COOLGUY.gif': Permission denied in /home/mydomain.com/gallery/platform/fs_unix.php on line 24
Warning: getimagesize: Unable to open '/home/mydomain.com/albums/album01/COOLGUY.gif' for reading. in /home/mydomainpath.com/gallery/util.php on line 473
Please advise. Thanks!