php3-list | 199807
Date: 07/09/98
- Next message: Jim Winstead: "Re: [PHP3] ISP with PHP"
- Previous message: Shane Caraveo: "RE: [PHP3] IIS4 setup"
- Next in thread: Felix Morley Finch: "[PHP3] Re: [apache-ssl] compile prob PHP3 + Apache_1.3.0 + SSLeay-0.9.0b please help"
- Reply: Felix Morley Finch: "[PHP3] Re: [apache-ssl] compile prob PHP3 + Apache_1.3.0 + SSLeay-0.9.0b please help"
- Reply: Ben Laurie: "[PHP3] Re: [apache-ssl] compile prob PHP3 + Apache_1.3.0 + SSLeay-0.9.0b please help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
During make of apache I keep getting:
gcc -DLINUX=2 -DUSE_HSREGEX -DSERVER_SUBVERSION=\"PHP/3.0\" -DAPACHE_SSL
`../../apaci` -o gcache gcache.o gcachecommon.o -lm -lcrypt -Lmodules/php3
-L../modules/php3 -lmodphp3 -lgdbm -lresolv -lm -ldl -lcrypt
-L/usr/local/src/SSLeay-0.9.0b -lssl -lcrypto
ld: cannot open -lmodphp3: No such file or directory
make[4]: *** [gcache] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/src/apache_1.3.0/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/src/apache_1.3.0'
make: *** [build] Error 2
I can build PHP and SSLeay into Apache independently but I can seem to do them
both at the same time!
Here is my method:
1) untar SSLeay-0.9.0b.tar, php-3.0.tar, and apache_1.3.0.tar in usr/local/src
2) build SSLeay-0.9.0b:
a) cd /usr/local/src/SSLeay-0.9.0b
b) perl util/perlpath.pl /usr/bin
c) ./Configure linux-elf
d) make depend
e) make
f) make test
g) make install
h) mkdir /usr/local/ssl/certs
i) mkdir /usr/local/ssl/crl
j) mkdir /usr/local/ssl/newcerts
k) mkdir /usr/local/ssl/private
l) echo "01" > /usr/local/ssl/serial
m) touch /usr/local/ssl/index.txt
n) add SSLDIR=/usr/local/ssl to environment variables
o) add /usr/local/ssl/bin to PATH
p) vi /usr/local/ssl/lib/ssleay.cnf
i) change dir = /usr/local/ssl
ii) change certificate = $dir/cert/CAcert.pem
iii) change defaults
q) cd /usr/local/ssl
r) create a self-signed CA certificate:
ssleay req -new -x509 -keyout ${SSLDIR}/private/CAkey.pem \
-out ${SSLDIR}/cert/CAcert.pem -config ${SSLDIR}/lib/ssleay.cnf
s) sign a server certificate later
3) build PHP3
a) cd /usr/local/src/apache_1.3.0
b) ./configure --prefix=/usr/local/apache
c) cd /usr/local/src/php-3.0
d) ./configure --with-apache=/usr/local/src/apache_1.3.0
e) make
f) make install
4) apply Ben's SSLeay patch to apache
a) place apache_1.3.0+ssl_1.18.tar in /usr/local/src/apache_1.3.0
b) cd /usr/local/src/apache_1.3.0
c) tar xvf apache_1.3.0+ssl_1.18.tar
d) patch -p1 < SSLpatch
e) touch src/modules/ssl/Makefile.libdir
f) vi src/Configuration.tmpl
i) change TARGET=httpd (so you can use the apachectl script)
ii) change SSL_BASE=/usr/local/src/SSLeay-0.9.0b
5) build apache
a) cd /usr/local/src/apache_1.3.0
b) ./configure --prefix=/usr/local/apache \
--activate-module=src/modules/php3/libphp3.a
c) make
[error generated here]
d) make install
e) /usr/local/apache/sbin/apachectl start
6) configuration issues
Please help! :(
-Steve Maring
smaring <email protected>
Palm Harbor, FL
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.tryc.on.ca/php3.html
- Next message: Jim Winstead: "Re: [PHP3] ISP with PHP"
- Previous message: Shane Caraveo: "RE: [PHP3] IIS4 setup"
- Next in thread: Felix Morley Finch: "[PHP3] Re: [apache-ssl] compile prob PHP3 + Apache_1.3.0 + SSLeay-0.9.0b please help"
- Reply: Felix Morley Finch: "[PHP3] Re: [apache-ssl] compile prob PHP3 + Apache_1.3.0 + SSLeay-0.9.0b please help"
- Reply: Ben Laurie: "[PHP3] Re: [apache-ssl] compile prob PHP3 + Apache_1.3.0 + SSLeay-0.9.0b please help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

