Originally posted by: JeyaseelanYesudason
Hi, I need support to install and configure the Apache with PHP on AIX server 6.1
I have installed the Apache and PHP RPM and from IBM Linux Toolbox.
I am getting error with PHP as given below
root@CFRSV50251003AP(/)#oslevel -s
6100-09-10-1731
root@CFRSV50251003AP(/)#
root@CFRSV50251003AP(/)#php -v
Could not load program php:
Could not load module /opt/freeware/lib/libldap.a(libldap-2.4.so.2).
Dependent module /usr/lib/libcrypto.a(libcrypto.so.1.0.2) could not be loaded.
Member libcrypto.so.1.0.2 is not found in archive
Could not load module php.
Dependent module /opt/freeware/lib/libldap.a(libldap-2.4.so.2) could not be loaded.
Could not load module .
root@CFRSV50251003AP(/)#
root@CFRSV50251003AP(/)#/opt/freeware/sbin/apachectl restart
httpd: Syntax error on line 537 of /opt/freeware/etc/httpd/conf/httpd.conf: Syntax error on line 6 of /opt/freeware/etc/httpd/conf/extra/httpd-php.conf: Cannot load modules/libphp7.so into server: Could not load module /opt/freeware/lib/libldap.a(libldap-2.4.so.2).\n\tDependent module /usr/lib/libcrypto.a(libcrypto.so.1.0.2) could not be loaded.\n\tMember libcrypto.so.1.0.2 is not found in archive \nCould not load module /opt/freeware/etc/httpd/modules/libphp7.so.\n\tDependent module /opt/freeware/lib/libldap.a(libldap-2.4.so.2) could not be loaded.
root@CFRSV50251003AP(/)#
Installed version :
root@CFRSV50251003AP(/)#rpm -qa | grep -i http
httpd-2.4.34-1
httpd-devel-2.4.34-1
httpd-manual-2.4.34-1
root@CFRSV50251003AP(/)#rpm -qa | grep -i php
php-7.0.30-1
php-common-7.0.30-1
php-cli-7.0.30-1
php-devel-7.0.30-1
If anyone face this same issue and have any solutions, kindly let me know.
also if you need any more outputs, let me know to share the same