I tried to install Gallery using the cpanel auto install and instantly get a 500 internal server error after the install
500 error when installing Gallery in Cpanel
Collapse
X
-
Probably htaccess file. IIRC Gallery 1.5 trys to set a couple PHP values. Need to move those into a php.ini file. Think they're only need for setup though?
What version?"Whatcha mean I shouldn't be rude to my clients?! If you want polite then there will be a substantial fee increase." - Buddha -
Place the following:
... in a file called "php.ini" (without the quotes) and place that file in the Gallery setup directory (that's: /gallery/setup/).Code:auto_prepend_file = "php_value_ok.php" magic_quotes_gpc = off
Comment out "#" the following lines in the setup htaccess file.
I think that should get Gallery 1.5.1 setup going? You can probably do all this from cpanel.Code:# $Id: .htaccess,v 1.17 2004/09/02 19:59:38 cryptographite Exp $ #<IfModule sapi_apache2.c> #php_value auto_prepend_file ./php_value_ok.php #php_value magic_quotes_gpc off #</IfModule> #<IfModule mod_php4.c> #php_value auto_prepend_file ./php_value_ok.php #php_value magic_quotes_gpc off #</IfModule> #<IfModule mod_php5.c> #php_value auto_prepend_file ./php_value_ok.php #php_value magic_quotes_gpc off #</IfModule> Options +FollowSymLinks <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^(index.php)$ index.php?init_mod_rewrite=1&ersandbroken= [QSA] RewriteRule ^$ index.php?init_mod_rewrite=1&ersandbroken= [QSA] </IfModule>
Of course, if it doesn't work there are others here who actually know what there doing.
EDIT: Found this if it helps: http://www.modwest.com/help/kb2-182.html"Whatcha mean I shouldn't be rude to my clients?! If you want polite then there will be a substantial fee increase." - BuddhaComment
Comment