View Single Post

  #2 (permalink)  
Old 03-16-2008
sunamumaya@yahoo.com
 
Posts: n/a
Default Re: Apache2.2 fails to parse PHP script within a HTML page on XPsp2

A bit late, but...
I had similar trouble, namely PHP was NOT parsed at all, with that
exact PHP/Apache setup.

What I did was move

LoadModule php5_module C:/php/php5apache2_2.dll

from the END of httpd.conf to the begining of the Load Module section.

It worked.

Still, working o parsin .html as .php, since

RemoveHandler .html .htm
AddType application/x-httpd-php .php .html .htm

in .htaccess seems to have lost its meaning with Apache2.2.x :(