php5 installation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Auddog

    php5 installation

    Hello everyone,

    I have been trying for the past couple of days to get php5 installation on
    either my laptop or my test server. I'm not having much luck with either.
    I would like to get my test server running first (windows 2003 sp1), so I
    will discuss what I've done there.

    Downloaded the the latest version of php5
    Extracted the files into a folder on the server c:\php5
    Edited and saved the php.ini file to set cgi.force_redir ect = 0
    Copied the php.ini file to c:\windows
    Added c:\php5 to environment path and restarted machine.
    Added web extension for php under IIS
    Added php to application extension under the home directory tab in IIS and
    restarted machine.
    Create phpinfo.php page in the inetpub directory under wwwroot.

    That be said now when I bring up the phpinfo.php page, I don't get anything
    but a white page. When I view my source code, I see the <? phpinfo(); ?>.
    Not sure why I can't get this to work.

    Any help would be greatly appreciated.

    Thanks

    A


  • Peter van Schie

    #2
    Re: php5 installation

    Auddog schreef:
    That be said now when I bring up the phpinfo.php page, I don't get anything
    but a white page. When I view my source code, I see the <? phpinfo(); ?>.
    Not sure why I can't get this to work.
    Hi,

    If it's a Windows 2003 server, it means you're running IIS 6. In IIS 6
    you have to specifically allow the php extension to be run.
    I don't have an IIS 6 machine at hand here, but the setting is located
    somewhere at "Web Server Extensions".

    P.S. If it's only for testing purposes WAMP-server might be a nice
    option too. It's a simple installation package of Apache2, MySQL and
    PHP5. See: http://www.wampserver.com

    HTH.
    Ruben.

    --

    Comment

    • Auddog

      #3
      Re: php5 installation

      It wasn't anything I thought it was. In my phpinfo file, I forgot the php
      after the <?

      Thanks for all the help.

      A


      "Peter van Schie" <vanschie.peter @gmail.comwrote in message
      news:44a994a5$0 $89519$dbd4f001 @news.wanadoo.n l...
      Auddog schreef:
      >
      >That be said now when I bring up the phpinfo.php page, I don't get
      >anything but a white page. When I view my source code, I see the <?
      >phpinfo(); ?>. Not sure why I can't get this to work.
      >
      Hi,
      >
      If it's a Windows 2003 server, it means you're running IIS 6. In IIS 6 you
      have to specifically allow the php extension to be run.
      I don't have an IIS 6 machine at hand here, but the setting is located
      somewhere at "Web Server Extensions".
      >
      P.S. If it's only for testing purposes WAMP-server might be a nice option
      too. It's a simple installation package of Apache2, MySQL and PHP5. See:
      WampServer est une plate-forme de développement Web sous Windows pour des applications Web dynamiques à l’aide du serveur Apache2, du langage de scripts PHP et d’une base de données MySQL.

      >
      HTH.
      Ruben.
      >
      --
      http://www.phpforums.nl

      Comment

      Working...