Skip to main content
added 22 characters in body
Source Link
GAD3R
  • 69.9k
  • 32
  • 147
  • 216

theThe problem was openssl, well, I installed openssl 0.9.8 from source:

https://www.openssl.org/source/old/0.9.x/openssl-0.9.8.tar.gz:

moveMove to /usr/src/usr/src compile it, and install it without man pages due to an error:

./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl no-asm -fPIC

make

make install_sw

thenThen i compile phpphp with this options:

./configure --with-openssl=/usr/local/openssl --with-openssl-dir=/usr/local/openssl --with-curl --enable-ftp --with-ldap --with-apxs2 --enable-bcmath --with-bz2 --enable-calendar --enable-exif --enable-mbstring --with-mhash --enable-shmop --enable-soap --enable-sockets --enable-sysvmsg --enable-zip --with-zlib

make

UPDATE: works for 5.6.28 too

the problem was openssl, well, I installed openssl 0.9.8 from source:

https://www.openssl.org/source/old/0.9.x/openssl-0.9.8.tar.gz

move to /usr/src compile it, and install it without man pages due to an error:

./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl no-asm -fPIC

make

make install_sw

then i compile php with this options:

./configure --with-openssl=/usr/local/openssl --with-openssl-dir=/usr/local/openssl --with-curl --enable-ftp --with-ldap --with-apxs2 --enable-bcmath --with-bz2 --enable-calendar --enable-exif --enable-mbstring --with-mhash --enable-shmop --enable-soap --enable-sockets --enable-sysvmsg --enable-zip --with-zlib

make

UPDATE: works for 5.6.28 too

The problem was openssl, well, I installed openssl 0.9.8 from source:

Move to /usr/src compile it, and install it without man pages due to an error:

./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl no-asm -fPIC

make

make install_sw

Then i compile php with this options:

./configure --with-openssl=/usr/local/openssl --with-openssl-dir=/usr/local/openssl --with-curl --enable-ftp --with-ldap --with-apxs2 --enable-bcmath --with-bz2 --enable-calendar --enable-exif --enable-mbstring --with-mhash --enable-shmop --enable-soap --enable-sockets --enable-sysvmsg --enable-zip --with-zlib

make

UPDATE: works for 5.6.28 too

Post Migrated Here from serverfault.com (revisions)
Source Link
ZiTAL
  • 131
  • 1
  • 7

the problem was openssl, well, I installed openssl 0.9.8 from source:

https://www.openssl.org/source/old/0.9.x/openssl-0.9.8.tar.gz

move to /usr/src compile it, and install it without man pages due to an error:

./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl no-asm -fPIC

make

make install_sw

then i compile php with this options:

./configure --with-openssl=/usr/local/openssl --with-openssl-dir=/usr/local/openssl --with-curl --enable-ftp --with-ldap --with-apxs2 --enable-bcmath --with-bz2 --enable-calendar --enable-exif --enable-mbstring --with-mhash --enable-shmop --enable-soap --enable-sockets --enable-sysvmsg --enable-zip --with-zlib

make

UPDATE: works for 5.6.28 too