Quote:
I have a similar question. Among other problems, there is at least one word dropped from a crucial sentence in section 2.3 of the FAQ. Like the other questioners here, I have a third-party provider that runs PHP as a CGI. Other than a php.ini file, I am NOT trying to set up PHP -- I do not have any control over the setup of PHP (short of the php.ini file).
What word was dropped from which sentence? I can fix the FAQ if you tell me what needs to be amended.
If your provider gives you PHP as CGI then your battle is mostly won. The main thing you
need to do at this point is to make sure that you set up your type and action map in your webserver config file to make sure that it maps files that end in .php to point to your CGI version of PHP
Quote:
We are trying to set up GALLERY. We are following directions in the GALLERY FAQ. I am able to go to the GALLERY configuration page, but when I try to start the GALLERY setup wizard, I get a server 500 message.
Ok. I assume that you've read FAQ C and have checked your Apache error log. What happened when you tried removing setup/.htaccess? And what showed up in the error log?
Quote:
I have gone as far as I can with my hosting provider - I came here to get some help from the much-touted GALLERY COMMUNITY, and I see two people with legitimate, similar questions to mine getting rudely shut down.
Before I nuke the product completely, I'd like to take another shot at some courteous help. Is there anyone willing to read the configuration issues we have, and provide some insight?
The problem is this: There are many, many, many different ways that an ISP can configure PHP as CGI. We (the Gallery developers) are focussed on writing a product
and that product expects to run on a working version of PHP that is not in safe mode. We do state this pretty clearly in the <!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&name=phpWiki&file=index&pagename=Gallery%20Requirements" TARGET="_blank">Requirements</A><!-- BBCode End --> page.
Now, it sounds to me like your PHP is not properly configured such that it interprets .php
files with safe mode off, because if it was properly configured, then we wouldn't be
having this conversation. Hence, your problem is really one of configuring PHP properly
and while we do try to help out with this particular problem you have to realize that
this is beyond the scope of Gallery support.
So, I agree that joyoflinux was pretty abrupt with his answer. But what he said was the truth: if you're having problems configuring PHP to run as a CGI binary then you should probably refer to the PHP community in general since they are going to be far more
qualified to help you than we are. I provided the best answer that I can in FAQ B.3 -- as
I mentioned above, if you have amendments or further questions about that I can
try to answer them and update the FAQ.