I love to try new CMS and today I must prepare presentation for my student about new CMS called Silver Stripe. As usual I always start from installation method and use WampServer as media.
A bit information about SilverStripe from Wikipedia :
SilverStripe is a free and open source content management system (CMS) for creating and maintaining websites. The CMS provides a web-based administration panel that enables users to make modifications to parts of the website. This panel includes a WYSIWYG website editor.
Download SilverStripe
Get latest version from SilverStripe dot org.
Save the file and extract to : C:\wamp\www\silver
I have two folder inside silver :
- sapphire
- silverstripe-v2.3.4
Let it as is.
Setting VirtualHost
I want to use subdomain : silver.batikweb.com so I add these lines
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot “C:/wamp/www/silver/silverstripe-v2.3.4”
ServerName silver.batikweb.com
<Directory “C:/wamp/www/silver/silverstripe-v2.3.4/”>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
</VirtualHost>
into file :
C:\wamp\bin\apache\Apache2.2.11\conf\extra\httpd-vhosts.conf
save the file.
Register new subdomain
Open HostXpert and add subdomain silver.batikweb.com with ip address 127.0.0.1
Click Add Line and you’re on business.
Create new database
Open phpmyadmin and create new database with name “silver”
Start the Wizard
Open web browser and type : http://silver.batikweb.com/rewritetest.php
I got this message :
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.
More investigation give me this error message :
[Sun Nov 29 21:20:51 2009] [alert] [client 127.0.0.1] C:/wamp/www/silver/silverstripe-v2.3.4/.htaccess: RewriteBase takes one argument, the base URL of the per-directory context
[Sun Nov 29 21:20:52 2009] [alert] [client 127.0.0.1] C:/wamp/www/silver/silverstripe-v2.3.4/.htaccess: RewriteBase takes one argument, the base URL of the per-directory context
Open .htaccess file inside silverstripe-v2.3.4 and give # sign into this :
### SILVERSTRIPE START ###
#RewriteEngine On
#RewriteBase \#RewriteCond %{REQUEST_URI} !(\.gif$)|(\.jpg$)|(\.png$)|(\.css$)|(\.js$)
#RewriteCond %{REQUEST_URI} ^(.*)$
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
### SILVERSTRIPE END ###
save the file and access this address :
http://silver.batikweb.com/install.php
Check requirement section :
Requirements
PHP Configuration
PHP5 installed | OK (PHP version 5.3.0) |
GD2 support | OK |
XML support | OK |
MySQL support | OK |
Memory allocated (PHP config option ‘memory_limit’) | OK (128M) |
Check that certain classes haven’t been defined by PHP plugins | OK |
File permissions
Does the webserver know where files are stored? | OK (C:\wamp\www\silver\silverstripe-v2.3.4\) |
mysite/ folder exists | OK |
sapphire/ folder exists | OK |
cms/ folder exists | OK |
jsparty/ folder exists | OK |
Is the .htaccess file writeable? | OK |
Is the mysite/_config.php file writeable? | OK |
Is the assets/ folder writeable? | OK |
Is the temporary folder writeable? | OK |
Webserver Configuration
Server software | OK (I can’t tell what webserver you are running) |
mod_rewrite enabled | OK |
Recheck Database Information
Enter all information until this message show up when you click re-check requirements.
These database details look all good!
Enter SilverStripe Administration Account information and click button “Install SilverStripe“.
Wait a few moment and you should see this page.
Make sure to delete install files as suggested by the system.
SilverStripe ready to serve!
See you on next post and stay health!