Re: PHP4 module for Apache?

2002-02-20 Thread Donovan Baarda
On Tue, Feb 19, 2002 at 04:23:10PM +, Alexandre de M. C. Santos wrote:
> include the implemantation index.php in the line:
> 
> DirectoryIndexindex.html index.php
> 
> in /etc/apache/srm.conf.
> 
> By.
> 
> On Sat, 16 Feb 2002, Michael Merritt wrote:
> 
> > What package do I need to install to get mod_php support for PHP4 in 
> > Apache?  
> > I installed the php4 package, but my php scripts are still not being parsed.

If you are refering to *.php3 scripts  not being parsed, it's because the
default /etc/mime.types ties php3 to x-httpd-php3. Edit your /etc/mime.types
as follows and restart apache;

application/x-httpd-php phtml pht php php3
#application/x-httpd-php3   php3

ie, comment out the php3 line and add php3 to application/x-httpd-php

-- 
--
ABO: finger [EMAIL PROTECTED] for more info, including pgp key
--




Re: PHP4 module for Apache?

2002-02-20 Thread Donovan Baarda

On Tue, Feb 19, 2002 at 04:23:10PM +, Alexandre de M. C. Santos wrote:
> include the implemantation index.php in the line:
> 
> DirectoryIndexindex.html index.php
> 
> in /etc/apache/srm.conf.
> 
> By.
> 
> On Sat, 16 Feb 2002, Michael Merritt wrote:
> 
> > What package do I need to install to get mod_php support for PHP4 in Apache?  
> > I installed the php4 package, but my php scripts are still not being parsed.

If you are refering to *.php3 scripts  not being parsed, it's because the
default /etc/mime.types ties php3 to x-httpd-php3. Edit your /etc/mime.types
as follows and restart apache;

application/x-httpd-php phtml pht php php3
#application/x-httpd-php3   php3

ie, comment out the php3 line and add php3 to application/x-httpd-php

-- 
--
ABO: finger [EMAIL PROTECTED] for more info, including pgp key
--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: PHP4 module for Apache?

2002-02-19 Thread Alexandre de M. C. Santos
include the implemantation index.php in the line:

DirectoryIndex  index.html index.php

in /etc/apache/srm.conf.

By.

On Sat, 16 Feb 2002, Michael Merritt wrote:

> What package do I need to install to get mod_php support for PHP4 in Apache?  
> I installed the php4 package, but my php scripts are still not being parsed.
> 
> Thanks,
> -- 
>  Michael MerrittO2/CO2 Conversion Specialist [o]
> 
>  [EMAIL PROTECTED] | www.miklm.com | (931) 205-1392 | AIM/MSN miklm
> 
>  "Piracy is not a technological issue. It's a behavior issue."   
>--Steve Jobs
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 




Re: PHP4 module for Apache?

2002-02-19 Thread Alexandre de M. C. Santos

include the implemantation index.php in the line:

DirectoryIndex  index.html index.php

in /etc/apache/srm.conf.

By.

On Sat, 16 Feb 2002, Michael Merritt wrote:

> What package do I need to install to get mod_php support for PHP4 in Apache?  
> I installed the php4 package, but my php scripts are still not being parsed.
> 
> Thanks,
> -- 
>  Michael MerrittO2/CO2 Conversion Specialist [o]
> 
>  [EMAIL PROTECTED] | www.miklm.com | (931) 205-1392 | AIM/MSN miklm
> 
>  "Piracy is not a technological issue. It's a behavior issue."   
>--Steve Jobs
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: PHP4 module for Apache?

2002-02-16 Thread Michael Merritt
On Saturday 16 February 2002 10:50 am, Gavin Hamill wrote:
> LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
>
> If it's commented out, remove the comment and restart apache...

Thanks.  I had already uncommented that line, and I did /etc/init.d/apache 
restart but that didn't do it.  However, stop, then start worked.
-- 
 Michael Merritt   O2/CO2 Conversion Specialist [h]

 [EMAIL PROTECTED] | www.miklm.com | (931) 205-1392 | AIM/MSN miklm

"Love me or hate me, but spare me your indifference." --Libbie Fudim




Re: PHP4 module for Apache?

2002-02-16 Thread Michael Merritt

On Saturday 16 February 2002 10:50 am, Gavin Hamill wrote:
> LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
>
> If it's commented out, remove the comment and restart apache...

Thanks.  I had already uncommented that line, and I did /etc/init.d/apache 
restart but that didn't do it.  However, stop, then start worked.
-- 
 Michael Merritt   O2/CO2 Conversion Specialist [h]

 [EMAIL PROTECTED] | www.miklm.com | (931) 205-1392 | AIM/MSN miklm

"Love me or hate me, but spare me your indifference." --Libbie Fudim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: PHP4 module for Apache?

2002-02-16 Thread Gavin Hamill
On Sat, Feb 16, 2002 at 10:09:39AM -0600, Michael Merritt wrote:
> What package do I need to install to get mod_php support for PHP4 in Apache?  
> I installed the php4 package, but my php scripts are still not being parsed.

Check your /etc/apache/httpd.conf for this line... it's around line 240

LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

It's quite possible that the apache configuration script has commented this 
out... it's for this 
reason that when it says 'Pondering do you want to save these changes?' I 
/ALWAYS/ say No...

If it's commented out, remove the comment and restart apache...

gdh





PHP4 module for Apache?

2002-02-16 Thread Michael Merritt
What package do I need to install to get mod_php support for PHP4 in Apache?  
I installed the php4 package, but my php scripts are still not being parsed.

Thanks,
-- 
 Michael MerrittO2/CO2 Conversion Specialist [o]

 [EMAIL PROTECTED] | www.miklm.com | (931) 205-1392 | AIM/MSN miklm

 "Piracy is not a technological issue. It's a behavior issue."   
   --Steve Jobs




Re: PHP4 module for Apache?

2002-02-16 Thread Gavin Hamill

On Sat, Feb 16, 2002 at 10:09:39AM -0600, Michael Merritt wrote:
> What package do I need to install to get mod_php support for PHP4 in Apache?  
> I installed the php4 package, but my php scripts are still not being parsed.

Check your /etc/apache/httpd.conf for this line... it's around line 240

LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

It's quite possible that the apache configuration script has commented this out... 
it's for this 
reason that when it says 'Pondering do you want to save these changes?' I /ALWAYS/ 
say No...

If it's commented out, remove the comment and restart apache...

gdh



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




PHP4 module for Apache?

2002-02-16 Thread Michael Merritt

What package do I need to install to get mod_php support for PHP4 in Apache?  
I installed the php4 package, but my php scripts are still not being parsed.

Thanks,
-- 
 Michael MerrittO2/CO2 Conversion Specialist [o]

 [EMAIL PROTECTED] | www.miklm.com | (931) 205-1392 | AIM/MSN miklm

 "Piracy is not a technological issue. It's a behavior issue."   
   --Steve Jobs


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]