Installing PHP4.3 on Windows XP

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

    Installing PHP4.3 on Windows XP

    Erm, help, chaps!

    I'm trying to get PHP 4.3 working on Windows XP with IIS as server.
    Was able to make the CGI installation program go through its hoops
    (which I've done on various platforms before now), but this one
    isn't working properly. I think the problem is that it's
    not communicating with the IIS server correctly.

    I have

    extension_dir = "c:\php"
    enable_dl = off
    cgi.force_redir ect = 0

    I don't have any of the php_* extensions set. Anything with
    domain name is set to localhost.

    IIS services seem to be working. I can bring up the Microsoft
    help page, and so forth. I did set IIS to start on boot.







  • JimC

    #2
    Re: Installing PHP4.3 on Windows XP


    "JimC" <jimc@cross-comp.com> wrote in message
    news:pF1jb.1118 $7L3.1003@newss vr27.news.prodi gy.com...[color=blue]
    > Erm, help, chaps!
    >
    > I'm trying to get PHP 4.3 working on Windows XP with IIS as server.
    > Was able to make the CGI installation program go through its hoops
    > (which I've done on various platforms before now), but this one
    > isn't working properly. I think the problem is that it's
    > not communicating with the IIS server correctly.
    >
    > I have
    >
    > extension_dir = "c:\php"
    > enable_dl = off
    > cgi.force_redir ect = 0
    >
    > I don't have any of the php_* extensions set. Anything with
    > domain name is set to localhost.
    >
    > IIS services seem to be working. I can bring up the Microsoft
    > help page, and so forth. I did set IIS to start on boot.
    >[/color]

    I figured out one way to solve this. (Again, the problem is to
    make PHP work under IIS 5 on a Windows XP platform.)

    Go to Control Panel and choose Computer Management. (Alternately,
    click right on My Computer and then select Manage.

    Under Internet Information Service, find Web Sites -> Default Web Site.
    Click right on this tab. Select Properties. Select the Home Directory
    tab. Select Configuration. You will add a file extension type. Select
    ADD. In the executable window, add the path to php.exe, which
    for many users will be in the c:\php subdirectory. For extension,
    put ".php" (without quotes), and select All Verbs. Select OK to
    save the addition. Either stop and start your IIS service, or reboot.

    The usual test is to use the phpinfo() function. That is, use Notepad
    to create a file, say phpinfo.php containing one line:

    <? phpinfo(); ?>

    and save this in the Inetpub\wwwroot directory. Open a browser
    and enter the URL



    and the PHP start page should come up.

    HTH!


    Jim




    Comment

    Working...