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

WAMP install. Getting the mod_rewrite error


Go to End


6 Posts   2749 Views

Avatar
Carbon Crayon

Community Member, 598 Posts

25 November 2008 at 12:50pm

Edited: 25/11/2008 12:51pm

well having built several sites directly to online servers, I finally got around to installing WAMP in my machine (64bit vista), but it seems it wasn't as strait forward as I was expecting.

Installing WAMP 2.0 is fine, everything works and I get the index page.

I also get the SS install screen, and once 'rewrite_module' is checked in the apache settings I am able to run the SS install.

However after about a minuite I get the mod_rewrite failure screen......or I get the 'Maximum execution time exceeded'.

I have also tried this on my laptop (32bit vista) with exactly the same result . Am I missing something here?

Cheers :)

Avatar
Nivanka

Community Member, 400 Posts

25 November 2008 at 4:30pm

Now this is something happens because of the server configurations.

You can edit them,

1) the execution time in the php.ini
2) enable mod_rewrite through the httpd.conf

1) to increase maximum execution time open the php.ini and edit the following variable

max_execution_time

Also it is good to allocate more memory too,
do it by changing the value of the following variable in the php.ini

memory_limit

2) to enable the mod_rewrite open the httpd.conf and then search for the following

LoadModule rewrite_module modules/mod_rewrite.so

then uncomment it by removing the # in front of the line.

Avatar
Carbon Crayon

Community Member, 598 Posts

25 November 2008 at 10:47pm

Hi Nivanka

Thanks for your reply! The rewrite_module was already uncommented in the hhtpd.conf and I tried making the max_execution_time 200 and memory limit 512, but still no joy, it just fails on the mod_rewrite step......

I don't understand how SS can think that mod_rewrite is enabled when I go to install it and then it doesnt work when it does the rewrite test?

Avatar
Nivanka

Community Member, 400 Posts

26 November 2008 at 12:34am

okay it seems that there is some other issue.

Can you run the rewrite test and see?

or see whether the database is created and if so try to run the website

Avatar
Carbon Crayon

Community Member, 598 Posts

26 November 2008 at 1:55am

Thanks Nivanka, it seems to work now, giving it more time to run meant it go to the rewrite page where I could force it and even though it was still telling me mod_rewrite wasnt working, the database is created and the site runs.

Thanks a lot for your help, I really appreciate it :)

Avatar
Nivanka

Community Member, 400 Posts

26 November 2008 at 1:45pm

Welcome!