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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jbpublisher
    New Member
    • Aug 2008
    • 5

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

    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
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    You should access it by
    Code:
    http://localhost/directory/file.php
    Also, you must make sure you have the server started!

    Comment

    • jbpublisher
      New Member
      • Aug 2008
      • 5

      #3
      please excse the delay in answering. i didn't get a notification of a reply.
      the effort is apprecicated.

      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:
      [code=php]
      {$langues[$langue]['titreConf']}

      {$langues[$langue]['versa']}
      ${apacheVersion }
      {$langues[$langue]['versp']}
      ${phpVersion}
      {$langues[$langue]['phpExt']}

      ${phpExtContent s}

      {$langues[$langue]['versm']}
      ${mysqlVersion}

      {$langues[$langue]['titrePage']}

      * phpinfo()
      * phpmyadmin
      * sqlitemanager

      {$langues[$langue]['txtProjet']}

      $projectContent s
      [/code]
      ----------------------
      the 3 which show here as * are "hot"---and go nowhere.

      Firefox can't find the file at /C:/wamp/www/phpmyadmin/.
      Last edited by pbmods; Aug 30 '08, 05:25 PM. Reason: Added CODE tags.

      Comment

      • Atli
        Recognized Expert Expert
        • Nov 2006
        • 5062

        #4
        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.

        Comment

        • jbpublisher
          New Member
          • Aug 2008
          • 5

          #5
          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,

          ought to get me somewhere. it doesn't.
          or, perhaps:

          which also goes nowhere.
          i am thinking...mayb e...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.

          Comment

          • Atli
            Recognized Expert Expert
            • Nov 2006
            • 5062

            #6
            Ok, try this.

            Create a file in the C:\wamp\www\ directory called phpinfo.php
            Put this into that file:
            [code=php]
            <?php
            phpinfo();
            ?>
            [/code]
            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.

            Comment

            • jbpublisher
              New Member
              • Aug 2008
              • 5

              #7
              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.

              Comment

              • Atli
                Recognized Expert Expert
                • Nov 2006
                • 5062

                #8
                It doesn't matter what directory the command window shows. Just type the command I posted and see what it says.

                Comment

                • jbpublisher
                  New Member
                  • Aug 2008
                  • 5

                  #9
                  as noted:
                  service name invalid.

                  Comment

                  • Markus
                    Recognized Expert Expert
                    • Jun 2007
                    • 6092

                    #10
                    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.

                    Comment

                    Working...