Re: 7.1 release / apache22 / php5

2009-02-08 Thread Familie van der Schaft
LS,

I hav e the same problem with 7.0 release.
The libphp5.so is placed by the php5 port.
When you deinstall php5, make clean, make config (check apache module), make
install,...the libphp5.so is placed in the libexec directory.
Or with clean installation, first install apache22 then php5.

Danny van der Schaft


- Original Message - 
From: Glen Barber glen.j.bar...@gmail.com
To: Jim Pazarena fqu...@ccstores.com; freebsd-questions@freebsd.org
Sent: Tuesday, January 06, 2009 3:33 AM
Subject: Re: 7.1 release / apache22 / php5


 stan wrote:
  On Mon, Jan 05, 2009 at 04:52:10PM -0800, Jim Pazarena wrote:
 
  for some odd reason, with this latest install (7.1), apache22 complains
  that it cannot find libphp5.so
  I usually compile php5 from ports
  and apache22 from ports
  after I think about it, I have never actually placed libphp5.so
anywhere. I
  am not even sure who/what
  causes php5 module to be added to
/usr/local/libexec/apache22/libphp5.so
  it's present on my 7.0 system, and missing on my 7.1 system.
  advice would be much appreciated.
 
 
  I don't know if it's a change, but on the 7.1 machine I just built. the
  lang/php5 port was not configured by default to build the Apache module.
 


 It's been that way as far as I can remember (at least since 6.2-RELEASE).

 -- 
 Glen Barber
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org







No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.10.2/1874 - Release Date: 4-1-2009
16:32

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


7.1 release / apache22 / php5

2009-01-05 Thread Jim Pazarena

for some odd reason, with this latest install (7.1), apache22 complains that it 
cannot find libphp5.so
I usually compile php5 from ports
and apache22 from ports
after I think about it, I have never actually placed libphp5.so anywhere. I am 
not even sure who/what
causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so
it's present on my 7.0 system, and missing on my 7.1 system.
advice would be much appreciated.
--
Jim Pazarena  fqu...@ccstores.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 7.1 release / apache22 / php5

2009-01-05 Thread Josh Carroll
On Mon, Jan 5, 2009 at 7:52 PM, Jim Pazarena fqu...@ccstores.com wrote:
 for some odd reason, with this latest install (7.1), apache22 complains that
 it cannot find libphp5.so
 I usually compile php5 from ports
 and apache22 from ports
 after I think about it, I have never actually placed libphp5.so anywhere. I
 am not even sure who/what
 causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so
 it's present on my 7.0 system, and missing on my 7.1 system.
 advice would be much appreciated.

Do you have something like:

LoadModule php5_modulelibexec/apache22/libphp5.so

in /usr/local/etc/apache22/httpd.conf ?  If not, that's the likely culprit.

You'd also need the IfModule mod_php5.c ... /IfModule block in
there as well (or in an included file).

Regards,
Josh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 7.1 release / apache22 / php5

2009-01-05 Thread Jim Pazarena

Josh Carroll wrote:

On Mon, Jan 5, 2009 at 7:52 PM, Jim Pazarena fqu...@ccstores.com wrote:

for some odd reason, with this latest install (7.1), apache22 complains that
it cannot find libphp5.so
I usually compile php5 from ports
and apache22 from ports
after I think about it, I have never actually placed libphp5.so anywhere. I
am not even sure who/what
causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so
it's present on my 7.0 system, and missing on my 7.1 system.
advice would be much appreciated.


Do you have something like:

LoadModule php5_modulelibexec/apache22/libphp5.so

in /usr/local/etc/apache22/httpd.conf ?  If not, that's the likely culprit.

You'd also need the IfModule mod_php5.c ... /IfModule block in
there as well (or in an included file).

Regards,
Josh


the httpd config file isn't the issue. it hasn't changed in a few years. yes,
I do have the correct entries.

what I do NOT have is the actual libphp5.so library file! it doesn't exist on 
my system,
so apache complains that it can't open it.

--
Jim Pazarena  fqu...@ccstores.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 7.1 release / apache22 / php5

2009-01-05 Thread Glen Barber
On Mon, Jan 5, 2009 at 7:52 PM, Jim Pazarena fqu...@ccstores.com wrote:
 for some odd reason, with this latest install (7.1), apache22 complains that
 it cannot find libphp5.so
 I usually compile php5 from ports
 and apache22 from ports
 after I think about it, I have never actually placed libphp5.so anywhere. I
 am not even sure who/what
 causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so
 it's present on my 7.0 system, and missing on my 7.1 system.
 advice would be much appreciated.

Did you remember to build the apache module when compiling php5?

-- 
Glen Barber

Tell me and I forget. Teach me and I remember. Involve me and I
learn. - Benjamin Franklin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 7.1 release / apache22 / php5

2009-01-05 Thread Josh Carroll
 the httpd config file isn't the issue. it hasn't changed in a few years.
 yes,
 I do have the correct entries.

 what I do NOT have is the actual libphp5.so library file! it doesn't exist
 on my system,
 so apache complains that it can't open it.

Did you build the lang/php5 port with the Build Apache module option
checked via make config?

make -C /usr/ports/lang/php5 showconfig | grep APACHE

Should return:

 APACHE=on Build Apache module

If not, make config in there, check that option, then rebuild and
reinstall the port.

Josh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 7.1 release / apache22 / php5

2009-01-05 Thread stan
On Mon, Jan 05, 2009 at 04:52:10PM -0800, Jim Pazarena wrote:
 for some odd reason, with this latest install (7.1), apache22 complains 
 that it cannot find libphp5.so
 I usually compile php5 from ports
 and apache22 from ports
 after I think about it, I have never actually placed libphp5.so anywhere. I 
 am not even sure who/what
 causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so
 it's present on my 7.0 system, and missing on my 7.1 system.
 advice would be much appreciated.

I don't know if it's a change, but on the 7.1 machine I just built. the
lang/php5 port was not configured by default to build the Apache module.
-- 
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C
programs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 7.1 release / apache22 / php5

2009-01-05 Thread Glen Barber

stan wrote:

On Mon, Jan 05, 2009 at 04:52:10PM -0800, Jim Pazarena wrote:
  
for some odd reason, with this latest install (7.1), apache22 complains 
that it cannot find libphp5.so

I usually compile php5 from ports
and apache22 from ports
after I think about it, I have never actually placed libphp5.so anywhere. I 
am not even sure who/what

causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so
it's present on my 7.0 system, and missing on my 7.1 system.
advice would be much appreciated.



I don't know if it's a change, but on the 7.1 machine I just built. the
lang/php5 port was not configured by default to build the Apache module.
  



It's been that way as far as I can remember (at least since 6.2-RELEASE).

--
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org