Installing PHP5 on Windows

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default Installing PHP5 on Windows

    Hi Folks,

    PHP version 4 works fine but I am having problems Installing PHP5 on Windows
    XP Pro using IIS v5.1 hope you might be able to help?

    I have downloaded PHP5 winzip file.
    Renamed C:\Program Files\Php -> C:\Program Files\Php v4
    Created new directory called:
    C:\Program Files\Php
    Extracted contents of the zip into it.
    Copied C:\Program Files\Php v4\extensions directory to C:\Program
    Files\Php\extensions all this has got in it is the debug dll for version 4 &
    version 5

    If I run php.exe -i from the command line ALL is well.

    When I try to load a php page from my PC (localhost) firstly it winges it
    can't find .\extensions\php_dbg.dll-5.0.0RC2 when I can clearly see that is
    there full path is:
    C:\Program Files\Php\extensions\php_dbg.dll-5.0.0RC2

    then the following error turns up on the web page:

    CGI Timeout
    The specified CGI application exceeded the allowed time for processing. The
    server has deleted the process.

    I would be most gratefull for any help!

    Regards,

    Martin


    M Guest

  2. Similar Questions and Discussions

    1. Installing PHP5 on CF Server
      Hi, I am using the Coldfusion server as a webserver (e.g. without IIS/PWS/Apache) on my local machine and would like to install PHP5 to the PC. ...
    2. php5 on windows
      I have had several problems... I will be glad of anything anyone can offer. I am running a personal server with windows 2000 server as the o/s......
    3. Installing windows from a USB HD
      Is it possible to copy the windows CD to a USB HD and then install from here to the computers internal HD. The reason for doing so is i would...
    4. installing php5
      Hi, I'm trying to install php5 beta, the configure functions well, but during the make I've the following error: ext/mysqli/mysqli_api.lo: In...
    5. installing and running apache 2.0.46 / php5.0.0b1 / Suse Linux 8.2
      I did the following as instructed in the docs. (see below) everything seemed to install ok and I started apache with no complaints, but, 1)I do...
  3. #2

    Default Re: Installing PHP5 on Windows

    What windows OS?
    Are you running IIS or Apache?
    Why are you running CGI rather than ISAPI?
    -J

    root@seraphim.jspazi.com Guest

  4. #3

    Default Re: Installing PHP5 on Windows

    Are you using the old dl functions for loading the modules in PHP5, or
    the new ones? Also, is your extension_dir path set to C:\Program
    Files\Php\extensions\php_dbg.dll-5.0.0RC2, or is it pointing to the
    old v4 extensions? I would think that they would be incompatible with
    this new version of PHP.

    On Thu, 15 Jul 2004 19:03:34 GMT, "M"
    <ihatespam.0.a101888@spamgourmet.com> wrote:
    >Hi Folks,
    >
    >PHP version 4 works fine but I am having problems Installing PHP5 on Windows
    >XP Pro using IIS v5.1 hope you might be able to help?
    >
    >I have downloaded PHP5 winzip file.
    >Renamed C:\Program Files\Php -> C:\Program Files\Php v4
    >Created new directory called:
    >C:\Program Files\Php
    >Extracted contents of the zip into it.
    >Copied C:\Program Files\Php v4\extensions directory to C:\Program
    >Files\Php\extensions all this has got in it is the debug dll for version 4 &
    >version 5
    >
    >If I run php.exe -i from the command line ALL is well.
    >
    >When I try to load a php page from my PC (localhost) firstly it winges it
    >can't find .\extensions\php_dbg.dll-5.0.0RC2 when I can clearly see that is
    >there full path is:
    >C:\Program Files\Php\extensions\php_dbg.dll-5.0.0RC2
    >
    >then the following error turns up on the web page:
    >
    >CGI Timeout
    >The specified CGI application exceeded the allowed time for processing. The
    >server has deleted the process.
    >
    >I would be most gratefull for any help!
    >
    >Regards,
    >
    >Martin
    >
    eclipsboi Guest

  5. #4

    Default Re: Installing PHP5 on Windows

    In answer to: [email]root@seraphim.jspazi.com[/email]
    OS is Windows XP Pro
    IIS is v5.1

    ---------------------------------
    Hi eclipsboi,

    I have modified the extension_dir path set to C:\Program
    Files\Php\extensions which seems to have stopped it winging about
    php_dbg.dll-5.0.0RC2.

    My Enviroment Path is:
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32\Wbem;C:\Program
    Files\Php

    So the system should have NO knowledge of Php 4 as I have renamed the
    original Php 4 installation from:
    C:\Program Files\Php to C:\Program Files\Php v4

    Php version 5 is now in C:\Program Files\Php and IIS is using C:\Program
    Files\Php\Php.exe
    All the Php dll's are also in C:\Program Files\Php

    As I said when you run version 5 from the command line with php.exe -i you
    get the expected output.

    C:\Inetpub\wwwroot\Php\v5Test.php has got the following script: <?php
    phpinfo();?> which should give the same output as when you run Php.exe from
    the command line.

    May be there is something wrong with my Php.ini file, the question is
    what????

    It would be nice to know what the file permissions are but the security tab
    does not appear, but I don't think that is the issue?

    Regards,

    Martin


    "eclipsboi" <eclipsboi@hotmail.com> wrote in message
    news:8cpdf0thl8plr3esbvgodfha5icq2ripma@4ax.com...
    > Are you using the old dl functions for loading the modules in PHP5, or
    > the new ones? Also, is your extension_dir path set to C:\Program
    > Files\Php\extensions\php_dbg.dll-5.0.0RC2, or is it pointing to the
    > old v4 extensions? I would think that they would be incompatible with
    > this new version of PHP.
    >
    > On Thu, 15 Jul 2004 19:03:34 GMT, "M"
    > <ihatespam.0.a101888@spamgourmet.com> wrote:
    >
    > >Hi Folks,
    > >
    > >PHP version 4 works fine but I am having problems Installing PHP5 on
    Windows
    > >XP Pro using IIS v5.1 hope you might be able to help?
    > >
    > >I have downloaded PHP5 winzip file.
    > >Renamed C:\Program Files\Php -> C:\Program Files\Php v4
    > >Created new directory called:
    > >C:\Program Files\Php
    > >Extracted contents of the zip into it.
    > >Copied C:\Program Files\Php v4\extensions directory to C:\Program
    > >Files\Php\extensions all this has got in it is the debug dll for version
    4 &
    > >version 5
    > >
    > >If I run php.exe -i from the command line ALL is well.
    > >
    > >When I try to load a php page from my PC (localhost) firstly it winges it
    > >can't find .\extensions\php_dbg.dll-5.0.0RC2 when I can clearly see that
    is
    > >there full path is:
    > >C:\Program Files\Php\extensions\php_dbg.dll-5.0.0RC2
    > >
    > >then the following error turns up on the web page:
    > >
    > >CGI Timeout
    > >The specified CGI application exceeded the allowed time for processing.
    The
    > >server has deleted the process.
    > >
    > >I would be most gratefull for any help!
    > >
    > >Regards,
    > >
    > >Martin
    > >
    >

    M Guest

  6. #5

    Default Re: Installing PHP5 on Windows

    I had a similar issue with version 4.3.7. It was being caused by PHP not
    being able to parse DOS names. For instance:
    Windows name: c:\program files\
    DOS name: c:\progra~1\

    Look through your php.ini and replace the DOS name with the Windows name.

    Hope it helps.


    "M" <ihatespam.0.a101888@spamgourmet.com> wrote in message
    news:ayAJc.17196$q8.2060@fe1.news.blueyonder.co.uk ...
    > Hi Folks,
    >
    > PHP version 4 works fine but I am having problems Installing PHP5 on
    Windows
    > XP Pro using IIS v5.1 hope you might be able to help?
    >
    > I have downloaded PHP5 winzip file.
    > Renamed C:\Program Files\Php -> C:\Program Files\Php v4
    > Created new directory called:
    > C:\Program Files\Php
    > Extracted contents of the zip into it.
    > Copied C:\Program Files\Php v4\extensions directory to C:\Program
    > Files\Php\extensions all this has got in it is the debug dll for version 4
    &
    > version 5
    >
    > If I run php.exe -i from the command line ALL is well.
    >
    > When I try to load a php page from my PC (localhost) firstly it winges it
    > can't find .\extensions\php_dbg.dll-5.0.0RC2 when I can clearly see that
    is
    > there full path is:
    > C:\Program Files\Php\extensions\php_dbg.dll-5.0.0RC2
    >
    > then the following error turns up on the web page:
    >
    > CGI Timeout
    > The specified CGI application exceeded the allowed time for processing.
    The
    > server has deleted the process.
    >
    > I would be most gratefull for any help!
    >
    > Regards,
    >
    > Martin
    >
    >

    ChadBl Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139