Hi everyone. I am completely new to LAMP.
I installed WAMP on my Vista, then installed all the SilverStripe files to its folder and when I opened it on the browser, I got the screen saying that there were some issues with the configuration.
One of them was in the section that says "Check that the php.ini setting allow_call_time_pass_reference is on". I went to that file, set the parameter to On, restarted the services and reloaded the page, this issue turned to green, so it's OK now.
The other one was in the section "mod_rewrite enabled", which was not enabled, so I went to httpd.conf and uncommented
LoadModule rewrite_module modules/mod_rewrite.so
I restarted the services and reloaded the page, this issue turned to green, so it's OK now.
The only remaining issues now are
Is the .htaccess file writeable?
Unable to detect whether I can write to files. Please ensure C:\wamp\www\SilverStripe/.htaccess is writable.
Is the mysite/ folder writeable?
Unable to detect whether I can write to files. Please ensure C:\wamp\www\SilverStripe/mysite is writable.
Is the tutorial/ folder writeable?
Unable to detect whether I can write to files. Please ensure C:\wamp\www\SilverStripe/tutorial is writable.
Is the assets/ folder writeable?
Unable to detect whether I can write to files. Please ensure C:\wamp\www\SilverStripe/assets is writable.
But none of them seemed to be critical or prevented me to continue with the installation, so I tried to move on.
Then I get this error on the next screen:
Installing SilverStripe...
I am now running through the installation steps (this should take about 30 seconds)
If you receive a fatal error, refresh this page to continue the installation
# Creating 'mysite/_config.php'...
# Creating C:\wamp\www\SilverStripe/mysite/_config.php
# Creating '.htaccess' file...
# Creating C:\wamp\www\SilverStripe/.htaccess
# Building database schema...
# Checking mod_rewrite works
# http://localhost/SilverStripe/InstallerTest/testrewrite Rewrite is DirectorySlash Off RewriteEngine On RewriteBase /SilverStripe RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$ RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* C:/wamp/www//sapphire/main.php?url=%1&%{QUERY_STRING} [L] Creating C:\wamp\www\SilverStripe/.htaccess http://localhost/SilverStripe/InstallerTest/testrewrite
# ERROR: mod_rewrite not working, redirecting to mod_rewrite test page
# Creating C:\wamp\www\SilverStripe/.htaccess I will now try and direct you to rewritetest to troubleshoot mod_rewrite
and then it apparently tries to test rewrite unsuccessfully, because I get
Warning: file_get_contents(http://localhost/SilverStripe/InstallerTest/testrewrite) [function.file-get-contents]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\wamp\www\SilverStripe\rewritetest.php on line 47
Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\SilverStripe\rewritetest.php on line 47
Can anybody please help troubleshoot this?
Thanks in advance