Exforsys
+ Reply to Thread
Results 1 to 2 of 2

PHP configuration problems

This is a discussion on PHP configuration problems within the PHP forums, part of the Programming Talk category; Hi All, I am looking for some help to configure PHP with Apache web server. I am trying to create ...

  1. #1
    pklad is offline Junior Member Array
    Join Date
    Aug 2006
    Answers
    1

    PHP configuration problems

    Hi All,

    I am looking for some help to configure PHP with Apache web server. I am trying to create an interactive website so I am using Apache, PHP and MySql. I have done the following:

    I have successfuly installed Apache 2.0.52 on my Windows XP system. I have also tried to install PHP 5.0.2. I have placed the Php.ini file in C:/windows and the php5ts.dll file to C:/windows/system32. I have also added these lines to the httpd.conf file
    LoadModule php5_module c:/php5/php5apache2.dll
    AddType application/x-httpd-php .php .phtml .html

    When I start apache service monitor, I get a green light and a message in the bottom says Apache/2.0.52(Win32) PHP/5.0.2. Does this mean that Apache is seeing PHP?
    If I type in http://localhost/ I get the Apache front page confirming it is setup, but if I type http://localhost/phpinfo.php I get Error 404 Page cannot be found. I have placed a txt file phpinfo.php into the c:/program files/Apache group/apache2/htdocs cosisting of

    <?php phpinfo();?>

    I am not getting the php information page. I have double checked everything including spelling mistakes etc.
    I'm sure there is something not pointing to where its should be. Maybe something in the httpd.conf file?

    Any help would be great.

    Thanks


  2. #2
    dmirost is offline Junior Member Array
    Join Date
    Aug 2006
    Answers
    1

Latest Article

Network Security Risk Assessment and Measurement

Read More...