I want to install PHP on my computer (Windows XP) so that I can test PHP scripts without uploading them onto my web host. I have PHP and Apache installed, but it won't work. I think the problem is somewhere in Apache's installation, but I am a n00b with installing servers.

I have a PHP file saved in the htdat (or whatever it's called) directory, and when I open it (http://localhost/phpinfo.php or http://127.0.0./phpinfo.php) it simply says the page cannot be displayed.

The problem is probably very simple, but I don't know it.

Thank you in advance,
Bernlomnty

    6 days later

    It's pretty hard to mess up the installation on a Windows computer. Did you remember to start the server? That would cause an error like that. (and it's htdocs)
    Also, you're going to want to install php if you didn't already. php.net has a nice binary installer.

      Hi,

      how did you install apache and php (the steps) ?

      Besides have a look at www.xampp.org/en ... That package comes with all you need (apache2,php4,php5,mod_ssl,MySQL and much more). You can switch between php4 and php5 with just one click (and you can have different php.ini configurations for php4 and php5).

      Thomas

        Write a Reply...