RE: PHP,Apache question

2008-02-14 Thread Darryl Hoar
Subject: Re: PHP,Apache question


On Wed, 13 Feb 2008, Darryl Hoar wrote:

 when I try to start apache using:
 #/usr/local/sbin/apachectl start
 I get the following:
 Syntax error on line 241 of /usr/local/etc/apache/httpd.conf:
 Cannot load /usr/local/libexec/apache/libphp4.so into server: Cannot open
 /usr/local/libexec/apache/libphp4.so
 /usr/local/sbin/apachectl start: httpd could not be started
 when I look in the /usr/local/libexec/apache directory, I do not see
 libphp4.so

 What do I need to do to fix this ?

try installing lang/php4.  Have you checked out the Apache section of the
handbook?  There's a section on setting up Apache and PHP:

You'll notice in my original email that one of the steps I performed was
installing
lang/php4.

http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/network-apache.h
tml

Also, unless you're needing to stick with older version for compatibility
reasons newer version of Apache and PHP available in your ports tree.

Yes, I am going with the 'older' version for some compatability issues with
software I will be using.

Kevin


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


RE: PHP,Apache question

2008-02-14 Thread Darryl Hoar

On Wed, 13 Feb 2008, Darryl Hoar wrote:

 when I try to start apache using:
 #/usr/local/sbin/apachectl start
 I get the following:
 Syntax error on line 241 of /usr/local/etc/apache/httpd.conf:
 Cannot load /usr/local/libexec/apache/libphp4.so into server: Cannot open
 /usr/local/libexec/apache/libphp4.so
 /usr/local/sbin/apachectl start: httpd could not be started
 when I look in the /usr/local/libexec/apache directory, I do not see
 libphp4.so

 What do I need to do to fix this ?

I'll answer my own question.  When I installed php4, I failed
to select build apache module from the config screen.  Once I did this,
libphp4.so was built.  Copied it to the correct location
(/usr/local/libexec/apach) and apache was happy again.


try installing lang/php4.  Have you checked out the Apache section of the
handbook?  There's a section on setting up Apache and PHP:

You'll notice in my original email that one of the steps I performed was
installing
lang/php4.

http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/network-apache.h
tml

Also, unless you're needing to stick with older version for compatibility
reasons newer version of Apache and PHP available in your ports tree.

Yes, I am going with the 'older' version for some compatability issues
with
software I will be using.

Kevin


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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.20.4/1276 - Release Date: 2/13/2008
9:41 AM


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


Re: PHP,Apache question

2008-02-13 Thread Kevin Monceaux

On Wed, 13 Feb 2008, Darryl Hoar wrote:


when I try to start apache using:
#/usr/local/sbin/apachectl start
I get the following:
Syntax error on line 241 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/libexec/apache/libphp4.so into server: Cannot open
/usr/local/libexec/apache/libphp4.so
/usr/local/sbin/apachectl start: httpd could not be started
when I look in the /usr/local/libexec/apache directory, I do not see
libphp4.so

What do I need to do to fix this ?


try installing lang/php4.  Have you checked out the Apache section of the 
handbook?  There's a section on setting up Apache and PHP:


http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/network-apache.html

Also, unless you're needing to stick with older version for compatibility 
reasons newer version of Apache and PHP available in your ports tree.



Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

Si hoc legere scis nimium eruditionis habes.
Longum iter est per praecepta, breve et efficax per exempla!!!

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