The problem is as follows:Workaround:1, first check the source code installed PHP module whether there is ldap.so[Email protected] ldap]# ll/usr/local/php/lib/php/extensions/no-debug-non-zts-20160303/Total 1576-rwxr-xr-x 1 root root 129484 10:18
LDAP-Series-1-Chapter-3-PHP-LDAPIfyouwanttousePHPwithldap.Youhavetoaddtheextensionlib. (ldap. so) GototheinstallfileofPHP. $ cdoptphp-5.4.5extldap $ us LDAP-Series-1-Chapter-3-PHP-LDAP
If you want to use PHP with ldap. You have to add the extension
Ldap-series-1-chapter-3-Php-ldap
If you want the PHP with LDAP. You have to add the extension lib. (ldap.so)
Go to the install file of PHP.
$ cd/opt/php-5.4.5/ext/ldap/$/usr/local/bin/phpize$./configure--with-php-config=/usr/local/bin/php-config--
First, if the source code is compiled[Email protected] php-7.2. 7 ls /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.a opcache.so# An alarm occurs because the LDAP module does not exist and needs to be compiled to generate the
PHP$ldap _host= "Ldap://serverip";//LDAP Server Address$ldap _port= "389";//LDAP Server port number//user name password RDN login$ldap _user= "[Email protected];virtualdomain=mail.com;o=account;dc=org";//Setting the login DN$ldap _pwd=
The LDAP-Series-1-Chapter-3-PHP-LDAPIfyouwanttousePHPwithldap.Youhavetoaddtheextensionlib. (ldap. so) GototheinstallfileofPHP. $ cdoptphp-5.4.5extldap $ usrl LDAP-Series-1-Chapter-3-PHP-LDAP
If you want to use PHP with ldap. You have to add the
[Root@jbxue ~]# Yum Install php-gd*
Setting up Install Process
Setting up repositories
Base 100% |=========================| 951 B 00:00
Update 100% |=========================| 951 B 00:00
Reading repository metadata in from
PHP service installation summary system environment information CentOSrelease6.3 (Final) VMware? Workstation9.0.0build-812388rpm installation package preparation ????? 1. Copy the following installation package from the CD to the specified directory
PHP service installation summary system environment information CentOSrelease6.3 (Final) VMware? Workstation9.0.0build-812388rpm installation package preparation ????? 1. Copy the following installation package from the CD to the specified directory
PHP Service Installation Summary
System Environment Information
CentOS Release 6.3 (Final)
Vmware? Workstation 9.0.0 build-812388
RPM Installation Package Preparation
????? 1 Copy the following installation package from the CD to the
Install PHP environment under CentOS
|
Browse:3831
|
Updated: 2014-11-04 17:01
1
2
3
Step through ReadingOn the internet to see a lot, many can not be used, so the practice can be used, the
When the Yum source installs the dependency package, the error is as follows:--Processing Dependency:php-common = 5.1.6-45.el5_11 for Package:php-xml---> Package php-xmlrpc.i386 0:5.1.6-45.el5_11 Set updated--Processing Dependency:php-common = 5.1.6-
If you use Active Directory (Active Directory) instead of creating an account in a database table, you can use an account from the original Windows network.
LDAP, a Lightweight Directory Access Protocol (PROTOCOL), is a protocol used to access
China official Mirror website: http://centos.ustc.edu.cn/
/* Use instructions * *
cd/etc/yum.repos.d[into the YUM.REPOS.D directory]
MV Centos-base.repo centos-base.repo.save[Modify source file name Backup]
wget http://centos.ustc.edu.cn/centos-base.
Suitable for Redhat in 32-bit and 64-bit, if local source is erected. Don't dwell on it here.1 Installing Apache+php+mysqlA, install APAHCE, PHP, MySQL, and PHP connection MySQL library components yum-y install httpd php mysql mysql-server
First of all, my practice configuration, centos6.5 (64-bit), networkingPrepare before installation: Turn off Firewall service iptables stop
Install MySQL
Open terminal, root user
1
yum install mysql mysql-server
The following is a collection of common maintenance commands for linux servers. I hope this command will be helpful to you.
Change the time zone to Zone 8, Shanghai
1 cp/usr/share/zoneinfo/Asia/Shanghai/etc/localtimeModify host name
1 # modify the
Fedora17 Configure Nginx + Mysql + php 1. install Mysql5
yum install mysql mysql-serverchkconfig --levels 235 mysqld on
Start
/etc/init.d/mysqld start
Check whether startup is enabled
netstat -tap | grep mysql
When mysql cannot be
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.