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.

Archive /

Our old forums are still available as a read-only archive.

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

Install problem (php5) *SOLVED*


Go to End


11 Posts   6265 Views

Avatar
agryfp

Community Member, 1 Post

10 April 2008 at 8:59am

hello,
I have came across the same installation issue with 2.2.1 as mentioned here (hosting server doesnt have php5 installed, but allows use of .php5 appendix)

I have created a .htaccess file with both the following inside:

AddType x-mapp-php5 .php

AddHandler x-mapp-php5 .php

I am presuming when root directory is mentioned that it means the same directory as where SilverStripe is installed, or the public_html of the hosted service?

Unfortunately neither positions, changes the lack of recognition of php5,
so it doesnt allow me to proceed with installation.

Any further tips?
Thanks,
andrew

Avatar
i.jacobs

Community Member, 3 Posts

10 April 2008 at 10:17am

i don't quite remember how it was exactly, but i think i changed .htaccess in the silverstripe dir during install adding the php handler.

my current .htaccess looks like this:

Options +FollowSymLinks
AddDefaultCharset UTF-8
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

Avatar
Tim

Community Member, 201 Posts

10 April 2008 at 10:58am

Good stuff - can you document this in the wiki for your host?

http://doc.silverstripe.com/doku.php?id=suggested-web-hosts

Go to Top