You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Rob Tanner <rt...@onlinemac.com> on 2000/06/13 22:34:38 UTC

How do I get modperl and php to coexist?

With both modperl and php3 installed in apache (static build), modperl 
works fine and php simply doesn't work.  When I try a GET on a *.php3 page, 
my browser wants to save it.  That symptom addressed in the php faq (#6.8) 
which states that the php module is not getting invoked and has some 
suggested things to check, none of which were the cause of the problem. 
The only way I got php to work, was to build the server sans modperl.  I 
really need both for my project, but if I have to sacrifice, it will be the 
php that goes.

The particulars are php-3.0.16, modperl-1.24, mod-ssl-2.6.4, apache-1.3.12.

Any suggested fix?

-- Rob



       _ _ _ _           _    _ _ _ _ _
      /\_\_\_\_\        /\_\ /\_\_\_\_\_\
     /\/_/_/_/_/       /\/_/ \/_/_/_/_/_/  QUIDQUID LATINE DICTUM SIT,
    /\/_/__\/_/ __    /\/_/    /\/_/          PROFUNDUM VIDITUR
   /\/_/_/_/_/ /\_\  /\/_/    /\/_/
  /\/_/ \/_/  /\/_/_/\/_/    /\/_/         (Whatever is said in Latin
  \/_/  \/_/  \/_/_/_/_/     \/_/              appears profound)

  Rob Tanner
  McMinnville, Oregon
  rtanner@onlinemac.com

Re: How do I get modperl and php to coexist?

Posted by Rob Tanner <rt...@onlinemac.com>.
That would be too easy.  'Fraid it's there.

-- Rob

--On Tuesday, June 13, 2000 11:07 PM +0200 Ime Smits <im...@iae.nl> wrote:

> | works fine and php simply doesn't work.  When I try a GET on a *.php3
> page,
> | my browser wants to save it.  That symptom addressed in the php faq
> (#6.8)
>
> Look for a line like
>
> AddType application/x-httpd-php3 .php3 .php .phtml
>
> in your httpd.conf. If it ain't there, that's propably your problem.
>
> Ime
>




       _ _ _ _           _    _ _ _ _ _
      /\_\_\_\_\        /\_\ /\_\_\_\_\_\
     /\/_/_/_/_/       /\/_/ \/_/_/_/_/_/  QUIDQUID LATINE DICTUM SIT,
    /\/_/__\/_/ __    /\/_/    /\/_/          PROFUNDUM VIDITUR
   /\/_/_/_/_/ /\_\  /\/_/    /\/_/
  /\/_/ \/_/  /\/_/_/\/_/    /\/_/         (Whatever is said in Latin
  \/_/  \/_/  \/_/_/_/_/     \/_/              appears profound)

  Rob Tanner
  McMinnville, Oregon
  rtanner@onlinemac.com

Re: How do I get modperl and php to coexist?

Posted by Ime Smits <im...@iae.nl>.
| works fine and php simply doesn't work.  When I try a GET on a *.php3
page,
| my browser wants to save it.  That symptom addressed in the php faq (#6.8)

Look for a line like

AddType application/x-httpd-php3 .php3 .php .phtml

in your httpd.conf. If it ain't there, that's propably your problem.

Ime