After editing only the httpd.conf PHP 5.2.12 works in Apache2.2 on WindowsXP Professional 2002 SP 3, Can this be?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I Edited only the httpd.conf file and the changes I made were
Added: LoadModule php5_module "C:/PHP/php-5.2.12/php5apache2_2.dll"

Changed DocumentRoot and Directory  from htdocs to test: DocumentRoot
"C:/Program Files/Apache Software Foundation/Apache2.2/test" and <Directory
"C:/Program Files/Apache Software Foundation/Apache2.2/test">

Added the following
AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    AddType image/x-icon .ico
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps

There is no php.ini file in PHP installation directory or WINDOWS or
anywhere, there is only the original php.ini-dist and -recommended

But apart from the above PHP works fine.


And also when the URL http://localhost/test is entered the output message is

> Not Found
>
> The requested URL /test was not found on this server.
>
But when a file name residing in the test directory is entered the expected
output is given.
Why is the set of files in the test directory not listed in the browser
output.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux