Date: Sun, 06 Jan 2002 14:31:09 -0700 From: Colin Harford <colin.harford@mail.su.ualberta.ca> To: <questions@FreeBSD.ORG>, <danny@clifftop.net> Subject: Re: questions-digest V5 #969 Message-ID: <B85E102D.1144%colin.harford@mail.su.ualberta.ca> In-Reply-To: <bulk.85159.20020106130523@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/1/02 2:05 PM, "questions-digest" <owner-freebsd-questions-digest@FreeBSD.ORG> wrote: >=20 > Date: Sun, 6 Jan 2002 17:22:30 -0000 > From: "Danny Horne" <danny@clifftop.net> > Subject: Running Apache-modssl+mod_php4+mod_perl >=20 > Hi all, >=20 > Many thanks to Kevin & others for helping me get Apache13-modssl installe= d, > but I now find I can't include mod_php4 in the config, if I do starting > Apache fails with the following error. What have I missed? (it all runs = ok > otherwise Server Version: Apache/1.3.22 (Unix) mod_perl/1.26 mod_ssl/2.8.= 5 > OpenSSL/0.9.6a) >=20 > odo# /usr/local/etc/rc.d/apache.sh start > 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" >=20 > Thanks >=20 > - --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.313 / Virus Database: 174 - Release Date: 02/01/02 When I installed php and mod_ssl I did it like so (I developed the setup o= n OpenBSD, where I needed to compile it all from sources....and the commands also work for FreeBSD, but note, some options require other software installed (ie: --with-mysql --with pthread --with-gd): 1) in apache dir ./configure 2) in php dir ./configure --with-apache=3D../apache_1.3.22 --enable-track-vars --with-mysql=3D/opt/mysql --with-pthread --with-gd --enable-sockets Then a make && make install 3) in mod_ssl dir ./configure --with-apache=3D../apache_1.3.22 --prefix=3D/opt Follow on screen instructions 4) Then back in apache dir: SSL_base=3D/usr/sbin/openssl ./configure --enable-module=3Dssl --prefix=3D/opt/apache --activate-module=3Dsrc/modules/php4/libphp4.a Then make && make certificate && make install 5) Back into php install dir: Cp php.ini.dist /usr/local/lib/php.ini 6) Then check the apache httpd to make sure that AddType application/ x-httpd-php .php is uncommented Did you do steps 5 and 6? When you do /usr/local/sbin/apachectl configtest do you get any errors? If I remember correctly, for it to work right for me, I had to do install php before I installed mod_ssl... Hope this helps.... Colin Harford =A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Systems and Network Administrator =A0=A0=A0=A0 Apple Product Professional =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =A0=A0=A0=A0 Computer and Network Support =A0=A0=A0=A0=A0=A0=A0=A0 University of Alberta Students' Union =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Phone: (780) 492-4241 =A0=A0Fax: =A0(780) 492-4643 http://www.su.ualberta.ca "I sense much NT in you, NT leads to Blue Screen. Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside." - Unknown Unix Jedi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B85E102D.1144%colin.harford>