osdir.com
mailing list archive
Mozy Online Backup: 2GB Free. Automatic. Secure.

Subject: Re: Apache 1.3 + mod_ssl + php4 - not obvious how to all make work... - msg#00109

List: os.freebsd.isp

Date: Prev Next Index Thread: Prev Next Index
Dexter,

I've seen this error when mod_php is compiled with IMAP/SSL support and
cclient wasn't. I'm pulling this from memory, but I remember that by
default cclient wasn't built with SSL support. You can build mod_php with
just IMAP support instead of IMAP/SSL, or you can rebuild cclient with SSL
(make -DWITH_SSL.

Alvin Gunkel

> Has anyone built this combination from the ports collection? I keep
> running into the same problem - when I try to start apache w/ssl, I get
> the following error:
>
> barney# /usr/local/sbin/apachectl startssl
> Syntax error on line 240 of /usr/local/etc/apache/httpd.conf:
> Cannot load /usr/local/libexec/apache/libphp4.so into server:
> /usr/local/libexec/apache/libphp4.so: Undefined symbol
> "ssl_onceonlyinit" /usr/local/sbin/apachectl startssl: httpd could not
> be started




To Unsubscribe: send mail to majordomo@xxxxxxxxxxx
with "unsubscribe freebsd-isp" in the body of the message



Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: Apache 1.3 + mod_ssl + php4 - not obvious how to all make work...

Hmmm... OK, can you tell me how you went about building it? Did you enable the SSL extensions in mod-php4 when you built the module? Cheers, Dexter McNeil PS: I forgot to mention before that I'm running FreeBSD 4.6.2-RELEASE with a current set of ports cvsup'd last night. On Wed, Sep 18, 2002 at 01:30:25PM -0500, John Brooks wrote: > I've used that combo numerous times without difficulty. In fact I > usually run separate instances of each from the same config file. > One process of non-ssl and a separate process of ssl. Don't know > how to fix your specific problem, but that combination does work > from the ports. > > -- > John Brooks > john@xxxxxxxxxx > > > > -----Original Message----- > > From: owner-freebsd-isp@xxxxxxxxxxx > > [mailto:owner-freebsd-isp@xxxxxxxxxxx]On Behalf Of Dexter McNeil > > Sent: Wednesday, September 18, 2002 10:12 AM > > To: freebsd-isp@xxxxxxxxxxx > > Subject: Apache 1.3 + mod_ssl + php4 - not obvious how to all make > > work... > > > > > > Has anyone built this combination from the ports collection? I keep > > running into the same problem - when I try to start apache > > w/ssl, I get > > the following error: > > > > barney# /usr/local/sbin/apachectl startssl > > Syntax error on line 240 of /usr/local/etc/apache/httpd.conf: > > Cannot load /usr/local/libexec/apache/libphp4.so into server: > > /usr/local/libexec/apache/libphp4.so: Undefined symbol > > "ssl_onceonlyinit" > > /usr/local/sbin/apachectl startssl: httpd could not be started > > > > > > I've tried changing the makefile for mod-php4 to point to > > apache13-modssl > > as the dependancy and letting the build for mod-php4 build & install > > apache13-modssl, but then what I end up with is an apache > > that runs but > > trying to start ssl causes it to barf up the above error. Installing > > apache13-modssl first, then mod-php4 causes the above error > > to occur when > > I start up apache by itself (depends on where the modphp4 > > directives land > > in the httpd.conf file...). > > > > Any and all clues appreciated! > > > > Many thanks, > > Dexter McNeil > > > > > > > > -- > > The ultimate destination on the journey of life is a hole 6 feet deep. > > Enjoy the journey - the destination is nothing to write home about. > > > > To Unsubscribe: send mail to majordomo@xxxxxxxxxxx > > with "unsubscribe freebsd-isp" in the body of the message > > > > To Unsubscribe: send mail to majordomo@xxxxxxxxxxx > with "unsubscribe freebsd-isp" in the body of the message -- The ultimate destination on the journey of life is a hole 6 feet deep. Enjoy the journey - the destination is nothing to write home about. To Unsubscribe: send mail to majordomo@xxxxxxxxxxx with "unsubscribe freebsd-isp" in the body of the message

Next Message by Date: click to view message preview

Re: Apache 1.3 + mod_ssl + php4 - not obvious how to all make work...

That was it!!! It's built and works! I removed mod_php, apache-modssl, and cclient. Then built cclient with the -DWITH_SSL option, then built mod_php (I'd changed the dependency in the make file to specify apache-modssl), and let it all build (with IMAP/SSL enabled, along with OPENSSL). It all works now. Cheers, Dexter On Wed, Sep 18, 2002 at 02:44:51PM -0400, Alvin Gunkel wrote: > Dexter, > > I've seen this error when mod_php is compiled with IMAP/SSL support and > cclient wasn't. I'm pulling this from memory, but I remember that by > default cclient wasn't built with SSL support. You can build mod_php with > just IMAP support instead of IMAP/SSL, or you can rebuild cclient with SSL > (make -DWITH_SSL. > > Alvin Gunkel > > > Has anyone built this combination from the ports collection? I keep > > running into the same problem - when I try to start apache w/ssl, I get > > the following error: > > > > barney# /usr/local/sbin/apachectl startssl > > Syntax error on line 240 of /usr/local/etc/apache/httpd.conf: > > Cannot load /usr/local/libexec/apache/libphp4.so into server: > > /usr/local/libexec/apache/libphp4.so: Undefined symbol > > "ssl_onceonlyinit" /usr/local/sbin/apachectl startssl: httpd could not > > be started > > > > > To Unsubscribe: send mail to majordomo@xxxxxxxxxxx > with "unsubscribe freebsd-isp" in the body of the message -- The ultimate destination on the journey of life is a hole 6 feet deep. Enjoy the journey - the destination is nothing to write home about. To Unsubscribe: send mail to majordomo@xxxxxxxxxxx with "unsubscribe freebsd-isp" in the body of the message

Previous Message by Thread: click to view message preview

Re: Apache 1.3 + mod_ssl + php4 - not obvious how to all make work...

Hmmm... OK, can you tell me how you went about building it? Did you enable the SSL extensions in mod-php4 when you built the module? Cheers, Dexter McNeil PS: I forgot to mention before that I'm running FreeBSD 4.6.2-RELEASE with a current set of ports cvsup'd last night. On Wed, Sep 18, 2002 at 01:30:25PM -0500, John Brooks wrote: > I've used that combo numerous times without difficulty. In fact I > usually run separate instances of each from the same config file. > One process of non-ssl and a separate process of ssl. Don't know > how to fix your specific problem, but that combination does work > from the ports. > > -- > John Brooks > john@xxxxxxxxxx > > > > -----Original Message----- > > From: owner-freebsd-isp@xxxxxxxxxxx > > [mailto:owner-freebsd-isp@xxxxxxxxxxx]On Behalf Of Dexter McNeil > > Sent: Wednesday, September 18, 2002 10:12 AM > > To: freebsd-isp@xxxxxxxxxxx > > Subject: Apache 1.3 + mod_ssl + php4 - not obvious how to all make > > work... > > > > > > Has anyone built this combination from the ports collection? I keep > > running into the same problem - when I try to start apache > > w/ssl, I get > > the following error: > > > > barney# /usr/local/sbin/apachectl startssl > > Syntax error on line 240 of /usr/local/etc/apache/httpd.conf: > > Cannot load /usr/local/libexec/apache/libphp4.so into server: > > /usr/local/libexec/apache/libphp4.so: Undefined symbol > > "ssl_onceonlyinit" > > /usr/local/sbin/apachectl startssl: httpd could not be started > > > > > > I've tried changing the makefile for mod-php4 to point to > > apache13-modssl > > as the dependancy and letting the build for mod-php4 build & install > > apache13-modssl, but then what I end up with is an apache > > that runs but > > trying to start ssl causes it to barf up the above error. Installing > > apache13-modssl first, then mod-php4 causes the above error > > to occur when > > I start up apache by itself (depends on where the modphp4 > > directives land > > in the httpd.conf file...). > > > > Any and all clues appreciated! > > > > Many thanks, > > Dexter McNeil > > > > > > > > -- > > The ultimate destination on the journey of life is a hole 6 feet deep. > > Enjoy the journey - the destination is nothing to write home about. > > > > To Unsubscribe: send mail to majordomo@xxxxxxxxxxx > > with "unsubscribe freebsd-isp" in the body of the message > > > > To Unsubscribe: send mail to majordomo@xxxxxxxxxxx > with "unsubscribe freebsd-isp" in the body of the message -- The ultimate destination on the journey of life is a hole 6 feet deep. Enjoy the journey - the destination is nothing to write home about. To Unsubscribe: send mail to majordomo@xxxxxxxxxxx with "unsubscribe freebsd-isp" in the body of the message

Next Message by Thread: click to view message preview

Re: Apache 1.3 + mod_ssl + php4 - not obvious how to all make work...

That was it!!! It's built and works! I removed mod_php, apache-modssl, and cclient. Then built cclient with the -DWITH_SSL option, then built mod_php (I'd changed the dependency in the make file to specify apache-modssl), and let it all build (with IMAP/SSL enabled, along with OPENSSL). It all works now. Cheers, Dexter On Wed, Sep 18, 2002 at 02:44:51PM -0400, Alvin Gunkel wrote: > Dexter, > > I've seen this error when mod_php is compiled with IMAP/SSL support and > cclient wasn't. I'm pulling this from memory, but I remember that by > default cclient wasn't built with SSL support. You can build mod_php with > just IMAP support instead of IMAP/SSL, or you can rebuild cclient with SSL > (make -DWITH_SSL. > > Alvin Gunkel > > > Has anyone built this combination from the ports collection? I keep > > running into the same problem - when I try to start apache w/ssl, I get > > the following error: > > > > barney# /usr/local/sbin/apachectl startssl > > Syntax error on line 240 of /usr/local/etc/apache/httpd.conf: > > Cannot load /usr/local/libexec/apache/libphp4.so into server: > > /usr/local/libexec/apache/libphp4.so: Undefined symbol > > "ssl_onceonlyinit" /usr/local/sbin/apachectl startssl: httpd could not > > be started > > > > > To Unsubscribe: send mail to majordomo@xxxxxxxxxxx > with "unsubscribe freebsd-isp" in the body of the message -- The ultimate destination on the journey of life is a hole 6 feet deep. Enjoy the journey - the destination is nothing to write home about. To Unsubscribe: send mail to majordomo@xxxxxxxxxxx with "unsubscribe freebsd-isp" in the body of the message
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by