Re: [users@httpd] PHP doesn't process pages

2012-04-24 Thread Noel Butler
On Sun, 2012-04-22 at 21:00 -0400, John Iliffe wrote: > O > - the bit came from the PHP installation on the default Apache > config file. I don't think I coded it, but at this point I can't be sure. > That's strange, I only ever do source builds, because no package maintainer can build pack

Re: [users@httpd] PHP doesn't process pages

2012-04-24 Thread Noel Butler
On Sun, 2012-04-22 at 20:42 -0400, John Iliffe wrote: > Hi Noel: > > At the risk of becoming a real pest, can you tell me what version of PCRE > you used? I installed PCRE-8.30 and PHP 5.3.10 will not compile with it. > PHP-5.4.0 was OK but with PHP-5.3.10 I get > It does seem horribly b

Re: [users@httpd] PHP doesn't process pages

2012-04-23 Thread John Iliffe
On Sunday 22 April 2012 20:42:26 John Iliffe wrote: > On Sunday 22 April 2012 03:34:35 Noel Butler wrote: > > On Sun, 2012-04-22 at 00:41 -0400, John Iliffe wrote: > > > > AddType application/x-httpd-php .php > > > > > > I did this and get the same result as before. > > > > > > The complete PHP c

Re: [users@httpd] PHP doesn't process pages

2012-04-22 Thread John Iliffe
On Sunday 22 April 2012 03:34:35 Noel Butler wrote: > On Sun, 2012-04-22 at 00:41 -0400, John Iliffe wrote: > > > AddType application/x-httpd-php .php > > > > I did this and get the same result as before. > > > > The complete PHP configuration is: > > LoadModule php5_modulemodules/libph

Re: [users@httpd] PHP doesn't process pages

2012-04-22 Thread John Iliffe
On Sunday 22 April 2012 03:34:35 Noel Butler wrote: > On Sun, 2012-04-22 at 00:41 -0400, John Iliffe wrote: > > > AddType application/x-httpd-php .php > > > > I did this and get the same result as before. > > > > The complete PHP configuration is: > > LoadModule php5_modulemodules/libph

Re: [users@httpd] PHP doesn't process pages

2012-04-22 Thread William A. Rowe Jr.
On 4/22/2012 6:08 AM, Noel Butler wrote: > John, > > On Sun, 2012-04-22 at 17:34 +1000, Noel Butler wrote: > >> >> I note your using php 5.4.0 - all my testing has been with 5.3.10 and is >> done on >> Slackware, but I do have one RHEL 5.2 >> I'll throw 5.4 on the dev box if I get a chance later

Re: [users@httpd] PHP doesn't process pages

2012-04-22 Thread Noel Butler
John, On Sun, 2012-04-22 at 17:34 +1000, Noel Butler wrote: > > I note your using php 5.4.0 - all my testing has been with 5.3.10 and > is done on Slackware, but I do have one RHEL 5.2 > I'll throw 5.4 on the dev box if I get a chance later (almost dinner > time here) and see what blows up :) >

Re: [users@httpd] PHP doesn't process pages

2012-04-22 Thread Noel Butler
On Sun, 2012-04-22 at 00:41 -0400, John Iliffe wrote: > > AddType application/x-httpd-php .php > > I did this and get the same result as before. > > The complete PHP configuration is: > > LoadModule php5_modulemodules/libphp5.so > > > SetHandler application/x-httpd-php > >

Re: [users@httpd] PHP doesn't process pages

2012-04-21 Thread John Iliffe
On Friday 20 April 2012 23:38:47 Noel Butler wrote: > On Fri, 2012-04-20 at 22:39 -0400, John Iliffe wrote: > > So, to recap the original question: > > > > - apachectl -M responds: php5_module (shared) > > > > - all PHP page requests are served as raw pages, not processed by PHP > > > > - confi

Re: [users@httpd] PHP doesn't process pages

2012-04-20 Thread Noel Butler
On Sat, 2012-04-21 at 13:38 +1000, Noel Butler wrote: Replying to ones self is a bad sign, but please forgive me its Saturday, and I've just returned from a HUGE lunch and are ready to curl up and have a nap :) But also check the DirectoryIndex option to ensure it has index.php ... *BUT* tha

Re: [users@httpd] PHP doesn't process pages

2012-04-20 Thread Noel Butler
On Fri, 2012-04-20 at 22:39 -0400, John Iliffe wrote: > So, to recap the original question: > > - apachectl -M responds: php5_module (shared) > > - all PHP page requests are served as raw pages, not processed by PHP > > - config file contains: > LoadModule php5_modulemodules/libph

[users@httpd] PHP doesn't process pages

2012-04-20 Thread John Iliffe
Apache-2.4.1, PHP 5.4.0 new installation. PHP pages are being served as raw data, leading to a browser response "You have chosen to download a file of type php; what should FireFox do with this?" and an option to save or open with KWrite. I asked this question before and it was suggested that I