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.

Archive /

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

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

installation problem in Ubuntu


Reply


2 Posts   1415 Views

Avatar
speedooo

Community Member, 11 Posts

4 November 2008 at 1:00pm

Hi,

who said it's easy install.....
I installed Apache2+php5+remoteMySQL
test successful by phpmyadmin and phpinfo page.
after install/extract silverstripe under /var/www/
I tried to install silverstripe2.2.2
1. install.php
I changed it to accept my remote mySQL config, all good.
install php-gd for gd2 support.
changed permission for .htaccess file and mysite, turorial , assets folder.
All good alowed me to clieck "Install SilverStripe" button.

2. got message like,
. Creating 'mysite/_config.php'
. Creating /var/www/silverstripe/mysite/_config.php
. Crating '.htaccess' file
. creating /var/www/silcerstripe/.htaccess
. Building database schema...
. Checking mod_rewrite works http://......
. Creating /var/www/silverstripwe/.htaccess http://localhost/silverstripe/installerTest/testrewrite
. Error: mod_rewrite not working, redirecting to mod_rewrite test page

very quickly redirect to /rewritetest.php

3. then I got
Warning: file_get_contents(http://localhost/silverstripe/InstallerTest/testrewrite) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/silverstripe/rewritetest.php on line 47

Warning: file_get_contents(http://localhost/silverstripe/InstallerTest/testrewrite) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/silverstripe/rewritetest.php on line 47
mod_rewrite doesn't appear to be working. Make sure:

* mod_rewrite is enabled in your httpd.conf
* AllowOverride is enabled for the current path.

Please check these options, then refresh this page.If you believe that your configuration is correct, click here to proceed anyway.

4. after I click here to proceed anyway.
I got NOT FOUND page in http://localhost/silverstripe/home/successfullyinstalled?flush=1

Apache/2.2.8 (Ubuntu) Phusion_Passenger/1.0.5 PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g Server at localhost Port 80

anything wrong i my process, how could i test my mod_rewrite is working?

thanks

Avatar
speedooo

Community Member, 11 Posts

4 November 2008 at 3:31pm

I installed the latest version 2.2.3, problem gone. thanks.
God knows what's wrong!!