Results 1 to 6 of 6
  1. #1

    Installing Apache + PHP on my home computer.

    I am trying to install Apache + PHP on Windows XP SP2. I managed to get Apache working. However, when I setup PHP and tried to access a page with <?php phpinfo(); ?> it displayed nothing but a blank page. When I viewed the source is showed the PHP, therefore it was not parsed...

    I have checked and double checked my paths, I have tried doing it as a module and cgi, I have read tutorial after tutorial and I cannot get it to function properly.

    Apache 2.2.6, PHP 5.2.5

  2. #2
    Join Date
    Apr 2002
    Location
    Auckland - New Zealand
    Posts
    1,572
    You need to enable php asapi or cgi in IIS maybe?

    <Edit, sorry you're using apache not IIS>

    Check you have the .php extension set correctly in the apache conf.

  3. #3
    Join Date
    May 2005
    Location
    Behind a linux box
    Posts
    687
    Why not just install EasyPHP? It works out of the box
    Got Fused?

  4. #4
    Join Date
    Apr 2005
    Location
    Cochin
    Posts
    2,446
    Sam
    Supportlobby.com - Expertise in Windows/Linux server support, IaaS and PaaS Management
    Spiralbean.com - Custom Software Development
    Email: exec @ activelobby.net | Skype: unni_active

  5. #5
    Join Date
    Jan 2008
    Location
    Jax, FL
    Posts
    2,707
    I use AppServ on my laptop for development... Works great... unless you are really trying to practice setting up a WAMP system, I suggest using one of the many free pre-compiled packages out there.
    Daniel | Server Complete, LLC
    Windows VPS // Dedicated Servers // Backup Services
    Wholly owned hardware and self operated network (AS19531) in Jacksonville, FL

  6. #6
    Consider witsuite - Apache, PHP, MySQL installer and configurator. It is simple and efficient (installation demo: witsuite.com/products/installer/). If you prefer to install packages manually, you can use the instruction at witsuite.com/support/knowledge-base/manual-installation/install-php.php.

Posting Permissions

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