Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Internal Server Error when installing 2.4.3


Reply

7 Posts   1582 Views

Avatar
quiet_islander

3 December 2010 at 11:43pm Community Member, 17 Posts

I have just downloaded a fresh copy of 2.4.3 and uploaded everything to my server. When trying to access the install.php with browser, I get Internal Server Error.
Can someone help me out?
Thanks in advance!

Avatar
cruzer45

4 December 2010 at 11:23am Community Member, 9 Posts

Just curious... What hosting service are you using?

Avatar
Sean

4 December 2010 at 11:29am Forum Moderator, 921 Posts

You'll have to find out more information from the host, as it could be a number of different things.

Apache does log more details for 500 server errors, but you'll need to get access to the logs somehow.

It may also be one of the directives in .htaccess which is causing the issue.

Does the install screen appear when you truncate the contents of the .htaccess file?

Sean

Avatar
allclone

4 December 2010 at 12:08pm (Last edited: 4 December 2010 12:19pm), Community Member, 1 Post

I am new to SilverStripe and wanted to test it out and am having the same issue.

Running Ubuntu Server, Apache 2.2.12.

The SilverStripe folder is under the main site which is setup as a virtual host in the Apache config, I commented out these lines in the main .htaccess and was able to get the installation script to sorta load.
#<Files *.ss>
#   Order deny,allow
#   Deny from all
#   Allow from 127.0.0.1
#</Files>

#<Files web.config>
#   Order deny,allow
#   Deny from all
#</Files>

any help or suggestions would be great.

UPDATE:
Looking threw the error logs of Apache with <Files> tag turned on in the main .htaccess file, it shows
[Fri Dec 03 18:13:02 2010] [alert] /sites/www/silverstripe/sapphire/.htaccess: deny not allowed here

Avatar
Sean

4 December 2010 at 3:15pm Forum Moderator, 921 Posts

The code that it doesn't like is here, in sapphire/.htaccess:

<FilesMatch "\.(php|php3|php4|php5|phtml|inc)$">
   Deny from all
</FilesMatch>

In your virtual host configuration, have you set AllowOverride All ?

Sean

Avatar
quiet_islander

4 December 2010 at 9:53pm Community Member, 17 Posts

My server is running on Apache with PHP 5.2.
I can realize that the problem is somehow caused by the .htaccess file but I am not able to view the server error log.
I used to use Silverstripe 2.4.0 on the same server but have never had this kind of installation error.

Avatar
quiet_islander

4 December 2010 at 10:03pm Community Member, 17 Posts

I found that if I comment out this line "SetEnv HTTP_MOD_REWRITE On" in .htacess, the error will go but I just end up with a blank page.