ID:               24774
 Comment by:       mayday at floyd-agency dot com
 Reported By:      cyrille at iwebgroup dot com
 Status:           Open
 Bug Type:         Apache related
 Operating System: Red Hat Linux release 7.3 (Valha
 PHP Version:      4.3.2
 New Comment:

i'm experiencind the same problem, i think it openssl 0.9.7 related

System : Redhat 8.0

apache 1.3.28
mod_ssl2.8.15
openssl-0.9.7b
php-4.3.2
mm-1.3.0
auth_ldap-1.6.0
mod_dosevasive
etc ...

php installation :


./configure --with-apxs=/usr/local/apache/bin/apxs
--prefix=/usr
--libdir=/usr/lib
--enable-discard-path
--disable-force-cgi-redirect
--enable-shared
--disable-static
--disable-debug
--disable-rpath
--enable-pic
--enable-inline-optimization
--enable-memory-limit
--with-config-file-path=/etc
--with-config-file-scan-dir=/etc/php
--with-pear=/usr/share/pear
--enable-magic-quotes
--enable-debugger
--enable-track-vars
--with-exec-dir=/usr/bin
--with-versioning
--with-mod_charset
--with-regex=php
--enable-track-vars
--enable-trans-side--enable-safe-mode
--enable-ctype
--enable-ftp
--with-pdflib=/usr/local
--with-gettext=/usr
--enable-posix
--enable-session
--enable-sysvsem
--enable-sysvshm
--enable-sockets
--with-openssl=/usr/local/ssl
--without-kerberos
--with-ttf
--with-freetype-dir=/usr
--with-zlib=/usr
--with-zlib-dir=/usr
--with-mysql=/usr
--with-pgsql=/usr
--with-gd
--with-mm=/usr/local/mm-1.3.0/--enable-wddx
--with-mcrypt
--with-mhash
--with-mcal=/usr/local/
--enable-xslt
--with-xslt-sablot=/usr
--with-dom
--with-dom-xslt



I only get this problem if starting apache withouth ssl

Syntax error on line 34 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server:
/usr/local/apache/libexec/libphp4.so: undefined symbol:
OPENSSL_add_all_algorithms_noconf


Previous Comments:
------------------------------------------------------------------------

[2003-07-23 14:13:53] cyrille at iwebgroup dot com

Description:
------------
Hello,

I'm using :
apache_1.3.28.tar.gz
mod_ssl-2.8.15-1.3.28.tar.gz
openssl-0.9.7b.tar.gz
php-4.3.2.tar.gz

openssl installation :
./config --prefix=/virtual/openssl
make
make install

mod_ssl installation :
./configure \
  --with-apache=/usr/src/redhat/SOURCES/apache \
  --with-ssl=/virtual/openssl \
  --prefix=/virtual/apache-ssl

apache installation :
CFLAGS="-DEAPI"
export CFLAGS
SSL_BASE=/virtual/openssl
./configure \
--prefix=/virtual/apache-ssl \
--sysconfdir=/virtual/apache-ssl/conf \
--htdocsdir=/home/www \
--cgidir=/home/www/cgi-bin \
--runtimedir=/var/log/apache-ssl \
--logfiledir=/var/log/apache-ssl \
--enable-module=most \
--enable-shared=max \
--disable-rule=WANTHSREGEX \
--server-uid=apache \
--server-gid=apache \
--enable-module=so
make
make install

php installation :
./configure \
--with-apxs=/virtual/apache-ssl/bin/apxs \
--prefix=/virtual/php-ssl \
--with-mysql \
--with-mcrypt \
--with-curl \
--enable-bcmath \
--with-gd \
--with-dbase \
--with-xml \
--with-sablot \
--enable-ftp \
--enable-gd-native-ttf \
--with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/lib \
--with-zlib \
--with-ttf \
--with-pdflib \
--with-xslt-sablot=/usr/lib \
--with-sablot-js=/usr/lib \
--with-ming \
--with-gettext \
--with-openssl=/virtual/openssl
make
make install

When starting apache with ssl enable :

Syntax error on line 239 of /virtual/apache-ssl/conf/httpd.conf:
Cannot load /virtual/apache-ssl/libexec/libphp4.so into server:
/virtual/apache-ssl/libexec/libphp4.so: undefined symbol:
OPENSSL_add_all_algorithms_noconf

Thanks !

Cyrille.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24774&edit=1

Reply via email to