httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Iliffe <john.ili...@iliffe.ca>
Subject [users@httpd] Conversion 2.2.14 -> 2.4.1 still problems
Date Thu, 19 Apr 2012 18:01:37 GMT
After factoring in the suggestions from a number of folks here (thanks!) I 
still have problems getting a working configuration.

Many pages depend on PHP and I upgraded PHP to version 5.4.0, compiled it 
as an apxs module in conjunction with Apache 2.4.1 resulting in 

  /usr/apache-2.4.1/modules/libphp5.so

and in the config file:

   LoadModule php5_module        modules/libphp5.so

   <Filesmatch \.php$>
         SetHandler application/x-httpd-php
   </Filesmatch>

These were actually inserted by the PHP make install function.

When I try to serve a PHP based page I get a browser message:
   "You have attempted to open a file of type PHP; what should FireFox 
   do with it?" and it gives options to open with KWrite or save to disk.

Obviously PHP should have processed the file before it was served.  It looks 
like PHP is not starting but in the past this has never been necessary and 
I don't see anything specific in the docs for either Apache or PHP as to how 
to do it.  

Thanks.

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message