Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - umer.shahzad60@gmail.com

Pages: [1]
1
PHP / Re: Enable PHP-LDAP extesion in php 5.6 (Centos 6)
« on: November 16, 2016, 11:15:02 AM »
Is this problem resolve or not if so than please tell me how i facing the same problem i can't enable ldap support

2
PHP / Re: Enable PHP-LDAP extesion in php 5.6 (Centos 6)
« on: November 16, 2016, 10:48:23 AM »
So hopefully with a little more info someone can help.

Here is my php path and version:
Code: [Select]
[root@D-APP03 /]# which php
/usr/local/bin/php
[root@D-APP03 /]# cd /usr/local/bin/
[root@D-APP03 bin]# ./php -v
PHP 5.6.25 (cli) (built: Aug 31 2016 14:34:48)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies

And I tried a ./configure (from the path /tmp/php-build/php-5.6.25/ - not sure that's the right path) with the following:
Code: [Select]
./configure
--prefix=/opt/alt/php56/usr
--with-zlib
--enable-soap
--enable-exif
--with-config-file-path=/opt/alt/php56/usr/php
--with-config-file-scan-dir=/opt/alt/php56/usr/php/php.d
--enable-phar
--enable-bcmath
--enable-calendar
--with-curl
--with-iconv
--with-mysql
--with-mysqli
--with-mysql=mysqlnd
--with-mysqli=mysqlnd
--with-mcrypt
--with-gettext
--with-xsl
--with-xmlrpc
--with-pdo-mysql=mysqlnd
--enable-posix
--enable-ftp
--with-openssl
--enable-mbstring
--with-jpeg-dir=/usr
--with-freetype-dir=/usr
--with-kerberos
--with-xsl
--with-bz2
--enable-sockets
--enable-zip
--with-gd
--with-imap
--with-imap-ssl
--enable-sockets
--with-pcre-regex
--libdir=/usr/lib64
--with-mysql-sock=/var/lib/mysql/mysql.sock
--with-ldap
--with-libdir=lib64

Then I did a make, and make install from the same path.
Then restarted Apache

And a php -v still shows the same version that states "built: Aug 31 2016 14:34:48"
And php -m lists all the modules, but LDAP is not in the list.

What am I doing wrong?
Thanks!

Steve
i facing the same problem are you solve this problem if solve than please update me how

Pages: [1]