Connecting Tech Pros Worldwide Help | Site Map

install SilverStripe 2, you must add PHP support to your webserver.

Newbie
 
Join Date: Aug 2008
Posts: 5
#1: Aug 27 '08
this is probably an insanely dumb overlook on my part, as i am very good at those.
i have downloaded, and seemingly succesullly installed wamp server 2.
this wwas done to intall silver stripe.
the silver stripe install only 1/2 worked....i get a directory tree for an index page.
relooking thru the directory, i can pull
file:///C:/wamp/www/silverstripe-v2.2.2/check-php.php
which tells me:
>>>Before I can install SilverStripe 2, you must add PHP support to your webserver.

Try again<<<<

with try again "hot".

i believe i have followed every bit of the instrux properly.

there seems to be no clue in wamp server 2, or elsewhere on the net after an hour of looking as to how to do this.
any and all help based on the idea that you re talking to a compleat idiot who is only reallly happy wth left/right clicks will be appreciated.
thank you.
Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,936
#2: Aug 27 '08

re: install SilverStripe 2, you must add PHP support to your webserver.


You should access it by
Expand|Select|Wrap|Line Numbers
  1. http://localhost/directory/file.php
  2.  
Also, you must make sure you have the server started!
Newbie
 
Join Date: Aug 2008
Posts: 5
#3: Aug 30 '08

re: install SilverStripe 2, you must add PHP support to your webserver.


please excse the delay in answering. i didn't get a notification of a reply.
the effort is apprecicated.
http://localhost/directory/file.php
yes sir,
that's in the given guidelines.
it doesn't work.
that's what gave rise to all th searching and finally posting this question here.
Firefox can't establish a connection to the server at localhost

Though the site seems valid, the browser was unable to establish a connection.

* Could the site be temporarily unavailable? Try again later.
this is true with wmp server showingall white in the "guage,"
both offline and online.

the next logical approach after that would be:
file:///C:/wamp/www/index.php
which gives me a page of...code.
a sample from the bottom:
Expand|Select|Wrap|Line Numbers
  1.  {$langues[$langue]['titreConf']}
  2.  
  3. {$langues[$langue]['versa']}
  4.     ${apacheVersion}  
  5. {$langues[$langue]['versp']}
  6.     ${phpVersion}  
  7. {$langues[$langue]['phpExt']}
  8.  
  9.           ${phpExtContents} 
  10.  
  11. {$langues[$langue]['versm']}
  12.     ${mysqlVersion}  
  13.  
  14. {$langues[$langue]['titrePage']}
  15.  
  16.     * phpinfo()
  17.     * phpmyadmin
  18.     * sqlitemanager
  19.  
  20. {$langues[$langue]['txtProjet']}
  21.  
  22.       $projectContents 
  23.  
----------------------
the 3 which show here as * are "hot"---and go nowhere.

Firefox can't find the file at /C:/wamp/www/phpmyadmin/.
Atli's Avatar
Moderator
 
Join Date: Nov 2006
Location: Iceland
Posts: 3,736
#4: Aug 30 '08

re: install SilverStripe 2, you must add PHP support to your webserver.


Hi.

If you can't access your files via http://localhost/ or http://127.0.0.1/ then your Apache server is either not running or somehow not working.
Unless you have a firewall or something that is blocking it?

Try doing "net start apache2.2" in a command window. See what it does.

Trying to access the file using anything other than http:// will not work. It would give you the file, exactly like it is, without executing any server-side code.
Newbie
 
Join Date: Aug 2008
Posts: 5
#5: Aug 30 '08

re: install SilverStripe 2, you must add PHP support to your webserver.


thank you.
this is where the illiteracy kicks in.
i understand what u said, but not how to do it.
going idiot step by idiot step i will cheerfully take any instrux, like,
start-->run-->then????
according to the wamp server "gauge" apache is on.
accordin to apache within the wamp interface,
http://localhost/phpmyadmin
ought to get me somewhere. it doesn't.
or, perhaps:
http://localhost/sqlitemanager
which also goes nowhere.
i am thinking...maybe...in my ignorance...
php.ini
is weird, but i followed th instrux as carefully as i know how..
on firewall block. i am using the windos firewall for xp sp3, with the named ports in the instrux open
apache, mysqk and wamp are all checked by win firewall as having permission to run.
Atli's Avatar
Moderator
 
Join Date: Nov 2006
Location: Iceland
Posts: 3,736
#6: Aug 30 '08

re: install SilverStripe 2, you must add PHP support to your webserver.


Ok, try this.

Create a file in the C:\wamp\www\ directory called phpinfo.php
Put this into that file:
Expand|Select|Wrap|Line Numbers
  1. <?php
  2.   phpinfo();
  3. ?>
  4.  
Then type http://localhost/phpinfo.php into your browser.
That should show you a bunch of info on your PHP installation.

If that doesn't work, and your browser tells you something like "Firefox can't establish a connection to the server at localhost.", or something in that direction, try this:

Go to Start -> Run -> type cmd and hit enter.
Type into the command prompt: net start apache2.2
If the Apache server is not running, this should try to start the server. If there are errors, this should tell you about it.

If it starts up now, try opening the URL again. See if anything changes.
Newbie
 
Join Date: Aug 2008
Posts: 5
#7: Aug 31 '08

re: install SilverStripe 2, you must add PHP support to your webserver.


service name invalid.
also...i dunno if this is right...
cmd take e to
c:\documents and settings\(me)>
not to
c:
..which i think it is sposed to...
or at least somethung like it.
entering
c:
or c:\
give me nothing.
Atli's Avatar
Moderator
 
Join Date: Nov 2006
Location: Iceland
Posts: 3,736
#8: Aug 31 '08

re: install SilverStripe 2, you must add PHP support to your webserver.


It doesn't matter what directory the command window shows. Just type the command I posted and see what it says.
Newbie
 
Join Date: Aug 2008
Posts: 5
#9: Aug 31 '08

re: install SilverStripe 2, you must add PHP support to your webserver.


as noted:
service name invalid.
Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,936
#10: Aug 31 '08

re: install SilverStripe 2, you must add PHP support to your webserver.


You know, I can't really help with the problem you have, but I could maybe provide a way around said problem.

I would recommend using something like XAMPP; it was so hassle free to install and very user-friendly. But, alas, there will always be a problem, somewhere. On one machine I installed XAMPP on, it refused to work (something about the ports..). So then I decided I'd try and install a different development host, EasyPHP, and this worked without a problem.

My advice is: look around and try different things, because different things work.
Reply