Re: PHP configuration problem?

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



HD wrote:

I have installed Apache 2.0 on my computer.
I have installed PHP5.2.8 as a module in Apache.
Apache seems to work fine.
PHP will only parse index.php, it won't parse index.html
phpinfo() works, so i know PHP is installed and working.

Why won't PHP parse .html files?

Because you will not have told apache to USE PHP for .html files.
If you check the changes to httpd.conf, you will find and AddType line for .php which uses x-httpd-php to process those pages.

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/lsces/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux