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

2000-06-14 Thread Ahrendt, Robert

I had some small problems running mod_perl and php3 together on Solaris. I
downloaded php4.0.0 and have not had any other problems. I hope upgrading to
4 wont cause you any problems.
-Robert

-Original Message-
From: Rob Tanner [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 13, 2000 5:18 PM
To: Ime Smits; Rob Tanner; mod_perl discuss
Subject: Re: How do I get modperl and php to coexist? 


That would be too easy.  'Fraid it's there.

-- Rob

--On Tuesday, June 13, 2000 11:07 PM +0200 Ime Smits [EMAIL PROTECTED] 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
  [EMAIL PROTECTED]



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

2000-06-13 Thread Ime Smits

| 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




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

2000-06-13 Thread Rob Tanner

It's Caldera's 2.3 Linux distribution.  I'm not sure off the top of my head 
(and I'm not near my machine) what the kernel level -- it's a v2 something 
(2.2.0.10 or something like that??)

-- Rob


--On Tuesday, June 13, 2000 1:35 PM -0700 Karyn Ulriksen 
[EMAIL PROTECTED] wrote:

 Which OS  OS Version?  I've compiled all these plus FrontPage on Solaris
  Linux.

 -Original Message-
 From: Rob Tanner [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, June 13, 2000 1:35 PM
 To: mod_perl discuss
 Subject: 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
   [EMAIL PROTECTED]




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

  Rob Tanner
  McMinnville, Oregon
  [EMAIL PROTECTED]



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

2000-06-13 Thread Rob Tanner

That would be too easy.  'Fraid it's there.

-- Rob

--On Tuesday, June 13, 2000 11:07 PM +0200 Ime Smits [EMAIL PROTECTED] 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
  [EMAIL PROTECTED]



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

2000-06-13 Thread Karyn Ulriksen

Let's start with the basics,

   If you run 'httpd -l', doesn mod_php show up in the list of compiled in
modules that it spits out?  If yes, Apache did compile with PHP with at
least minimum PHP services.  If no, Apache did not compile in PHP.

   If you cd to "apache distribution root/src/modules/", do you see a
subdirectory call "php3"?  If yes, PHP set up the module structure to do at
least a minimum PHP service module.  If no, you didn't get very far with
your PHP install.

   How did you compile Apache?

Did you let mod_perl compile it?
Did you let follow PHP's 'quick install' at the top of PHP's INSTALL
file?
Did you cd into the apache distribution root/src" directory and
install it
from there while using AddModule statement in the Configuration
file?
Did you cd into "apache distribution root", and type something
like:
"./configure --activate-php-module .."  ?


 - Karyn

-Original Message-
From: Rob Tanner [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 13, 2000 2:16 PM
To: Karyn Ulriksen; 'Rob Tanner'
Cc: '[EMAIL PROTECTED]'
Subject: RE: How do I get modperl and php to coexist? 


It's Caldera's 2.3 Linux distribution.  I'm not sure off the top of my head 
(and I'm not near my machine) what the kernel level -- it's a v2 something 
(2.2.0.10 or something like that??)

-- Rob


--On Tuesday, June 13, 2000 1:35 PM -0700 Karyn Ulriksen 
[EMAIL PROTECTED] wrote:

 Which OS  OS Version?  I've compiled all these plus FrontPage on Solaris
  Linux.

 -Original Message-
 From: Rob Tanner [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, June 13, 2000 1:35 PM
 To: mod_perl discuss
 Subject: 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
   [EMAIL PROTECTED]




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

  Rob Tanner
  McMinnville, Oregon
  [EMAIL PROTECTED]