Re: How do I get libphp5.so back

2007-06-23 Thread Garrett Cooper

Andrew Falanga wrote:

Hi,

I'm working on doing some more development on my php and I've just
discovered that somehow the libraries were removed.  It must have been
through a portupgrade I had done recently.  It's been several months
since I've done anything with it and I noticed that the following
lines were commented in my httpd.conf file:

LoadModule php5_modulelibexec/apache/libphp5.so
AddModule mod_php5.c

I uncommented them, but apache won't start now because these files are
to be found.  However, both packages php5 and php5-pgsql are installed
on my system.  How would I get these back?

Andy
   Reinstall php and all modules -- that should fix the problem (based 
on past experience).

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I get libphp5.so back

2007-06-23 Thread Andrew Falanga

On 6/23/07, Garrett Cooper [EMAIL PROTECTED] wrote:


Reinstall php and all modules -- that should fix the problem (based
on past experience).
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Ok, I went to /usr/ports/lang/php5 and did make install clean.  The
build went great but then the script bailed saying that a previous
install was detected and to do a make deinstall and then make
reinstall.  I did.  However, I still don't have the libphp5.so module
in /usr/local/libexec/apache.  How do I reinstall this port and make
this work?

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I get libphp5.so back

2007-06-23 Thread Joe Holden
Andrew Falanga wrote:
 On 6/23/07, Garrett Cooper [EMAIL PROTECTED] wrote:
 
 Reinstall php and all modules -- that should fix the problem (based
 on past experience).
 -Garrett
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

 
 Ok, I went to /usr/ports/lang/php5 and did make install clean.  The
 build went great but then the script bailed saying that a previous
 install was detected and to do a make deinstall and then make
 reinstall.  I did.  However, I still don't have the libphp5.so module
 in /usr/local/libexec/apache.  How do I reinstall this port and make
 this work?
 
 Andy
 ___
Run make config in /usr/ports/lang/php5, make sure the apache option
is selected.

HTH,
Joe
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do I get libphp5.so back

2007-06-23 Thread Andrew Falanga

On 6/23/07, Joe Holden [EMAIL PROTECTED] wrote:

Run make config in /usr/ports/lang/php5, make sure the apache option
is selected.

HTH,
Joe



I found this just before reading this message.  I was reading in
UPDATING on something that wasn't quite related to my problem about
PHP and saw a suggestion to do make config before upgrading.  Well,
I decided to try that and sure enough, the Apache module wasn't
selected.

I figure what must have happened was some time ago I did a portupgrade
-a and in that I must have deselected that module from the build and
lost it.  Thanks again.  Everything's working now, even the pgsql
module.

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]