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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

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

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

Internal Server Error when installing 2.4.3


Go to End


7 Posts   2545 Views

Avatar
quiet_islander

Community Member, 17 Posts

3 December 2010 at 11:43pm

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

Community Member, 9 Posts

4 December 2010 at 11:23am

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

Avatar
Sean

Forum Moderator, 922 Posts

4 December 2010 at 11:29am

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

Community Member, 1 Post

4 December 2010 at 12:08pm

Edited: 04/12/2010 12:19pm

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

Forum Moderator, 922 Posts

4 December 2010 at 3:15pm

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

Community Member, 17 Posts

4 December 2010 at 9:53pm

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

Community Member, 17 Posts

4 December 2010 at 10:03pm

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.