mysql8安装时依赖libsasl2.so.2()(64bit)

我在一个离线环境(redhat 7)里安装mysql8 rpm包,安装到server时提示需要依赖libsasl2.so.2()(64bit),经搜索发现这个包是cyrus-sasl-lib包的内容,版本是cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64(看起来像redhat 6的版本)。但是我本机已安装了版本是cyrus-sasl-lib-2.1.26,有libsasl2.so.3 。我不知道是什么问题,请教大家怎么解决?

beyondmch
挂枝向东南 回复qwerokok: 应考虑是安装包和系统版本不一致的问题
5 个月之前 回复
beyondmch
挂枝向东南 应考虑是安装包和系统版本不一致的问题
5 个月之前 回复
qwerokok
qwerokok 请问怎么解决的?
5 个月之前 回复

2个回答

应考虑是安装包和系统版本不一致的问题

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
yum install mysql-community-server 安装mysql 报错求大神帮忙!!!!

[root@11 mysql]# yum install mysql-community-server Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile Resolving Dependencies --> Running transaction check ---> Package mysql-community-server.x86_64 0:8.0.16-1.el7 will be installed --> Processing Dependency: mysql-community-common(x86-64) = 8.0.16-1.el7 for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: mysql-community-client(x86-64) >= 8.0.11 for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: systemd for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: systemd for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.17)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(CXXABI_1.3.7)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libsasl2.so.3()(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Running transaction check ---> Package mysql-community-client.x86_64 0:8.0.16-1.el7 will be installed --> Processing Dependency: mysql-community-libs(x86-64) >= 8.0.11 for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 ---> Package mysql-community-common.x86_64 0:8.0.16-1.el7 will be installed ---> Package mysql-community-server.x86_64 0:8.0.16-1.el7 will be installed --> Processing Dependency: systemd for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: systemd for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.17)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(CXXABI_1.3.7)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libsasl2.so.3()(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Running transaction check ---> Package mysql-community-client.x86_64 0:8.0.16-1.el7 will be installed --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 --> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: mysql-community-client-8.0.16-1.el7.x86_64 ---> Package mysql-community-libs.x86_64 0:8.0.16-1.el7 will be installed --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: mysql-community-libs-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: mysql-community-libs-8.0.16-1.el7.x86_64 --> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: mysql-community-libs-8.0.16-1.el7.x86_64 ---> Package mysql-community-server.x86_64 0:8.0.16-1.el7 will be installed --> Processing Dependency: systemd for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: systemd for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.17)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(CXXABI_1.3.7)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Processing Dependency: libsasl2.so.3()(64bit) for package: mysql-community-server-8.0.16-1.el7.x86_64 --> Finished Dependency Resolution Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) Error: Package: mysql-community-client-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(CXXABI_1.3.5)(64bit) Error: Package: mysql-community-client-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community) Requires: systemd Error: Package: mysql-community-libs-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(CXXABI_1.3.5)(64bit) Error: Package: mysql-community-libs-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) Error: Package: mysql-community-client-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libc.so.6(GLIBC_2.14)(64bit) Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(CXXABI_1.3.7)(64bit) Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libsasl2.so.3()(64bit) Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(GLIBCXX_3.4.14)(64bit) Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libc.so.6(GLIBC_2.17)(64bit) Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) Error: Package: mysql-community-client-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(GLIBCXX_3.4.19)(64bit) Error: Package: mysql-community-client-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(CXXABI_1.3.5)(64bit) Error: Package: mysql-community-libs-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libc.so.6(GLIBC_2.14)(64bit) Error: Package: mysql-community-server-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(GLIBCXX_3.4.17)(64bit) Error: Package: mysql-community-client-8.0.16-1.el7.x86_64 (mysql80-community) Requires: libstdc++.so.6(GLIBCXX_3.4.18)(64bit) You could try using --skip-broken to work around the problem ** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows: 2:postfix-2.6.6-8.el6.x86_64 has missing requires of libmysqlclient.so.16()(64bit) 2:postfix-2.6.6-8.el6.x86_64 has missing requires of libmysqlclient.so.16(libmysqlclient_16)(64bit) 2:postfix-2.6.6-8.el6.x86_64 has missing requires of mysql-libs

linux下安装Mysql5.7出现的问题,搞了一天了!

出现了如下问题: --> Finished Dependency Resolution Error: Package: mysql-community-server-5.7.20-1.el7.x86_64 (mysql57-community) Requires: libsasl2.so.3()(64bit) Error: Package: mysql-community-client-5.7.20-1.el7.x86_64 (mysql57-community) Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) Error: Package: mysql-community-libs-5.7.20-1.el7.x86_64 (mysql57-community) Requires: libc.so.6(GLIBC_2.14)(64bit) Error: Package: mysql-community-server-5.7.20-1.el7.x86_64 (mysql57-community) Requires: systemd Error: Package: mysql-community-server-5.7.20-1.el7.x86_64 (mysql57-community) Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit) Error: Package: mysql-community-client-5.7.20-1.el7.x86_64 (mysql57-community) Requires: libc.so.6(GLIBC_2.14)(64bit) Error: Package: mysql-community-server-5.7.20-1.el7.x86_64 (mysql57-community) Requires: libc.so.6(GLIBC_2.17)(64bit) 试着装了一次mysql5.6没有问题,但是装5.7却出现了这个问题,求助!!

PHP:加载共享库时出错:libmysqlclient.so.18

<div class="post-text" itemprop="text"> <p>I'm Set Crontab :</p> <pre><code>[root@root mysql]# crontab -l 5 * * * * php /home/admin/public_html/scheduleSendMail.php </code></pre> <p>But Not Execute PHP code!</p> <pre><code>[root@root mysql]# php /home/admin/public_html/scheduleSendMail.php php: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory [root@root mysql]# rpm -qR postfix </code></pre> <p>find :</p> <pre><code>.. libmysqlclient.so.16 libmysqlclient.so.16(libmysqlclient_16) .. </code></pre> <p>I am using the Centos And DirectAdmin</p> <pre><code>PHP v: php-5.3.3-14.el6_3.i686 mysql v: mysql-5.1.66-2.el6_3.i686 centos v: CentOS release 6.3 (Final) </code></pre> </div>

内存泄露的问题 ???????????

sql=insert into FACE_TEMPLATE_7(User_PIN,Face_ID,Size,Valid,Template,MODIFY_TIME) values('64758',11,1640,95,'insert into FACE_TEMPLATE_7(User_ PIN,Face_ID,Size,Valid,Template,MODIFY_TIME) values('64758',11,1640,95,'insert into FACE_TE','1431589433'); 2015-05-14 15:43:54 :: Query: execute: prepare query failed: near "64758": syntax error(1) (QUERY: "insert into FACE_TEMPLATE_7(User_PIN,Face_ID,Size,Valid,Template,MODIFY_TIME) values('64758',11,1640,95,'insert into FACE_TEMPLATE_7 (User_PIN,Face_ID,Size,Valid,Template,MODIFY_TIME) values('64758',11,1640,95,'insert into FACE_TE','1431589433');") resultres=6 *** glibc detected *** bin/QYtest: free(): invalid pointer: 0x00007fff85267328 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x75e66)[0x7f0ff017de66] /usr/lib64/libstdc++.so.6(_ZNSsD1Ev+0x39)[0x7f0ff09d34c9] bin/QYtest[0x40dcba] bin/QYtest[0x40521d] /lib64/libc.so.6(+0x326a0)[0x7f0ff013a6a0] bin/QYtest[0x411b05] /lib64/libc.so.6(__libc_start_main+0xfd)[0x7f0ff0126d5d] bin/QYtest[0x403029] ======= Memory map: ======== 00400000-00419000 r-xp 00000000 fd:00 1441864 /root/curl/bin/QYtest 00618000-00619000 rw-p 00018000 fd:00 1441864 /root/curl/bin/QYtest 01122000-0174a000 rw-p 00000000 00:00 0 [heap] 7f0febd9b000-7f0febda0000 r-xp 00000000 fd:00 1441818 /lib64/libnss_dns-2.12.so 7f0febda0000-7f0febf9f000 ---p 00005000 fd:00 1441818 /lib64/libnss_dns-2.12.so 7f0febf9f000-7f0febfa0000 r--p 00004000 fd:00 1441818 /lib64/libnss_dns-2.12.so 7f0febfa0000-7f0febfa1000 rw-p 00005000 fd:00 1441818 /lib64/libnss_dns-2.12.so 7f0febfa1000-7f0febfad000 r-xp 00000000 fd:00 1449307 /lib64/libnss_files-2.12.so 7f0febfad000-7f0fec1ad000 ---p 0000c000 fd:00 1449307 /lib64/libnss_files-2.12.so 7f0fec1ad000-7f0fec1ae000 r--p 0000c000 fd:00 1449307 /lib64/libnss_files-2.12.so 7f0fec1ae000-7f0fec1af000 rw-p 0000d000 fd:00 1449307 /lib64/libnss_files-2.12.so 7f0fec1af000-7f0fec1b1000 r-xp 00000000 fd:00 1442467 /lib64/libfreebl3.so 7f0fec1b1000-7f0fec3b0000 ---p 00002000 fd:00 1442467 /lib64/libfreebl3.so 7f0fec3b0000-7f0fec3b1000 r--p 00001000 fd:00 1442467 /lib64/libfreebl3.so 7f0fec3b1000-7f0fec3b2000 rw-p 00002000 fd:00 1442467 /lib64/libfreebl3.so 7f0fec3b2000-7f0fec3cf000 r-xp 00000000 fd:00 1477397 /lib64/libselinux.so.1 7f0fec3cf000-7f0fec5ce000 ---p 0001d000 fd:00 1477397 /lib64/libselinux.so.1 7f0fec5ce000-7f0fec5cf000 r--p 0001c000 fd:00 1477397 /lib64/libselinux.so.1 7f0fec5cf000-7f0fec5d0000 rw-p 0001d000 fd:00 1477397 /lib64/libselinux.so.1 7f0fec5d0000-7f0fec5d1000 rw-p 00000000 00:00 0 7f0fec5d1000-7f0fec5d8000 r-xp 00000000 fd:00 1441808 /lib64/libcrypt-2.12.so 7f0fec5d8000-7f0fec7d8000 ---p 00007000 fd:00 1441808 /lib64/libcrypt-2.12.so 7f0fec7d8000-7f0fec7d9000 r--p 00007000 fd:00 1441808 /lib64/libcrypt-2.12.so 7f0fec7d9000-7f0fec7da000 rw-p 00008000 fd:00 1441808 /lib64/libcrypt-2.12.so 7f0fec7da000-7f0fec808000 rw-p 00000000 00:00 0 7f0fec808000-7f0fec9c1000 r-xp 00000000 fd:00 919530 /usr/lib64/libcrypto.so.1.0.1e 7f0fec9c1000-7f0fecbc0000 ---p 001b9000 fd:00 919530 /usr/lib64/libcrypto.so.1.0.1e 7f0fecbc0000-7f0fecbdb000 r--p 001b8000 fd:00 919530 /usr/lib64/libcrypto.so.1.0.1e 7f0fecbdb000-7f0fecbe7000 rw-p 001d3000 fd:00 919530 /usr/lib64/libcrypto.so.1.0.1e 7f0fecbe7000-7f0fecbeb000 rw-p 00000000 00:00 0 7f0fecbeb000-7f0fecc4d000 r-xp 00000000 fd:00 920767 /usr/lib64/libssl.so.1.0.1e 7f0fecc4d000-7f0fece4c000 ---p 00062000 fd:00 920767 /usr/lib64/libssl.so.1.0.1e 7f0fece4c000-7f0fece50000 r--p 00061000 fd:00 920767 /usr/lib64/libssl.so.1.0.1e 7f0fece50000-7f0fece57000 rw-p 00065000 fd:00 920767 /usr/lib64/libssl.so.1.0.1e 7f0fece57000-7f0fece59000 r-xp 00000000 fd:00 1441978 /lib64/libkeyutils.so.1.3 7f0fece59000-7f0fed058000 ---p 00002000 fd:00 1441978 /lib64/libkeyutils.so.1.3 7f0fed058000-7f0fed059000 r--p 00001000 fd:00 1441978 /lib64/libkeyutils.so.1.3 7f0fed059000-7f0fed05a000 rw-p 00002000 fd:00 1441978 /lib64/libkeyutils.so.1.3 7f0fed05a000-7f0fed064000 r-xp 00000000 fd:00 1442473 /lib64/libkrb5support.so.0.1 7f0fed064000-7f0fed263000 ---p 0000a000 fd:00 1442473 /lib64/libkrb5support.so.0.1 7f0fed263000-7f0fed264000 r--p 00009000 fd:00 1442473 /lib64/libkrb5support.so.0.1 7f0fed264000-7f0fed265000 rw-p 0000a000 fd:00 1442473 /lib64/libkrb5support.so.0.1 7f0fed265000-7f0fed27e000 r-xp 00000000 fd:00 918561 /usr/lib64/libsasl2.so.2.0.23 7f0fed27e000-7f0fed47d000 ---p 00019000 fd:00 918561 /usr/lib64/libsasl2.so.2.0.23 7f0fed47d000-7f0fed47e000 r--p 00018000 fd:00 918561 /usr/lib64/libsasl2.so.2.0.23 7f0fed47e000-7f0fed47f000 rw-p 00019000 fd:00 918561 /usr/lib64/libsasl2.so.2.0.23 7f0fed47f000-7f0fed495000 r-xp 00000000 fd:00 1449309 /lib64/libresolv-2.12.so 7f0fed495000-7f0fed695000 ---p 00016000 fd:00 1449309 /lib64/libresolv-2.12.so 7f0fed695000-7f0fed696000 r--p 00016000 fd:00 1449309 /lib64/libresolv-2.12.so 7f0fed696000-7f0fed697000 rw-p 00017000 fd:00 1449309 /lib64/libresolv-2.12.so 7f0fed697000-7f0fed699000 rw-p 00000000 00:00 0 7f0fed699000-7f0fed6a7000 r-xp 00000000 fd:00 1442468 /lib64/liblber-2.4.so.2.10.2 7f0fed6a7000-7f0fed8a6000 ---p 0000e000 fd:00 1442468 /lib64/liblber-2.4.so.2.10.2 7f0fed8a6000-7f0fed8a7000 r--p 0000d000 fd:00 1442468 /lib64/liblber-2.4.so.2.10.2 7f0fed8a7000-7f0fed8a8000 rw-p 0000e000 fd:00 1442468 /lib64/liblber-2.4.so.2.10.2 7f0fed8a8000-7f0fed8cf000 r-xp 00000000 fd:00 919603 /usr/lib64/libssh2.so.1.0.1 7f0fed8cf000-7f0fedace000 ---p 00027000 fd:00 919603 /usr/lib64/libssh2.so.1.0.1 7f0fedace000-7f0fedad0000 rw-p 00026000 fd:00 919603 /usr/lib64/libssh2.so.1.0.1 7f0fedad0000-7f0fedad2000 r-xp 00000000 fd:00 1449303 /lib64/libdl-2.12.so 7f0fedad2000-7f0fedcd2000 ---p 00002000 fd:00 1449303 /lib64/libdl-2.12.so 7f0fedcd2000-7f0fedcd3000 r--p 00002000 fd:00 1449303 /lib64/libdl-2.12.soAborted

PHP-FPM进程正在增长并且内存越来越多

<div class="post-text" itemprop="text"> <p>I have some process of php-fpm always growing.</p> <p>Showing the memory used (with ps command) shows this.</p> <p>I have tried two things: </p> <p>1) strace, but there's tons and tons of information. It's a Symfony framework and I see tons of files being accessed or opened, but no clue at all. Neverending log ... each 1 or 2 or 3 seconds, it shows 2000 lines of trace suddenly.</p> <p>I see this:</p> <pre><code>fstat(7, {st_mode=S_IFREG|0644, st_size=1029, ...}) = 0 fstat(7, {st_mode=S_IFREG|0644, st_size=1029, ...}) = 0 fstat(7, {st_mode=S_IFREG|0644, st_size=1029, ...}) = 0 mmap(NULL, 1029, PROT_READ, MAP_SHARED, 7, 0) = 0x7f88da53d000 munmap(0x7f88da53d000, 1029) = 0 close(7) = 0 chdir("/") = 0 clock_gettime(CLOCK_MONOTONIC, {21720, 148391054}) = 0 times({tms_utime=6933, tms_stime=7614, tms_cutime=0, tms_cstime=0}) = 1720128933 close(11) = 0 setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0 umask(022) = 0 sendto(12, "\1\0\0\0\1", 5, MSG_DONTWAIT, NULL, 0) = 5 close(12) = 0 fcntl(6, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0 munmap(0x7f88ba000000, 2097152) = 0 setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0 clock_gettime(CLOCK_MONOTONIC, {21720, 149294252}) = 0 accept(0, </code></pre> <p>then it stops for 1-5 seconds, and the it shows 2000 lines of a lot of lstat files of the framework... houndreds of blocks like this one (this is ONE as example, but all blocks are <strong>different</strong></p> <pre><code>lstat("/var/www/vhosts/mywebsite.com/vendor/composer/../symfony/swiftmailer-bundle/DependencyInjection/SmtpTransportConfigurator.php", {st_mode=S_IFREG|0644, st_size=1029, ...}) = 0 lstat("/var/www/vhosts/mywebsite.com/vendor/composer/../symfony/swiftmailer-bundle/DependencyInjection", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/var/www/vhosts/mywebsite.com/vendor/composer/../symfony/swiftmailer-bundle", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/var/www/vhosts/mywebsite.com/vendor/composer/../symfony", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/var/www/vhosts/mywebsite.com/vendor/composer", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/var/www/vhosts/mywebsite.com/vendor", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/var/www/vhosts/mywebsite.com", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 lstat("/var/www/vhosts/mywebsite.com", {st_mode=S_IFDIR|0710, st_size=4096, ...}) = 0 lstat("/var/www/vhosts", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/var/www", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat("/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 </code></pre> <p>2) lsof but I can't get information of what script is, or why.</p> <pre><code>COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME php-fpm 25690 www_plesk cwd DIR 202,1 4096 2 / php-fpm 25690 www_plesk rtd DIR 202,1 4096 2 / php-fpm 25690 www_plesk txt REG 202,1 4821232 1537261 /opt/plesk/php/7.2/sbin/php-fpm php-fpm 25690 www_plesk DEL REG 0,5 1406882 /dev/zero php-fpm 25690 www_plesk DEL REG 0,5 1406876 /dev/zero php-fpm 25690 www_plesk mem REG 202,1 27000 1985 /lib/x86_64-linux-gnu/libnss_dns-2.23.so php-fpm 25690 www_plesk mem REG 202,1 26258 24695 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache php-fpm 25690 www_plesk DEL REG 0,5 1406861 /dev/zero php-fpm 25690 www_plesk mem REG 202,1 47600 1991 /lib/x86_64-linux-gnu/libnss_files-2.23.so php-fpm 25690 www_plesk mem REG 202,1 47648 1995 /lib/x86_64-linux-gnu/libnss_nis-2.23.so php-fpm 25690 www_plesk mem REG 202,1 93128 1968 /lib/x86_64-linux-gnu/libnsl-2.23.so php-fpm 25690 www_plesk mem REG 202,1 35688 1983 /lib/x86_64-linux-gnu/libnss_compat-2.23.so php-fpm 25690 www_plesk mem REG 202,1 134624 1328699 /opt/plesk/php/7.2/lib/php/modules/zip.so php-fpm 25690 www_plesk mem REG 202,1 247952 50760 /usr/lib/x86_64-linux-gnu/libxslt.so.1.1.28 php-fpm 25690 www_plesk mem REG 202,1 83816 50761 /usr/lib/x86_64-linux-gnu/libexslt.so.0.8.17 php-fpm 25690 www_plesk mem REG 202,1 31752 1328672 /opt/plesk/php/7.2/lib/php/modules/xsl.so php-fpm 25690 www_plesk mem REG 202,1 47816 1328671 /opt/plesk/php/7.2/lib/php/modules/xmlwriter.so php-fpm 25690 www_plesk mem REG 202,1 81096 1328675 /opt/plesk/php/7.2/lib/php/modules/xmlrpc.so php-fpm 25690 www_plesk mem REG 202,1 31528 1328674 /opt/plesk/php/7.2/lib/php/modules/xmlreader.so php-fpm 25690 www_plesk mem REG 202,1 383544 53078 /usr/lib/libtidy-0.99.so.0.0.0 php-fpm 25690 www_plesk mem REG 202,1 52360 1328682 /opt/plesk/php/7.2/lib/php/modules/tidy.so php-fpm 25690 www_plesk mem REG 202,1 14792 1328666 /opt/plesk/php/7.2/lib/php/modules/sysvshm.so php-fpm 25690 www_plesk mem REG 202,1 10600 1328667 /opt/plesk/php/7.2/lib/php/modules/sysvsem.so php-fpm 25690 www_plesk mem REG 202,1 14888 1328669 /opt/plesk/php/7.2/lib/php/modules/sysvmsg.so php-fpm 25690 www_plesk mem REG 202,1 998080 1328679 /opt/plesk/php/7.2/lib/php/modules/sqlite3.so php-fpm 25690 www_plesk mem REG 202,1 303432 1328693 /opt/plesk/php/7.2/lib/php/modules/soap.so php-fpm 25690 www_plesk mem REG 202,1 695312 51937 /usr/lib/x86_64-linux-gnu/libaspell.so.15.2.0 php-fpm 25690 www_plesk mem REG 202,1 23080 1328670 /opt/plesk/php/7.2/lib/php/modules/pspell.so php-fpm 25690 www_plesk mem REG 202,1 35816 1328668 /opt/plesk/php/7.2/lib/php/modules/posix.so php-fpm 25690 www_plesk mem REG 202,1 270512 1328697 /opt/plesk/php/7.2/lib/php/modules/phar.so php-fpm 25690 www_plesk mem REG 202,1 139048 1328680 /opt/plesk/php/7.2/lib/php/modules/pgsql.so php-fpm 25690 www_plesk mem REG 202,1 27896 1328677 /opt/plesk/php/7.2/lib/php/modules/pdo_sqlite.so php-fpm 25690 www_plesk mem REG 202,1 194544 9381 /usr/lib/x86_64-linux-gnu/libpq.so.5.8 php-fpm 25690 www_plesk mem REG 202,1 44600 1328681 /opt/plesk/php/7.2/lib/php/modules/pdo_pgsql.so php-fpm 25690 www_plesk mem REG 202,1 27768 1328687 /opt/plesk/php/7.2/lib/php/modules/pdo_odbc.so php-fpm 25690 www_plesk mem REG 202,1 31672 1328684 /opt/plesk/php/7.2/lib/php/modules/pdo_mysql.so php-fpm 25690 www_plesk mem REG 202,1 110168 1328678 /opt/plesk/php/7.2/lib/php/modules/pdo.so php-fpm 25690 www_plesk mem REG 202,1 427552 51744 /usr/lib/x86_64-linux-gnu/libodbc.so.2.0.0 php-fpm 25690 www_plesk mem REG 202,1 68680 1328686 /opt/plesk/php/7.2/lib/php/modules/odbc.so php-fpm 25690 www_plesk mem REG 202,1 134296 1328683 /opt/plesk/php/7.2/lib/php/modules/mysqli.so php-fpm 25690 www_plesk mem REG 202,1 1674464 1328665 /opt/plesk/php/7.2/lib/php/modules/mbstring.so php-fpm 25690 www_plesk mem REG 202,1 72872 1328691 /opt/plesk/php/7.2/lib/php/modules/ldap.so php-fpm 25690 www_plesk mem REG 202,1 43624 1328700 /opt/plesk/php/7.2/lib/php/modules/json.so php-fpm 25690 www_plesk mem REG 202,1 55304 25752 /usr/lib/x86_64-linux-gnu/libicuio.so.55.1 php-fpm 25690 www_plesk mem REG 202,1 2496856 25754 /usr/lib/x86_64-linux-gnu/libicui18n.so.55.1 php-fpm 25690 www_plesk mem REG 202,1 482160 1328692 /opt/plesk/php/7.2/lib/php/modules/intl.so php-fpm 25690 www_plesk mem REG 202,1 117288 2603 /lib/x86_64-linux-gnu/libaudit.so.1.0.0 php-fpm 25690 www_plesk mem REG 202,1 55904 21215 /lib/x86_64-linux-gnu/libpam.so.0.83.1 php-fpm 25690 www_plesk mem REG 202,1 1100216 50574 /usr/lib/libc-client.so.2007e.0 php-fpm 25690 www_plesk mem REG 202,1 89480 1328695 /opt/plesk/php/7.2/lib/php/modules/imap.so php-fpm 25690 www_plesk mem REG 202,1 166032 1979 /lib/x86_64-linux-gnu/libexpat.so.1.6.0 php-fpm 25690 www_plesk mem REG 202,1 39272 50718 /usr/lib/x86_64-linux-gnu/libltdl.so.7.3.1 php-fpm 25690 www_plesk mem REG 202,1 73640 25834 /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0 php-fpm 25690 www_plesk mem REG 202,1 273832 51273 /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.9.0 php-fpm 25690 www_plesk mem REG 202,1 2087104 51314 /usr/lib/x86_64-linux-gnu/libfftw3.so.3.4.4 php-fpm 25690 www_plesk mem REG 202,1 96504 51337 /usr/lib/x86_64-linux-gnu/liblqr-1.so.0.3.2 php-fpm 25690 www_plesk mem REG 202,1 353392 51331 /usr/lib/x86_64-linux-gnu/liblcms2.so.2.0.6 php-fpm 25690 www_plesk mem REG 202,1 138448 51307 /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0 php-fpm 25690 www_plesk mem REG 202,1 2707304 9717 /usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.2.0.0 php-fpm 25690 www_plesk mem REG 202,1 1200744 6527 /usr/lib/x86_64-linux-gnu/libMagickWand-6.Q16.so.2.0.0 php-fpm 25690 www_plesk mem REG 202,1 426816 1328701 /opt/plesk/php/7.2/lib/php/modules/imagick.so php-fpm 25690 www_plesk mem REG 202,1 22640 25828 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 php-fpm 25690 www_plesk mem REG 202,1 14456 25826 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 php-fpm 25690 www_plesk mem REG 202,1 137728 25830 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 php-fpm 25690 www_plesk mem REG 202,1 1285552 25832 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 php-fpm 25690 www_plesk mem REG 202,1 694800 25840 /usr/lib/x86_64-linux-gnu/libfreetype.so.6.12.1 php-fpm 25690 www_plesk mem REG 202,1 363264 51325 /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2 php-fpm 25690 www_plesk mem REG 202,1 149904 2138 /lib/x86_64-linux-gnu/libpng12.so.0.54.0 php-fpm 25690 www_plesk mem REG 202,1 72520 51670 /usr/lib/x86_64-linux-gnu/libXpm.so.4.11.0 php-fpm 25690 www_plesk mem REG 202,1 389088 1328694 /opt/plesk/php/7.2/lib/php/modules/gd.so php-fpm 25690 www_plesk mem REG 202,1 5045800 1328698 /opt/plesk/php/7.2/lib/php/modules/fileinfo.so php-fpm 25690 www_plesk mem REG 202,1 1115136 2154 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2 php-fpm 25690 www_plesk mem REG 202,1 14656 25804 /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4800.2 php-fpm 25690 www_plesk mem REG 202,1 46944 52829 /usr/lib/x86_64-linux-gnu/libenchant.so.1.6.0 php-fpm 25690 www_plesk mem REG 202,1 23904 1328688 /opt/plesk/php/7.2/lib/php/modules/enchant.so php-fpm 25690 www_plesk mem REG 202,1 172216 1328673 /opt/plesk/php/7.2/lib/php/modules/dom.so php-fpm 25690 www_plesk mem REG 202,1 1756696 24914 /usr/lib/x86_64-linux-gnu/libdb-5.3.so php-fpm 25690 www_plesk mem REG 202,1 52776 1328690 /opt/plesk/php/7.2/lib/php/modules/dba.so php-fpm 25690 www_plesk mem REG 202,1 39224 1997 /lib/x86_64-linux-gnu/libcrypt-2.23.so php-fpm 25690 www_plesk mem REG 202,1 870240 25802 /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6 php-fpm 25690 www_plesk mem REG 202,1 304072 25885 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0 php-fpm 25690 www_plesk mem REG 202,1 60928 25881 /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0 php-fpm 25690 www_plesk mem REG 202,1 166128 25883 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0 php-fpm 25690 www_plesk mem REG 202,1 31104 25780 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4 php-fpm 25690 www_plesk mem REG 202,1 89904 25873 /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0 php-fpm 25690 www_plesk mem REG 202,1 204168 25878 /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0 php-fpm 25690 www_plesk mem REG 202,1 661872 25875 /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0 php-fpm 25690 www_plesk mem REG 202,1 560808 25887 /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0 php-fpm 25690 www_plesk mem REG 202,1 35920 25889 /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0 php-fpm 25690 www_plesk mem REG 202,1 14256 2172 /lib/x86_64-linux-gnu/libkeyutils.so.1.5 php-fpm 25690 www_plesk mem REG 202,1 76192 25740 /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1 php-fpm 25690 www_plesk mem REG 202,1 408472 25738 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0 php-fpm 25690 www_plesk mem REG 202,1 264256 25891 /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0 php-fpm 25690 www_plesk mem REG 202,1 109296 25916 /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25 php-fpm 25690 www_plesk mem REG 202,1 43664 25861 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1 php-fpm 25690 www_plesk mem REG 202,1 14648 1960 /lib/x86_64-linux-gnu/libcom_err.so.2.1 php-fpm 25690 www_plesk mem REG 202,1 186872 25865 /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1 php-fpm 25690 www_plesk mem REG 202,1 860392 25867 /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3 php-fpm 25690 www_plesk mem REG 202,1 219336 25734 /usr/lib/x86_64-linux-gnu/libnettle.so.6.2 php-fpm 25690 www_plesk mem REG 202,1 207640 25732 /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2 php-fpm 25690 www_plesk mem REG 202,1 1239440 25744 /usr/lib/x86_64-linux-gnu/libgnutls.so.30.6.2 php-fpm 25690 www_plesk mem REG 202,1 322928 10117 /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5 php-fpm 25690 www_plesk mem REG 202,1 59640 10118 /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5 php-fpm 25690 www_plesk mem REG 202,1 301376 25869 /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2 php-fpm 25690 www_plesk mem REG 202,1 113584 25923 /usr/lib/x86_64-linux-gnu/librtmp.so.1 php-fpm 25690 www_plesk mem REG 202,1 207208 25736 /usr/lib/x86_64-linux-gnu/libidn.so.11.6.15 php-fpm 25690 www_plesk mem REG 202,1 452992 10557 /usr/lib/x86_64-linux-gnu/libcurl.so.4.4.0 php-fpm 25690 www_plesk mem REG 202,1 89256 1287184 /opt/plesk/php/7.2/lib/php/modules/curl.so php-fpm 25690 www_plesk mem REG 202,1 35344 1328676 /opt/plesk/php/7.2/lib/php/modules/bcmath.so php-fpm 25690 www_plesk mem REG 202,1 256760 1328685 /opt/plesk/php/7.2/lib/php/modules/mysqlnd.so php-fpm 25690 www_plesk mem REG 202,1 15185280 2826090 /opt/dynatrace/oneagent/agent/lib64/liboneagentphp.so php-fpm 25690 www_plesk mem REG 202,1 4816792 2826084 /opt/dynatrace/oneagent/agent/lib64/liboneagentloader.so php-fpm 25690 www_plesk mem REG 202,1 438752 1328689 /opt/plesk/php/7.2/lib/php/modules/opcache.so php-fpm 25690 www_plesk mem REG 202,1 1385896 1283865 /opt/plesk/php/7.2/lib/php/modules/ioncube_loader_lin_7.2.so php-fpm 25690 www_plesk DEL REG 0,5 1406862 /dev/zero php-fpm 25690 www_plesk mem REG 202,1 1668976 28956 /usr/lib/locale/locale-archive php-fpm 25690 www_plesk mem REG 202,1 89696 1965 /lib/x86_64-linux-gnu/libgcc_s.so.1 php-fpm 25690 www_plesk mem REG 202,1 1566440 51083 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 php-fpm 25690 www_plesk mem REG 202,1 25913104 25753 /usr/lib/x86_64-linux-gnu/libicudata.so.55.1 php-fpm 25690 www_plesk mem REG 202,1 80496 2002 /lib/x86_64-linux-gnu/libgpg-error.so.0.17.0 php-fpm 25690 www_plesk mem REG 202,1 456632 2066 /lib/x86_64-linux-gnu/libpcre.so.3.13.2 php-fpm 25690 www_plesk mem REG 202,1 1636360 25757 /usr/lib/x86_64-linux-gnu/libicuuc.so.55.1 php-fpm 25690 www_plesk mem REG 202,1 919168 1001 /lib/x86_64-linux-gnu/libgcrypt.so.20.0.5 php-fpm 25690 www_plesk mem REG 202,1 137400 2004 /lib/x86_64-linux-gnu/liblzma.so.5.0.0 php-fpm 25690 www_plesk mem REG 202,1 130224 2073 /lib/x86_64-linux-gnu/libselinux.so.1 php-fpm 25690 www_plesk mem REG 202,1 18624 2107 /lib/x86_64-linux-gnu/libattr.so.1.1.0 php-fpm 25690 www_plesk mem REG 202,1 138696 1970 /lib/x86_64-linux-gnu/libpthread-2.23.so php-fpm 25690 www_plesk mem REG 202,1 1868984 1971 /lib/x86_64-linux-gnu/libc-2.23.so php-fpm 25690 www_plesk mem REG 202,1 2361856 21565 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 php-fpm 25690 www_plesk mem REG 202,1 428384 21561 /lib/x86_64-linux-gnu/libssl.so.1.0.0 php-fpm 25690 www_plesk mem REG 202,1 1809656 25949 /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.3 php-fpm 25690 www_plesk mem REG 202,1 31232 1987 /lib/x86_64-linux-gnu/libacl.so.1.1.0 php-fpm 25690 www_plesk mem REG 202,1 14608 1973 /lib/x86_64-linux-gnu/libdl-2.23.so php-fpm 25690 www_plesk mem REG 202,1 1088952 1967 /lib/x86_64-linux-gnu/libm-2.23.so php-fpm 25690 www_plesk mem REG 202,1 31712 1996 /lib/x86_64-linux-gnu/librt-2.23.so php-fpm 25690 www_plesk mem REG 202,1 104864 2120 /lib/x86_64-linux-gnu/libz.so.1.2.8 php-fpm 25690 www_plesk mem REG 202,1 66800 2111 /lib/x86_64-linux-gnu/libbz2.so.1.0.4 php-fpm 25690 www_plesk mem REG 202,1 522664 25784 /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0 php-fpm 25690 www_plesk mem REG 202,1 101200 1975 /lib/x86_64-linux-gnu/libresolv-2.23.so php-fpm 25690 www_plesk mem REG 202,1 548432 747 /lib/x86_64-linux-gnu/liboneagentproc.so php-fpm 25690 www_plesk mem REG 202,1 162632 1969 /lib/x86_64-linux-gnu/ld-2.23.so php-fpm 25690 www_plesk DEL REG 0,5 1406870 /dev/zero php-fpm 25690 www_plesk DEL REG 0,5 1406867 /dev/zero php-fpm 25690 www_plesk DEL REG 0,5 1406866 /dev/zero php-fpm 25690 www_plesk DEL REG 0,5 1406865 /dev/zero php-fpm 25690 www_plesk DEL REG 0,5 1406864 /dev/zero php-fpm 25690 www_plesk DEL REG 0,5 1406863 /dev/zero php-fpm 25690 www_plesk DEL REG 0,5 1406846 /dev/zero php-fpm 25690 www_plesk DEL REG 0,5 1406845 /dev/zero php-fpm 25690 www_plesk DEL REG 0,5 1406844 /dev/zero php-fpm 25690 www_plesk DEL REG 0,5 1406843 /dev/zero php-fpm 25690 www_plesk DEL REG 0,5 1406842 /dev/zero php-fpm 25690 www_plesk DEL REG 0,5 1406841 /dev/zero php-fpm 25690 www_plesk DEL REG 0,5 1406840 /dev/zero php-fpm 25690 www_plesk DEL REG 0,5 1406839 /dev/zero php-fpm 25690 www_plesk mem REG 202,1 536520 2093 /lib/x86_64-linux-gnu/libsystemd.so.0.14.0 php-fpm 25690 www_plesk 0u unix 0xffff8803a285a000 0t0 1406893 /var/www/vhosts/system/mywebsite.com/php-fpm.sock type=STREAM php-fpm 25690 www_plesk 1w FIFO 0,10 0t0 1407453 pipe php-fpm 25690 www_plesk 2w FIFO 0,10 0t0 1407454 pipe php-fpm 25690 www_plesk 3r CHR 1,9 0t0 11 /dev/urandom php-fpm 25690 www_plesk 4w CHR 1,8 0t0 10 /dev/random php-fpm 25690 www_plesk 6u REG 202,1 0 513276 /tmp/.ZendSem.1t93Xa (deleted) php-fpm 25690 www_plesk 8r CHR 1,9 0t0 11 /dev/urandom php-fpm 25690 www_plesk 9w FIFO 0,10 0t0 1406869 pipe php-fpm 25690 www_plesk 11u unix 0xffff8803a2bf8800 0t0 1418861 type=STREAM </code></pre> <p>Any other chance to get real information of the script running ?</p> <p>More info:</p> <p>part of the top</p> <pre><code>top - 21:13:22 up 6:11, 2 users, load average: 0.84, 0.92, 0.89 Tasks: 206 total, 1 running, 205 sleeping, 0 stopped, 0 zombie %Cpu(s): 15.5 us, 5.4 sy, 0.0 ni, 78.8 id, 0.1 wa, 0.0 hi, 0.2 si, 0.2 st KiB Mem : 16431376 total, 8608756 free, 2660328 used, 5162292 buff/cache KiB Swap: 1048572 total, 1048572 free, 0 used. 13156496 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 9573 www_p+ 20 0 631700 99808 54084 S 30.9 0.6 0:01.86 php-fpm 9645 www_p+ 20 0 603164 50004 27864 S 11.6 0.3 0:00.35 php 26995 www_p+ 20 0 773664 231460 43620 S 6.6 1.4 2:06.97 php-fpm 25685 www_p+ 20 0 778512 238372 43632 S 3.7 1.5 2:57.93 php-fpm 25688 www_p+ 20 0 793032 251636 42408 S 3.7 1.5 2:16.99 php-fpm 25940 www_p+ 20 0 789220 250440 45004 S 3.7 1.5 2:14.46 php-fpm 25690 www_p+ 20 0 861668 251364 47144 S 2.3 1.5 2:27.00 php-fpm 25831 www_p+ 20 0 862860 251556 46112 S 2.3 1.5 2:20.00 php-fpm </code></pre> <p>output of a strace of one of them (php-fpm) with -c attribute (10 seconds):</p> <pre><code>% time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ---------------- 63.17 0.018411 0 409063 700 lstat 27.45 0.008000 727 11 accept 2.45 0.000713 0 20071 fstat 2.00 0.000584 0 6582 mmap 1.45 0.000424 0 6905 close 1.21 0.000353 0 6872 open 1.04 0.000304 0 6588 munmap 0.38 0.000110 0 3065 clock_gettime 0.15 0.000043 0 247 lseek 0.15 0.000043 1 33 sendto 0.14 0.000041 0 912 read 0.09 0.000027 0 1214 gettimeofday 0.09 0.000026 3 9 brk 0.08 0.000022 0 383 31 stat 0.08 0.000022 0 706 288 access 0.07 0.000020 0 55 fcntl 0.00 0.000000 0 32 write 0.00 0.000000 0 384 poll 0.00 0.000000 0 88 rt_sigaction 0.00 0.000000 0 11 rt_sigprocmask 0.00 0.000000 0 22 ioctl 0.00 0.000000 0 6 madvise 0.00 0.000000 0 44 setitimer 0.00 0.000000 0 21 socket 0.00 0.000000 0 21 11 connect 0.00 0.000000 0 375 recvfrom 0.00 0.000000 0 11 shutdown 0.00 0.000000 0 22 setsockopt 0.00 0.000000 0 11 getsockopt 0.00 0.000000 0 11 getcwd 0.00 0.000000 0 22 chdir 0.00 0.000000 0 350 350 readlink 0.00 0.000000 0 33 umask 0.00 0.000000 0 22 times 0.00 0.000000 0 1 restart_syscall 0.00 0.000000 0 10 sendmmsg ------ ----------- ----------- --------- --------- ---------------- 100.00 0.029143 464213 1380 total </code></pre> <p>Notes: </p> <ul> <li>no crontabs involved</li> <li>if I kill one of those ram-consumer growing process, they start again (from about 30Mb, and grows again slowly ...) about 100Mb of growth each 15 minutes ....</li> </ul> </div>

如何在巨大的Apache / PHP驻留内存使用上找到罪魁祸首模块或脚本?

<div class="post-text" itemprop="text"> <p>System: Centos 5.3 x86_64, with Apache 2.2 and PHP 5.2 as module (with mysql and oracle connectors)</p> <p>How to debug memory usage / leaks ? dmalloc ? Valgrind ? auto_prepend_file ?</p> <p>We're looking at 500+ MB VSZ and 50+ MB RSS for example, but it can be somewhat higher. And as the instances add up, we end up needing much more memory than with SuSE 9.2 i386, Apache 2.0, PHP 5.2 and we are not sure if the 32-&gt;64 bits change is the only cause of inflated memory ... Apache and PHP look like a blackbox (or at least their heap :)</p> <pre><code>$ sudo pmap -d 31506 31506: /usr/sbin/httpd -DSSL Address Kbytes Mode Offset Device Mapping 00002b335c123000 308 r-x-- 0000000000000000 008:00005 httpd 00002b335c178000 28 r--s- 0000000000000000 008:00005 gconv-modules.cache 00002b335c1ee000 56 rw-s- 0000000000000000 000:00009 zero (deleted) 00002b335c1fc000 1024 rw--- 00002b335c1fc000 000:00000 [ anon ] 00002b335c370000 16 rw--- 000000000004d000 008:00005 httpd 00002b335c374000 12 rw--- 00002b335c374000 000:00000 [ anon ] 00002b335c377000 112 r-x-- 0000000000000000 008:00003 ld-2.5.so 00002b335c393000 4 rw--- 00002b335c393000 000:00000 [ anon ] 00002b335c39b000 1028 rw--- 00002b335c39b000 000:00000 [ anon ] 00002b335c592000 4 r---- 000000000001b000 008:00003 ld-2.5.so 00002b335c593000 4 rw--- 000000000001c000 008:00003 ld-2.5.so 00002b335c594000 520 r-x-- 0000000000000000 008:00003 libm-2.5.so 00002b335c616000 2044 ----- 0000000000082000 008:00003 libm-2.5.so 00002b335c815000 4 r---- 0000000000081000 008:00003 libm-2.5.so 00002b335c816000 4 rw--- 0000000000082000 008:00003 libm-2.5.so 00002b335c817000 108 r-x-- 0000000000000000 008:00003 libpcre.so.0.0.1 00002b335c832000 2048 ----- 000000000001b000 008:00003 libpcre.so.0.0.1 00002b335ca32000 4 rw--- 000000000001b000 008:00003 libpcre.so.0.0.1 00002b335ca33000 84 r-x-- 0000000000000000 008:00003 libselinux.so.1 00002b335ca48000 2048 ----- 0000000000015000 008:00003 libselinux.so.1 00002b335cc48000 8 rw--- 0000000000015000 008:00003 libselinux.so.1 00002b335cc4a000 8 rw--- 00002b335cc4a000 000:00000 [ anon ] 00002b335cc4c000 112 r-x-- 0000000000000000 008:00005 libaprutil-1.so.0.2.7 00002b335cc68000 2044 ----- 000000000001c000 008:00005 libaprutil-1.so.0.2.7 00002b335ce67000 8 rw--- 000000000001b000 008:00005 libaprutil-1.so.0.2.7 00002b335ce69000 36 r-x-- 0000000000000000 008:00003 libcrypt-2.5.so 00002b335ce72000 2044 ----- 0000000000009000 008:00003 libcrypt-2.5.so 00002b335d071000 4 r---- 0000000000008000 008:00003 libcrypt-2.5.so 00002b335d072000 4 rw--- 0000000000009000 008:00003 libcrypt-2.5.so 00002b335d073000 184 rw--- 00002b335d073000 000:00000 [ anon ] 00002b335d0a1000 224 r-x-- 0000000000000000 008:00005 libldap-2.3.so.0.2.31 00002b335d0d9000 2048 ----- 0000000000038000 008:00005 libldap-2.3.so.0.2.31 00002b335d2d9000 8 rw--- 0000000000038000 008:00005 libldap-2.3.so.0.2.31 00002b335d2db000 4 rw--- 00002b335d2db000 000:00000 [ anon ] 00002b335d2dc000 52 r-x-- 0000000000000000 008:00005 liblber-2.3.so.0.2.31 00002b335d2e9000 2048 ----- 000000000000d000 008:00005 liblber-2.3.so.0.2.31 00002b335d4e9000 4 rw--- 000000000000d000 008:00005 liblber-2.3.so.0.2.31 00002b335d4ea000 964 r-x-- 0000000000000000 008:00003 libdb-4.3.so 00002b335d5db000 2044 ----- 00000000000f1000 008:00003 libdb-4.3.so 00002b335d7da000 20 rw--- 00000000000f0000 008:00003 libdb-4.3.so 00002b335d7df000 128 r-x-- 0000000000000000 008:00003 libexpat.so.0.5.0 00002b335d7ff000 2044 ----- 0000000000020000 008:00003 libexpat.so.0.5.0 00002b335d9fe000 12 rw--- 000000000001f000 008:00003 libexpat.so.0.5.0 00002b335da01000 4 rw--- 00002b335da01000 000:00000 [ anon ] 00002b335da02000 152 r-x-- 0000000000000000 008:00005 libapr-1.so.0.2.7 00002b335da28000 2048 ----- 0000000000026000 008:00005 libapr-1.so.0.2.7 00002b335dc28000 4 rw--- 0000000000026000 008:00005 libapr-1.so.0.2.7 00002b335dc29000 88 r-x-- 0000000000000000 008:00003 libpthread-2.5.so 00002b335dc3f000 2044 ----- 0000000000016000 008:00003 libpthread-2.5.so 00002b335de3e000 4 r---- 0000000000015000 008:00003 libpthread-2.5.so 00002b335de3f000 4 rw--- 0000000000016000 008:00003 libpthread-2.5.so 00002b335de40000 16 rw--- 00002b335de40000 000:00000 [ anon ] 00002b335de44000 8 r-x-- 0000000000000000 008:00003 libdl-2.5.so 00002b335de46000 2048 ----- 0000000000002000 008:00003 libdl-2.5.so 00002b335e046000 4 r---- 0000000000002000 008:00003 libdl-2.5.so 00002b335e047000 4 rw--- 0000000000003000 008:00003 libdl-2.5.so 00002b335e048000 4 rw--- 00002b335e048000 000:00000 [ anon ] 00002b335e049000 1328 r-x-- 0000000000000000 008:00003 libc-2.5.so 00002b335e195000 2048 ----- 000000000014c000 008:00003 libc-2.5.so 00002b335e395000 16 r---- 000000000014c000 008:00003 libc-2.5.so 00002b335e399000 4 rw--- 0000000000150000 008:00003 libc-2.5.so 00002b335e39a000 20 rw--- 00002b335e39a000 000:00000 [ anon ] 00002b335e39f000 236 r-x-- 0000000000000000 008:00003 libsepol.so.1 00002b335e3da000 2048 ----- 000000000003b000 008:00003 libsepol.so.1 00002b335e5da000 4 rw--- 000000000003b000 008:00003 libsepol.so.1 00002b335e5db000 40 rw--- 00002b335e5db000 000:00000 [ anon ] 00002b335e5e5000 12 r-x-- 0000000000000000 008:00003 libuuid.so.1.2 00002b335e5e8000 2048 ----- 0000000000003000 008:00003 libuuid.so.1.2 00002b335e7e8000 4 rw--- 0000000000003000 008:00003 libuuid.so.1.2 00002b335e7e9000 4 rw--- 00002b335e7e9000 000:00000 [ anon ] 00002b335e7ea000 128 r-x-- 0000000000000000 008:00005 libpq.so.4.1 00002b335e80a000 2048 ----- 0000000000020000 008:00005 libpq.so.4.1 00002b335ea0a000 8 rw--- 0000000000020000 008:00005 libpq.so.4.1 00002b335ea0c000 352 r-x-- 0000000000000000 008:00005 libsqlite3.so.0.8.6 00002b335ea64000 2048 ----- 0000000000058000 008:00005 libsqlite3.so.0.8.6 00002b335ec64000 8 rw--- 0000000000058000 008:00005 libsqlite3.so.0.8.6 00002b335ec66000 68 r-x-- 0000000000000000 008:00003 libresolv-2.5.so 00002b335ec77000 2048 ----- 0000000000011000 008:00003 libresolv-2.5.so 00002b335ee77000 4 r---- 0000000000011000 008:00003 libresolv-2.5.so 00002b335ee78000 4 rw--- 0000000000012000 008:00003 libresolv-2.5.so 00002b335ee79000 12 rw--- 00002b335ee79000 000:00000 [ anon ] 00002b335ee7c000 96 r-x-- 0000000000000000 008:00005 libsasl2.so.2.0.22 00002b335ee94000 2048 ----- 0000000000018000 008:00005 libsasl2.so.2.0.22 00002b335f094000 4 rw--- 0000000000018000 008:00005 libsasl2.so.2.0.22 00002b335f095000 272 r-x-- 0000000000000000 008:00003 libssl.so.0.9.8e 00002b335f0d9000 2048 ----- 0000000000044000 008:00003 libssl.so.0.9.8e 00002b335f2d9000 24 rw--- 0000000000044000 008:00003 libssl.so.0.9.8e 00002b335f2df000 1204 r-x-- 0000000000000000 008:00003 libcrypto.so.0.9.8e 00002b335f40c000 2044 ----- 000000000012d000 008:00003 libcrypto.so.0.9.8e 00002b335f60b000 132 rw--- 000000000012c000 008:00003 libcrypto.so.0.9.8e 00002b335f62c000 20 rw--- 00002b335f62c000 000:00000 [ anon ] 00002b335f631000 580 r-x-- 0000000000000000 008:00005 libkrb5.so.3.3 00002b335f6c2000 2048 ----- 0000000000091000 008:00005 libkrb5.so.3.3 00002b335f8c2000 16 rw--- 0000000000091000 008:00005 libkrb5.so.3.3 00002b335f8c6000 84 r-x-- 0000000000000000 008:00003 libnsl-2.5.so 00002b335f8db000 2044 ----- 0000000000015000 008:00003 libnsl-2.5.so 00002b335fada000 4 r---- 0000000000014000 008:00003 libnsl-2.5.so 00002b335fadb000 4 rw--- 0000000000015000 008:00003 libnsl-2.5.so 00002b335fadc000 12 rw--- 00002b335fadc000 000:00000 [ anon ] 00002b335fadf000 176 r-x-- 0000000000000000 008:00005 libgssapi_krb5.so.2.2 00002b335fb0b000 2048 ----- 000000000002c000 008:00005 libgssapi_krb5.so.2.2 00002b335fd0b000 8 rw--- 000000000002c000 008:00005 libgssapi_krb5.so.2.2 00002b335fd0d000 8 r-x-- 0000000000000000 008:00003 libcom_err.so.2.1 00002b335fd0f000 2044 ----- 0000000000002000 008:00003 libcom_err.so.2.1 00002b335ff0e000 4 rw--- 0000000000001000 008:00003 libcom_err.so.2.1 00002b335ff0f000 144 r-x-- 0000000000000000 008:00005 libk5crypto.so.3.1 00002b335ff33000 2044 ----- 0000000000024000 008:00005 libk5crypto.so.3.1 00002b3360132000 8 rw--- 0000000000023000 008:00005 libk5crypto.so.3.1 00002b3360134000 4 rw--- 00002b3360134000 000:00000 [ anon ] 00002b3360135000 80 r-x-- 0000000000000000 008:00005 libz.so.1.2.3 00002b3360149000 2044 ----- 0000000000014000 008:00005 libz.so.1.2.3 00002b3360348000 4 rw--- 0000000000013000 008:00005 libz.so.1.2.3 00002b3360349000 32 r-x-- 0000000000000000 008:00005 libkrb5support.so.0.1 00002b3360351000 2044 ----- 0000000000008000 008:00005 libkrb5support.so.0.1 00002b3360550000 4 rw--- 0000000000007000 008:00005 libkrb5support.so.0.1 00002b3360551000 8 r-x-- 0000000000000000 008:00003 libkeyutils-1.2.so 00002b3360553000 2044 ----- 0000000000002000 008:00003 libkeyutils-1.2.so 00002b3360752000 4 rw--- 0000000000001000 008:00003 libkeyutils-1.2.so 00002b3360753000 12 rw--- 00002b3360753000 000:00000 [ anon ] 00002b3360756000 8 r-x-- 0000000000000000 008:00005 mod_auth_basic.so 00002b3360758000 2044 ----- 0000000000002000 008:00005 mod_auth_basic.so 00002b3360957000 8 rw--- 0000000000001000 008:00005 mod_auth_basic.so 00002b3360959000 8 r-x-- 0000000000000000 008:00005 mod_authn_file.so 00002b336095b000 2044 ----- 0000000000002000 008:00005 mod_authn_file.so 00002b3360b5a000 8 rw--- 0000000000001000 008:00005 mod_authn_file.so 00002b3360b5c000 4 r-x-- 0000000000000000 008:00005 mod_authn_default.so 00002b3360b5d000 2044 ----- 0000000000001000 008:00005 mod_authn_default.so 00002b3360d5c000 8 rw--- 0000000000000000 008:00005 mod_authn_default.so 00002b3360d5e000 8 r-x-- 0000000000000000 008:00005 mod_authz_host.so 00002b3360d60000 2044 ----- 0000000000002000 008:00005 mod_authz_host.so 00002b3360f5f000 8 rw--- 0000000000001000 008:00005 mod_authz_host.so 00002b3360f61000 4 r-x-- 0000000000000000 008:00005 mod_authz_user.so 00002b3360f62000 2044 ----- 0000000000001000 008:00005 mod_authz_user.so 00002b3361161000 8 rw--- 0000000000000000 008:00005 mod_authz_user.so 00002b3361163000 4 r-x-- 0000000000000000 008:00005 mod_authz_default.so 00002b3361164000 2044 ----- 0000000000001000 008:00005 mod_authz_default.so 00002b3361363000 8 rw--- 0000000000000000 008:00005 mod_authz_default.so 00002b3361365000 36 r-x-- 0000000000000000 008:00005 mod_include.so 00002b336136e000 2048 ----- 0000000000009000 008:00005 mod_include.so 00002b336156e000 8 rw--- 0000000000009000 008:00005 mod_include.so 00002b3361570000 20 r-x-- 0000000000000000 008:00005 mod_log_config.so 00002b3361575000 2044 ----- 0000000000005000 008:00005 mod_log_config.so 00002b3361774000 8 rw--- 0000000000004000 008:00005 mod_log_config.so 00002b3361776000 8 r-x-- 0000000000000000 008:00005 mod_logio.so 00002b3361778000 2044 ----- 0000000000002000 008:00005 mod_logio.so 00002b3361977000 8 rw--- 0000000000001000 008:00005 mod_logio.so 00002b3361979000 4 r-x-- 0000000000000000 008:00005 mod_env.so 00002b336197a000 2048 ----- 0000000000001000 008:00005 mod_env.so 00002b3361b7a000 8 rw--- 0000000000001000 008:00005 mod_env.so 00002b3361b7c000 8 r-x-- 0000000000000000 008:00005 mod_expires.so 00002b3361b7e000 2044 ----- 0000000000002000 008:00005 mod_expires.so 00002b3361d7d000 8 rw--- 0000000000001000 008:00005 mod_expires.so 00002b3361d7f000 12 r-x-- 0000000000000000 008:00005 mod_headers.so 00002b3361d82000 2048 ----- 0000000000003000 008:00005 mod_headers.so 00002b3361f82000 8 rw--- 0000000000003000 008:00005 mod_headers.so 00002b3361f84000 8 r-x-- 0000000000000000 008:00005 mod_setenvif.so 00002b3361f86000 2048 ----- 0000000000002000 008:00005 mod_setenvif.so 00002b3362186000 8 rw--- 0000000000002000 008:00005 mod_setenvif.so 00002b3362188000 16 r-x-- 0000000000000000 008:00005 mod_mime.so 00002b336218c000 2044 ----- 0000000000004000 008:00005 mod_mime.so 00002b336238b000 8 rw--- 0000000000003000 008:00005 mod_mime.so 00002b336238d000 16 r-x-- 0000000000000000 008:00005 mod_status.so 00002b3362391000 2044 ----- 0000000000004000 008:00005 mod_status.so 00002b3362590000 8 rw--- 0000000000003000 008:00005 mod_status.so 00002b3362592000 8 r-x-- 0000000000000000 008:00005 mod_dir.so 00002b3362594000 2044 ----- 0000000000002000 008:00005 mod_dir.so 00002b3362793000 8 rw--- 0000000000001000 008:00005 mod_dir.so 00002b3362795000 12 r-x-- 0000000000000000 008:00005 mod_alias.so 00002b3362798000 2044 ----- 0000000000003000 008:00005 mod_alias.so 00002b3362997000 8 rw--- 0000000000002000 008:00005 mod_alias.so 00002b3362999000 56 r-x-- 0000000000000000 008:00005 mod_rewrite.so 00002b33629a7000 2044 ----- 000000000000e000 008:00005 mod_rewrite.so 00002b3362ba6000 8 rw--- 000000000000d000 008:00005 mod_rewrite.so 00002b3362ba8000 16 r-x-- 0000000000000000 008:00005 mod_filemtime.so 00002b3362bac000 2048 ----- 0000000000004000 008:00005 mod_filemtime.so 00002b3362dac000 4 rw--- 0000000000004000 008:00005 mod_filemtime.so 00002b3362dad000 268 r-x-- 0000000000000000 008:00005 mod_security2.so 00002b3362df0000 2048 ----- 0000000000043000 008:00005 mod_security2.so 00002b3362ff0000 16 rw--- 0000000000043000 008:00005 mod_security2.so 00002b3362ffb000 1228 r-x-- 0000000000000000 008:00005 libxml2.so.2.6.26 00002b336312e000 2048 ----- 0000000000133000 008:00005 libxml2.so.2.6.26 00002b336332e000 36 rw--- 0000000000133000 008:00005 libxml2.so.2.6.26 00002b3363337000 4 rw--- 00002b3363337000 000:00000 [ anon ] 00002b3363338000 160 r-x-- 0000000000000000 008:00005 liblua-5.1.so 00002b3363360000 2048 ----- 0000000000028000 008:00005 liblua-5.1.so 00002b3363560000 8 rw--- 0000000000028000 008:00005 liblua-5.1.so 00002b3363562000 1024 rw--- 00002b3363562000 000:00000 [ anon ] 00002b3363712000 540 rw--- 00002b3363712000 000:00000 [ anon ] 00002b3363799000 8 r-x-- 0000000000000000 008:00005 mod_unique_id.so 00002b336379b000 2044 ----- 0000000000002000 008:00005 mod_unique_id.so 00002b336399a000 8 rw--- 0000000000001000 008:00005 mod_unique_id.so 00002b336399c000 1024 rw--- 00002b336399c000 000:00000 [ anon ] 00002b3363a9c000 3484 r-x-- 0000000000000000 008:00007 libphp5.so 00002b3363e03000 2048 ----- 0000000000367000 008:00007 libphp5.so 00002b3364003000 316 rw--- 0000000000367000 008:00007 libphp5.so 00002b3364052000 28 rw--- 00002b3364052000 000:00000 [ anon ] 00002b3364060000 224 r-x-- 0000000000000000 008:00005 libgmp.so.3.3.3 00002b3364098000 2048 ----- 0000000000038000 008:00005 libgmp.so.3.3.3 00002b3364298000 4 rw--- 0000000000038000 008:00005 libgmp.so.3.3.3 00002b3364299000 236 r-x-- 0000000000000000 008:00005 libcurl.so.3.0.0 00002b33642d4000 2048 ----- 000000000003b000 008:00005 libcurl.so.3.0.0 00002b33644d4000 8 rw--- 000000000003b000 008:00005 libcurl.so.3.0.0 00002b33644d6000 60 r-x-- 0000000000000000 008:00005 libbz2.so.1.0.3 00002b33644e5000 2044 ----- 000000000000f000 008:00005 libbz2.so.1.0.3 00002b33646e4000 8 rw--- 000000000000e000 008:00005 libbz2.so.1.0.3 00002b33646e6000 196 r-x-- 0000000000000000 008:00005 libidn.so.11.5.19 00002b3364717000 2044 ----- 0000000000031000 008:00005 libidn.so.11.5.19 00002b3364916000 4 rw--- 0000000000030000 008:00005 libidn.so.11.5.19 00002b3364917000 18476 r-x-- 0000000000000000 008:00007 libclntsh.so.10.1 00002b3365b22000 1020 ----- 000000000120b000 008:00007 libclntsh.so.10.1 00002b3365c21000 656 rw--- 000000000120a000 008:00007 libclntsh.so.10.1 00002b3365cc5000 112 rw--- 00002b3365cc5000 000:00000 [ anon ] 00002b3365ce1000 3004 r-x-- 0000000000000000 008:00007 libnnz10.so 00002b3365fd0000 1020 ----- 00000000002ef000 008:00007 libnnz10.so 00002b33660cf000 708 rw--- 00000000002ee000 008:00007 libnnz10.so 00002b3366180000 4 rw--- 00002b3366180000 000:00000 [ anon ] 00002b3366181000 160 r-x-- 0000000000000000 008:00005 mod_ssl.so 00002b33661a9000 2048 ----- 0000000000028000 008:00005 mod_ssl.so 00002b33663a9000 8 rw--- 0000000000028000 008:00005 mod_ssl.so 00002b33663ab000 8 rw--- 00002b33663ab000 000:00000 [ anon ] 00002b33663b4000 16 r-x-- 0000000000000000 008:00005 libdistcache.so.1.0.1 00002b33663b8000 2044 ----- 0000000000004000 008:00005 libdistcache.so.1.0.1 00002b33665b7000 4 rw--- 0000000000003000 008:00005 libdistcache.so.1.0.1 00002b33665b8000 32 r-x-- 0000000000000000 008:00005 libnal.so.1.0.1 00002b33665c0000 2048 ----- 0000000000008000 008:00005 libnal.so.1.0.1 00002b33667c0000 4 rw--- 0000000000008000 008:00005 libnal.so.1.0.1 00002b33667c1000 10240 rw--- 00002b33667c1000 000:00000 [ anon ] 00002b33671c1000 212 r--s- 0000000000000000 008:00008 passwd 00002b33671f6000 212 r--s- 0000000000000000 008:00008 group 00002b336722b000 6144 rw--- 00002b336722b000 000:00000 [ anon ] 00002b336782b000 212 r--s- 0000000000000000 008:00008 hosts 00002b3367860000 1024 rw--- 00002b3367860000 000:00000 [ anon ] 00002b3367960000 55096 r---- 0000000000000000 008:00005 locale-archive 00002b336af2e000 1024 rw--- 00002b336af2e000 000:00000 [ anon ] 00002b336b02e000 84 r-x-- 0000000000000000 008:00007 apc.so 00002b336b043000 2048 ----- 0000000000015000 008:00007 apc.so 00002b336b243000 8 rw--- 0000000000015000 008:00007 apc.so 00002b336b245000 32 rw--- 00002b336b245000 000:00000 [ anon ] 00002b336b254000 28 r-x-- 0000000000000000 008:00003 librt-2.5.so 00002b336b25b000 2048 ----- 0000000000007000 008:00003 librt-2.5.so 00002b336b45b000 4 r---- 0000000000007000 008:00003 librt-2.5.so 00002b336b45c000 4 rw--- 0000000000008000 008:00003 librt-2.5.so 00002b336b45d000 32 r-x-- 0000000000000000 008:00007 bcmath.so 00002b336b465000 2048 ----- 0000000000008000 008:00007 bcmath.so 00002b336b665000 4 rw--- 0000000000008000 008:00007 bcmath.so 00002b336b666000 156 r-x-- 0000000000000000 008:00007 dom.so 00002b336b68d000 2044 ----- 0000000000027000 008:00007 dom.so 00002b336b88c000 24 rw--- 0000000000026000 008:00007 dom.so 00002b336b892000 4 rw--- 00002b336b892000 000:00000 [ anon ] 00002b336b893000 336 r-x-- 0000000000000000 008:00007 gd.so 00002b336b8e7000 2044 ----- 0000000000054000 008:00007 gd.so 00002b336bae6000 28 rw--- 0000000000053000 008:00007 gd.so 00002b336baed000 16 rw--- 00002b336baed000 000:00000 [ anon ] 00002b336baf8000 520 r-x-- 0000000000000000 008:00005 libfreetype.so.6.3.10 00002b336bb7a000 2048 ----- 0000000000082000 008:00005 libfreetype.so.6.3.10 00002b336bd7a000 20 rw--- 0000000000082000 008:00005 libfreetype.so.6.3.10 00002b336bd7f000 1044 r-x-- 0000000000000000 008:00005 libX11.so.6.2.0 00002b336be84000 2048 ----- 0000000000105000 008:00005 libX11.so.6.2.0 00002b336c084000 28 rw--- 0000000000105000 008:00005 libX11.so.6.2.0 00002b336c08b000 64 r-x-- 0000000000000000 008:00005 libXpm.so.4.11.0 00002b336c09b000 2048 ----- 0000000000010000 008:00005 libXpm.so.4.11.0 00002b336c29b000 4 rw--- 0000000000010000 008:00005 libXpm.so.4.11.0 00002b336c29c000 140 r-x-- 0000000000000000 008:00005 libpng12.so.0.10.0 00002b336c2bf000 2048 ----- 0000000000023000 008:00005 libpng12.so.0.10.0 00002b336c4bf000 4 rw--- 0000000000023000 008:00005 libpng12.so.0.10.0 00002b336c4c0000 132 r-x-- 0000000000000000 008:00005 libjpeg.so.62.0.0 00002b336c4e1000 2044 ----- 0000000000021000 008:00005 libjpeg.so.62.0.0 00002b336c6e0000 4 rw--- 0000000000020000 008:00005 libjpeg.so.62.0.0 00002b336c6e1000 8 r-x-- 0000000000000000 008:00005 libXau.so.6.0.0 00002b336c6e3000 2044 ----- 0000000000002000 008:00005 libXau.so.6.0.0 00002b336c8e2000 4 rw--- 0000000000001000 008:00005 libXau.so.6.0.0 00002b336c8e3000 20 r-x-- 0000000000000000 008:00005 libXdmcp.so.6.0.0 00002b336c8e8000 2044 ----- 0000000000005000 008:00005 libXdmcp.so.6.0.0 00002b336cae7000 4 rw--- 0000000000004000 008:00005 libXdmcp.so.6.0.0 00002b336cae8000 72 r-x-- 0000000000000000 008:00007 imagick0-gm.so 00002b336cafa000 2044 ----- 0000000000012000 008:00007 imagick0-gm.so 00002b336ccf9000 8 rw--- 0000000000011000 008:00007 imagick0-gm.so 00002b336ccfb000 156 r-x-- 0000000000000000 008:00005 libGraphicsMagickWand.so.0.0.4 00002b336cd22000 2044 ----- 0000000000027000 008:00005 libGraphicsMagickWand.so.0.0.4 00002b336cf21000 4 rw--- 0000000000026000 008:00005 libGraphicsMagickWand.so.0.0.4 00002b336cf22000 1724 r-x-- 0000000000000000 008:00005 libGraphicsMagick.so.1.0.15 00002b336d0d1000 2048 ----- 00000000001af000 008:00005 libGraphicsMagick.so.1.0.15 00002b336d2d1000 332 rw--- 00000000001af000 008:00005 libGraphicsMagick.so.1.0.15 00002b336d324000 4 rw--- 00002b336d324000 000:00000 [ anon ] 00002b336d325000 28 r-x-- 0000000000000000 008:00007 json.so 00002b336d32c000 2044 ----- 0000000000007000 008:00007 json.so 00002b336d52b000 4 rw--- 0000000000006000 008:00007 json.so 00002b336d52c000 32 r-x-- 0000000000000000 008:00007 mcrypt.so 00002b336d534000 2048 ----- 0000000000008000 008:00007 mcrypt.so 00002b336d734000 4 rw--- 0000000000008000 008:00007 mcrypt.so 00002b336d73c000 164 r-x-- 0000000000000000 008:00005 libmcrypt.so.4.4.8 00002b336d765000 2044 ----- 0000000000029000 008:00005 libmcrypt.so.4.4.8 00002b336d964000 12 rw--- 0000000000028000 008:00005 libmcrypt.so.4.4.8 00002b336d967000 24 rw--- 00002b336d967000 000:00000 [ anon ] 00002b336d96d000 88 r-x-- 0000000000000000 008:00007 memcache.so 00002b336d983000 2044 ----- 0000000000016000 008:00007 memcache.so 00002b336db82000 8 rw--- 0000000000015000 008:00007 memcache.so 00002b336db84000 8 r-x-- 0000000000000000 008:00007 mhash.so 00002b336db86000 2044 ----- 0000000000002000 008:00007 mhash.so 00002b336dd85000 4 rw--- 0000000000001000 008:00007 mhash.so 00002b336dd8d000 176 r-x-- 0000000000000000 008:00005 libmhash.so.2.0.1 00002b336ddb9000 2044 ----- 000000000002c000 008:00005 libmhash.so.2.0.1 00002b336dfb8000 4 rw--- 000000000002b000 008:00005 libmhash.so.2.0.1 00002b336dfb9000 44 r-x-- 0000000000000000 008:00007 mysql.so 00002b336dfc4000 2044 ----- 000000000000b000 008:00007 mysql.so 00002b336e1c3000 8 rw--- 000000000000a000 008:00007 mysql.so 00002b336e1cc000 1192 r-x-- 0000000000000000 008:00005 libmysqlclient.so.15.0.0 00002b336e2f6000 2048 ----- 000000000012a000 008:00005 libmysqlclient.so.15.0.0 00002b336e4f6000 284 rw--- 000000000012a000 008:00005 libmysqlclient.so.15.0.0 00002b336e53d000 4 rw--- 00002b336e53d000 000:00000 [ anon ] 00002b336e53e000 104 r-x-- 0000000000000000 008:00007 mysqli.so 00002b336e558000 2044 ----- 000000000001a000 008:00007 mysqli.so 00002b336e757000 12 rw--- 0000000000019000 008:00007 mysqli.so 00002b336e75a000 4 rw--- 00002b336e75a000 000:00000 [ anon ] 00002b336e75b000 88 r-x-- 0000000000000000 008:00007 pdo.so 00002b336e771000 2048 ----- 0000000000016000 008:00007 pdo.so 00002b336e971000 12 rw--- 0000000000016000 008:00007 pdo.so 00002b336e974000 24 r-x-- 0000000000000000 008:00007 pdo_mysql.so 00002b336e97a000 2048 ----- 0000000000006000 008:00007 pdo_mysql.so 00002b336eb7a000 4 rw--- 0000000000006000 008:00007 pdo_mysql.so 00002b336eb7b000 24 r-x-- 0000000000000000 008:00007 pdo_oci.so 00002b336eb81000 2048 ----- 0000000000006000 008:00007 pdo_oci.so 00002b336ed81000 4 rw--- 0000000000006000 008:00007 pdo_oci.so 00002b336ed82000 296 r-x-- 0000000000000000 008:00007 soap.so 00002b336edcc000 2048 ----- 000000000004a000 008:00007 soap.so 00002b336efcc000 12 rw--- 000000000004a000 008:00007 soap.so 00002b336efcf000 128 r-x-- 0000000000000000 008:00007 suhosin.so 00002b336efef000 2048 ----- 0000000000020000 008:00007 suhosin.so 00002b336f1ef000 24 rw--- 0000000000020000 008:00007 suhosin.so 00002b336f1f5000 8 rw--- 00002b336f1f5000 000:00000 [ anon ] 00002b336f1f7000 28 r-x-- 0000000000000000 008:00007 xmlreader.so 00002b336f1fe000 2044 ----- 0000000000007000 008:00007 xmlreader.so 00002b336f3fd000 8 rw--- 0000000000006000 008:00007 xmlreader.so 00002b336f3ff000 28 r-x-- 0000000000000000 008:00007 xmlwriter.so 00002b336f406000 2044 ----- 0000000000007000 008:00007 xmlwriter.so 00002b336f605000 8 rw--- 0000000000006000 008:00007 xmlwriter.so 00002b336f607000 28 r-x-- 0000000000000000 008:00007 xsl.so 00002b336f60e000 2044 ----- 0000000000007000 008:00007 xsl.so 00002b336f80d000 4 rw--- 0000000000006000 008:00007 xsl.so 00002b336f815000 68 r-x-- 0000000000000000 008:00005 libexslt.so.0.8.13 00002b336f826000 2048 ----- 0000000000011000 008:00005 libexslt.so.0.8.13 00002b336fa26000 4 rw--- 0000000000011000 008:00005 libexslt.so.0.8.13 00002b336fa27000 208 r-x-- 0000000000000000 008:00005 libxslt.so.1.1.17 00002b336fa5b000 2044 ----- 0000000000034000 008:00005 libxslt.so.1.1.17 00002b336fc5a000 8 rw--- 0000000000033000 008:00005 libxslt.so.1.1.17 00002b336fc5c000 296 r-x-- 0000000000000000 008:00005 libgcrypt.so.11.2.3 00002b336fca6000 2048 ----- 000000000004a000 008:00005 libgcrypt.so.11.2.3 00002b336fea6000 8 rw--- 000000000004a000 008:00005 libgcrypt.so.11.2.3 00002b336fea8000 4 rw--- 00002b336fea8000 000:00000 [ anon ] 00002b336fea9000 12 r-x-- 0000000000000000 008:00005 libgpg-error.so.0.3.0 00002b336feac000 2044 ----- 0000000000003000 008:00005 libgpg-error.so.0.3.0 00002b33700ab000 4 rw--- 0000000000002000 008:00005 libgpg-error.so.0.3.0 00002b33700ac000 68 r-x-- 0000000000000000 008:00007 zip.so 00002b33700bd000 2044 ----- 0000000000011000 008:00007 zip.so 00002b33702bc000 8 rw--- 0000000000010000 008:00007 zip.so 00002b33702c5000 40 r-x-- 0000000000000000 008:00003 libnss_files-2.5.so 00002b33702cf000 2044 ----- 000000000000a000 008:00003 libnss_files-2.5.so 00002b33704ce000 4 r---- 0000000000009000 008:00003 libnss_files-2.5.so 00002b33704cf000 4 rw--- 000000000000a000 008:00003 libnss_files-2.5.so 00002b33704d0000 1024 rw--- 00002b33704d0000 000:00000 [ anon ] 00002b33705d0000 131072 rw-s- 0000000000000000 008:00006 apc.6D9fX9 (deleted) 00002b33785d0000 70948 r-x-- 0000000000000000 008:00007 libociei.so 00002b337cb19000 1020 ----- 0000000004549000 008:00007 libociei.so 00002b337cc18000 8 rw--- 0000000004548000 008:00007 libociei.so 00002b337cc1a000 1024 rw--- 00002b337cc1a000 000:00000 [ anon ] 00002b337cd1a000 504 rw-s- 0000000000000000 000:00009 zero (deleted) 00002b337cd98000 5120 rw--- 00002b337cd98000 000:00000 [ anon ] 00002b337d299000 48152 rw--- 00002b337d299000 000:00000 [ anon ] 00007fffc38f1000 200 rwx-- 00007ffffffcb000 000:00000 [ stack ] 00007fffc3923000 8 rw--- 00007fffffffd000 000:00000 [ anon ] ffffffffff600000 8192 ----- 0000000000000000 000:00000 [ anon ] mapped: 595780K writeable/private: 82440K shared: 132296K </code></pre> </div>

刚安装eclipse,出现错误

刚安装eclipse,出现错误:an error has occurred see the log file (在官网下的org.objectweb.lomboz-all-in-one-R-3.2.2-2007)是在C盘根目录下解压的,,装的jdk1.6,环境变量也配的没问题,求大神解答。 !SESSION 2014-12-21 01:29:27.547 ----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_43 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.osgi 4 0 2014-12-21 01:29:31.319 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: C:\eclipse\configuration\org.eclipse.osgi\bundles\247\1\.cp\swt-win32-3236.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1716) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1028) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123) at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18) at org.eclipse.swt.widgets.Display.<clinit>(Display.java:125) at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:436) at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161) at org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDEApplication.java:122) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:75) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)

无法将c:/php/php5apache2_4.dll加载到服务器中:找不到指定的模块

<div class="post-text" itemprop="text"> <p> When trying to use PHP 5.6.30 with Apache 2.4 there seems to be a somewhat well-known issue (outside of using Docker) but there does not seem to be any real solution for fixing the issue. I am getting the following error:</p> <blockquote> <p>httpd.exe: Syntax error on line 534 of C:/Apache24/conf/httpd.conf: Cannot load c:/php/php5apache2_4.dll into server: The specified module could not be found.</p> </blockquote> <p>Examining the directory of C:\php (inside the Docker container) I see the DLL is clearly there</p> <pre><code>03/09/2017 04:34 PM &lt;DIR&gt; . 03/09/2017 04:34 PM &lt;DIR&gt; .. 01/18/2017 08:12 PM 69,632 deplister.exe 03/09/2017 04:34 PM &lt;DIR&gt; dev 03/09/2017 04:34 PM &lt;DIR&gt; ext 03/09/2017 04:34 PM &lt;DIR&gt; extras 01/18/2017 08:12 PM 1,290,752 glib-2.dll 01/18/2017 08:12 PM 16,384 gmodule-2.dll 01/18/2017 08:12 PM 25,672,192 icudt57.dll 01/18/2017 08:12 PM 2,065,920 icuin57.dll 01/18/2017 08:12 PM 51,200 icuio57.dll 01/18/2017 08:12 PM 257,536 icule57.dll 01/18/2017 08:12 PM 50,176 iculx57.dll 01/18/2017 08:12 PM 63,488 icutest57.dll 01/18/2017 08:12 PM 196,096 icutu57.dll 01/18/2017 08:12 PM 1,456,128 icuuc57.dll 01/18/2017 08:12 PM 79,408 install.txt 03/09/2017 04:34 PM &lt;DIR&gt; lib 01/18/2017 08:12 PM 2,244,096 libeay32.dll 01/18/2017 08:12 PM 46,592 libenchant.dll 01/18/2017 08:12 PM 185,344 libpq.dll 01/18/2017 08:12 PM 237,056 libsasl.dll 01/18/2017 08:12 PM 213,504 libssh2.dll 01/18/2017 08:12 PM 3,286 license.txt 01/18/2017 08:12 PM 557,659 news.txt 01/18/2017 08:12 PM 43 phar.phar.bat 01/18/2017 08:12 PM 53,242 pharcommand.phar 01/18/2017 08:12 PM 59,392 php-cgi.exe 01/18/2017 08:12 PM 32,256 php-win.exe 01/18/2017 08:12 PM 79,872 php.exe 01/18/2017 08:12 PM 2,523 php.gif 01/18/2017 08:12 PM 75,684 php.ini-development 01/18/2017 08:12 PM 75,715 php.ini-production 01/18/2017 08:12 PM 32,768 php5apache2_4.dll &lt;--- look right here 01/18/2017 08:12 PM 846,630 php5embed.lib 01/18/2017 08:12 PM 168,960 php5phpdbg.dll 01/18/2017 08:12 PM 8,343,040 php5ts.dll 01/18/2017 08:12 PM 181,760 phpdbg.exe 01/18/2017 08:12 PM 21,360 readme-redist-bins.txt 01/18/2017 08:12 PM 3,634 snapshot.txt 01/18/2017 08:12 PM 353,792 ssleay32.dll 35 File(s) 45,087,120 bytes </code></pre> <p>This <a href="https://stackoverflow.com/questions/17609096/php5apache2-4-dll-not-found-error">answer</a> talks about making sure to use the same bit version (I am using 64 bit) and to also make sure the versions are thread safe, which they are. Here, in my Dockerfile, you can see the links to the 64 bit thread-safe versions of Apache and PHP:</p> <pre><code>FROM microsoft/windowsservercore RUN powershell -Command \ $ErrorActionPreference = 'Stop'; \ Invoke-WebRequest -Method Get -Uri https://www.apachelounge.com/download/VC11/binaries/httpd-2.4.25-win64-VC11.zip -OutFile c:\apache.zip ; \ Expand-Archive -Path c:\apache.zip -DestinationPath c:\ ; \ Remove-Item c:\apache.zip -Force RUN powershell -Command \ $ErrorActionPreference = 'Stop'; \ Invoke-WebRequest -Method Get -Uri "http://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe" -OutFile c:\vcredist_x64.exe ; \ start-Process c:\vcredist_x64.exe -ArgumentList '/quiet' -Wait ; \ Remove-Item c:\vcredist_x64.exe -Force RUN powershell -Command \ $ErrorActionPreference = 'Stop'; \ Invoke-WebRequest -Method Get -Uri http://windows.php.net/downloads/releases/php-5.6.30-Win32-VC11-x64.zip -OutFile c:\php.zip ; \ Expand-Archive -Path c:\php.zip -DestinationPath c:\php ; \ Remove-Item c:\php.zip -Force RUN powershell -Command \ $ErrorActionPreference = 'Stop'; \ Remove-Item c:\Apache24\conf\httpd.conf ; \ new-item -Type Directory c:\www -Force ; \ Add-Content -Value "'&lt;?php phpinfo() ?&gt;'" -Path c:\www\index.php ADD httpd.conf /apache24/conf WORKDIR /Apache24/bin CMD /Apache24/bin/httpd.exe -w </code></pre> <p>Note the Visual Studio compiler is for 2015. Do I really need to level the playing field for using the compiler? </p> <p>Finally, the following lines in the httpd.conf (<strong><em>line 534, mentioned in the error, is the line starting with <code>LoadModule</code></em></strong>)are what is causing the error to show in the Docker logs for the container when started. I have them commented out at the moment so I could get Apache to start as a stand-alone (allowing me to examine what is going on inside of the container).</p> <pre><code># configure the path to php.ini # PHPIniDir "C:/php" # LoadModule php5_module "c:/php/php5apache2_4.dll" # AddHandler application/x-httpd-php .php </code></pre> <p>I plan to deploy some existing PHP code in the container and do not want to upgrade to PHP7 (which will create more work to fix some things with code which will fail on PHP7). Outside of upgrading to PHP 7 is there any other way to fix the issue?</p> </div>

Docker不安装PHP模块

<div class="post-text" itemprop="text"> <p>Why are the modules not loaded? </p> <p>This is my Dockerfile:</p> <pre><code>FROM php:5.6-apache # Install PHP extensions and PECL modules. RUN buildDeps=" \ libbz2-dev \ libmemcached-dev \ libmysqlclient-dev \ libsasl2-dev \ " \ runtimeDeps=" \ curl \ git \ libfreetype6-dev \ libicu-dev \ libjpeg-dev \ libldap2-dev \ libmcrypt-dev \ libmemcachedutil2 \ libpng12-dev \ libpq-dev \ libxml2-dev \ " \ &amp;&amp; apt-get update &amp;&amp; DEBIAN_FRONTEND=noninteractive apt-get install -y $buildDeps $runtimeDeps \ &amp;&amp; docker-php-ext-install bcmath bz2 calendar iconv intl mbstring mcrypt mysql mysqli opcache pdo_mysql pdo_pgsql pgsql soap zip \ &amp;&amp; docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ &amp;&amp; docker-php-ext-install gd \ &amp;&amp; docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ \ &amp;&amp; docker-php-ext-install ldap \ &amp;&amp; docker-php-ext-install exif \ &amp;&amp; pecl install memcached-2.2.0 redis \ &amp;&amp; docker-php-ext-enable memcached.so redis.so \ &amp;&amp; apt-get purge -y --auto-remove $buildDeps \ &amp;&amp; rm -r /var/lib/apt/lists/* \ &amp;&amp; a2enmod rewrite RUN a2enmod rewrite RUN usermod -u 1000 www-data RUN usermod -G staff www-data </code></pre> <p>And this is the output from <code>php -m</code>: </p> <pre><code>root@3363bf2aa56d:/var/www/html# php -m PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/pdo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20131226/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/xsl.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20131226/xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0 [PHP Modules] Core ctype curl date dom ereg fileinfo filter ftp gd hash iconv intl json libxml mbstring mcrypt mysqli mysqlnd openssl pcre PDO pdo_mysql pdo_sqlite Phar posix readline Reflection session SimpleXML SPL sqlite3 standard tokenizer xml xmlreader xmlwriter zip zlib [Zend Modules] </code></pre> <p>For example, there is no calendar extension, but it is defined in the Dockerfile itself. Also, exif doesn't appear in the list. Whats wrong here? </p> </div>

致命错误:ini_set():为了防止数据损坏,您不能在未知的32位平台上打开mongo.native_long设置

<div class="post-text" itemprop="text"> <p>Fatal error: ini_set(): To prevent data corruption, you are not allowed to turn on the mongo.native_long setting on 32-bit platforms in Unknown on line 0 </p> <p><a href="http://localhost/rockmongo/web/rockmongo/index.php" rel="nofollow">http://localhost/rockmongo/web/rockmongo/index.php</a></p> <p>I have installed 32 bit php_mongo.dll and open extension in php.ini and set the environment variables for php.exe and placed the libsasl.dll in system32 folder. I am currently using window 7 and appear this error.Can somebody pls solve the problem.Thanks!</p> </div>

无法在新的PHP IIS服务器上启用LDAP扩展

<div class="post-text" itemprop="text"> <p>I have a new server at work, installed PHP 5.4.21 on it yesterday, got SQLSRV working this morning but now I'm stuck getting LDAP enabled. It's not showing in phpinfo(). This is my php.ini file that is in C:\PHP which is where phpinfo() says is the correct directory: <a href="http://pastebin.com/yWv9gRNT" rel="nofollow">http://pastebin.com/yWv9gRNT</a></p> <p>I have uncommented <code>extension=php_ldap.dll</code> (near the bottom), I have the dll in the ext folder that is linked in the php.ini file, I have restarted IIS numerous times, I have even copied all DLLs to Windows\System32 folder as recommended on some forums (including libsasl.dll libeay32.dll &amp; ssleay32.dll) &amp; restarted server. Server is Windows 2008 R2 running IIS 7.5.</p> </div>

Eclipse 崩溃原因,麻烦那位会读的帮忙分析一下,最近老死

# # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d7fb2ea, pid=200, tid=2240 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode) # Problematic frame: # V [jvm.dll+0xcb2ea] # --------------- T H R E A D --------------- Current thread (0x0082ba60): VMThread [id=2240] siginfo: ExceptionCode=0xc0000005, reading address 0x186d865e Registers: EAX=0x186d8602, EBX=0x00000000, ECX=0x1410ced9, EDX=0x00000000 ESP=0x16cbfb8c, EBP=0x16cbfc00, ESI=0x0e3ba108, EDI=0x0e3ba2c0 EIP=0x6d7fb2ea, EFLAGS=0x00010246 Top of Stack: (sp=0x16cbfb8c) 0x16cbfb8c: 0e3ba108 0e3ba2b4 6d804085 0e3ba2b4 0x16cbfb9c: 0e3a05c0 0e3ba228 6d7fb2ed 0e3ba228 0x16cbfbac: 0e3a05bc 6d804085 0e3a05bc 6d8a6d78 0x16cbfbbc: 12b202f0 6d7fb3a0 0e3a05b0 6d7fb364 0x16cbfbcc: 6d8a6d78 6d7fb5c4 6d8ab27c 6d842f65 0x16cbfbdc: 6d8ab27c 6d8a6d78 008269b0 6d79f178 0x16cbfbec: 6d8a6d78 00000000 00000001 008269b0 0x16cbfbfc: 00000000 16cbfc68 6d7a044f 00000001 Instructions: (pc=0x6d7fb2ea) 0x6d7fb2da: e8 34 03 00 00 8b 46 04 59 56 8d 48 08 8b 40 08 0x6d7fb2ea: ff 50 5c 5e c3 8b 44 24 04 56 57 8b 38 57 e8 16 Stack: [0x16c80000,0x16cc0000), sp=0x16cbfb8c, free space=254k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [jvm.dll+0xcb2ea] V [jvm.dll+0x7044f] V [jvm.dll+0x701cb] V [jvm.dll+0x73837] V [jvm.dll+0x10a55d] V [jvm.dll+0x6ef6c] V [jvm.dll+0x5182c] V [jvm.dll+0x6f117] V [jvm.dll+0x1251d2] V [jvm.dll+0x124ca0] V [jvm.dll+0x124e49] V [jvm.dll+0x124b7e] C [MSVCRT.dll+0x2a3b0] C [kernel32.dll+0xb699] VM_Operation (0x0006d588): generation collection for allocation, mode: safepoint, requested by thread 0x008236d0 --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x1b4cb9a0 JavaThread "Worker-34" [_thread_blocked, id=2884] 0x00909400 JavaThread "Worker-33" [_thread_blocked, id=2112] 0x1b4e6e10 JavaThread "Worker-32" [_thread_blocked, id=3388] 0x1b4ae050 JavaThread "Process monitor" daemon [_thread_in_native, id=876] 0x1b493540 JavaThread "Input Stream Monitor" daemon [_thread_blocked, id=2644] 0x1b493840 JavaThread "Output Stream Monitor" daemon [_thread_in_native, id=540] 0x1b493a60 JavaThread "Output Stream Monitor" daemon [_thread_in_native, id=2448] 0x1b496990 JavaThread "Process monitor" daemon [_thread_in_native, id=3912] 0x1b496030 JavaThread "Input Stream Monitor" daemon [_thread_blocked, id=3832] 0x1b4967c0 JavaThread "Output Stream Monitor" daemon [_thread_in_native, id=2164] 0x1b496e70 JavaThread "Output Stream Monitor" daemon [_thread_in_native, id=4012] 0x1b4d64e0 JavaThread "Worker-31" [_thread_blocked, id=3712] 0x1b4d50b0 JavaThread "Worker-29" [_thread_blocked, id=232] 0x1b4d2c60 JavaThread "Worker-28" daemon [_thread_blocked, id=388] 0x18bffe70 JavaThread "Worker-27" daemon [_thread_blocked, id=384] 0x1b4bd8e0 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=3412] 0x1b4bec80 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=2756] 0x008d03c0 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=2324] 0x008be650 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=716] 0x008a5620 JavaThread "Java indexing" daemon [_thread_blocked, id=2376] 0x00845090 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=1168] 0x00843d70 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=3140] 0x00841270 JavaThread "State Data Manager" daemon [_thread_blocked, id=3544] 0x008300d0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3852] 0x0082f510 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2812] 0x0082e3c0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3116] 0x0082d9d0 JavaThread "Finalizer" daemon [_thread_blocked, id=3752] 0x0082c770 JavaThread "Reference Handler" daemon [_thread_blocked, id=3728] 0x008236d0 JavaThread "main" [_thread_blocked, id=1084] Other Threads: =>0x0082ba60 VMThread [id=2240] 0x00832be0 WatcherThread [id=916] VM state:at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) [0x00823c30/0x00000718] Threads_lock - owner thread: 0x0082ba60 [0x00823ac0/0x000006dc] Heap_lock - owner thread: 0x008236d0 Heap def new generation total 18176K, used 17059K [0x02b20000, 0x03ed0000, 0x03ed0000) eden space 16192K, 100% used [0x02b20000, 0x03af0000, 0x03af0000) from space 1984K, 43% used [0x03ce0000, 0x03db8cf8, 0x03ed0000) to space 1984K, 0% used [0x03af0000, 0x03af0000, 0x03ce0000) tenured generation total 241984K, used 225427K [0x03ed0000, 0x12b20000, 0x12b20000) the space 241984K, 93% used [0x03ed0000, 0x11af4fc0, 0x11af5000, 0x12b20000) compacting perm gen total 49408K, used 49202K [0x12b20000, 0x15b60000, 0x16b20000) the space 49408K, 99% used [0x12b20000, 0x15b2c8b8, 0x15b2ca00, 0x15b60000) No shared spaces configured. Dynamic libraries: 0x00400000 - 0x0040d000 E:\ufsoft\home\ufjdk\bin\javaw.exe 0x7c920000 - 0x7c9b6000 C:\WINDOWS\system32\ntdll.dll 0x7c800000 - 0x7c91d000 C:\WINDOWS\system32\kernel32.dll 0x77da0000 - 0x77e49000 C:\WINDOWS\system32\ADVAPI32.dll 0x77e50000 - 0x77ee2000 C:\WINDOWS\system32\RPCRT4.dll 0x77fc0000 - 0x77fd1000 C:\WINDOWS\system32\Secur32.dll 0x77d10000 - 0x77d9f000 C:\WINDOWS\system32\USER32.dll 0x77ef0000 - 0x77f38000 C:\WINDOWS\system32\GDI32.dll 0x77be0000 - 0x77c38000 C:\WINDOWS\system32\MSVCRT.dll 0x76300000 - 0x7631d000 C:\WINDOWS\system32\IMM32.DLL 0x62c20000 - 0x62c29000 C:\WINDOWS\system32\LPK.DLL 0x73fa0000 - 0x7400b000 C:\WINDOWS\system32\USP10.dll 0x6d730000 - 0x6d8c7000 E:\ufsoft\home\ufjdk\jre\bin\client\jvm.dll 0x76b10000 - 0x76b3a000 C:\WINDOWS\system32\WINMM.dll 0x6d2f0000 - 0x6d2f8000 E:\ufsoft\home\ufjdk\jre\bin\hpi.dll 0x76bc0000 - 0x76bcb000 C:\WINDOWS\system32\PSAPI.DLL 0x6d700000 - 0x6d70c000 E:\ufsoft\home\ufjdk\jre\bin\verify.dll 0x6d370000 - 0x6d38d000 E:\ufsoft\home\ufjdk\jre\bin\java.dll 0x6d720000 - 0x6d72f000 E:\ufsoft\home\ufjdk\jre\bin\zip.dll 0x6d530000 - 0x6d543000 E:\ufsoft\home\ufjdk\jre\bin\net.dll 0x71a20000 - 0x71a37000 C:\WINDOWS\system32\WS2_32.dll 0x71a10000 - 0x71a18000 C:\WINDOWS\system32\WS2HELP.dll 0x6d550000 - 0x6d559000 E:\ufsoft\home\ufjdk\jre\bin\nio.dll 0x17570000 - 0x175c2000 E:\eclipse\configuration\org.eclipse.osgi\bundles\90\1\.cp\swt-win32-3232.dll 0x76990000 - 0x76acd000 C:\WINDOWS\system32\ole32.dll 0x77180000 - 0x77283000 C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\COMCTL32.dll 0x77f40000 - 0x77fb6000 C:\WINDOWS\system32\SHLWAPI.dll 0x76320000 - 0x76367000 C:\WINDOWS\system32\comdlg32.dll 0x7d590000 - 0x7dd83000 C:\WINDOWS\system32\SHELL32.dll 0x770f0000 - 0x7717b000 C:\WINDOWS\system32\OLEAUT32.dll 0x76680000 - 0x76724000 C:\WINDOWS\system32\WININET.dll 0x765e0000 - 0x76673000 C:\WINDOWS\system32\CRYPT32.dll 0x76db0000 - 0x76dc2000 C:\WINDOWS\system32\MSASN1.dll 0x73b40000 - 0x73b60000 C:\WINDOWS\system32\MSVFW32.dll 0x5d170000 - 0x5d20a000 C:\WINDOWS\system32\comctl32.dll 0x5adc0000 - 0x5adf7000 C:\WINDOWS\system32\uxtheme.dll 0x17680000 - 0x176af000 C:\Program Files\360\360Safe\safemon\safemon.dll 0x77bd0000 - 0x77bd8000 C:\WINDOWS\system32\VERSION.dll 0x7eae0000 - 0x7eb81000 C:\WINDOWS\system32\urlmon.dll 0x74680000 - 0x746cb000 C:\WINDOWS\system32\MSCTF.dll 0x73640000 - 0x7366e000 C:\WINDOWS\system32\msctfime.ime 0x17870000 - 0x17878000 E:\eclipse\configuration\org.eclipse.osgi\bundles\28\1\.cp\os\win32\x86\localfile_1_0_0.dll 0x74be0000 - 0x74c0c000 C:\WINDOWS\system32\oleacc.dll 0x75ff0000 - 0x76055000 C:\WINDOWS\system32\MSVCP60.dll 0x17ba0000 - 0x17bb3000 E:\eclipse\configuration\org.eclipse.osgi\bundles\90\1\.cp\swt-gdip-win32-3232.dll 0x4ae90000 - 0x4b03b000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.6001.22319_x-ww_f0b4c2df\gdiplus.dll 0x20000000 - 0x20549000 C:\WINDOWS\system32\xpsp2res.dll 0x76fa0000 - 0x7701f000 C:\WINDOWS\system32\CLBCATQ.DLL 0x77020000 - 0x770ba000 C:\WINDOWS\system32\COMRes.dll 0x74cf0000 - 0x74d81000 C:\WINDOWS\system32\mlang.dll 0x17b30000 - 0x17b37000 E:\eclipse\plugins\com.rational.clearcase_6.0.24\RSCMRegistryJni.dll 0x18a90000 - 0x18aa1000 C:\WINDOWS\system32\MSVCIRT.dll 0x762f0000 - 0x762f5000 C:\WINDOWS\system32\msimg32.dll 0x18d00000 - 0x18d12000 C:\Program Files\Lenovo\HOTKEY\hkvolkey.dll 0x719c0000 - 0x719fe000 C:\WINDOWS\System32\mswsock.dll 0x76ef0000 - 0x76f17000 C:\WINDOWS\system32\DNSAPI.dll 0x76f80000 - 0x76f88000 C:\WINDOWS\System32\winrnr.dll 0x76f30000 - 0x76f5c000 C:\WINDOWS\system32\WLDAP32.dll 0x76f90000 - 0x76f96000 C:\WINDOWS\system32\rasadhlp.dll 0x6eec0000 - 0x6eee3000 E:\eclipse\plugins\org.tigris.subversion.clientadapter.javahl.win32_1.6.4\libapr-1.dll 0x6ee50000 - 0x6ee59000 E:\eclipse\plugins\org.tigris.subversion.clientadapter.javahl.win32_1.6.4\libapriconv-1.dll 0x19ee0000 - 0x19fe8000 E:\eclipse\plugins\org.tigris.subversion.clientadapter.javahl.win32_1.6.4\libeay32.dll 0x71a40000 - 0x71a4b000 C:\WINDOWS\system32\WSOCK32.dll 0x19ff0000 - 0x1a024000 E:\eclipse\plugins\org.tigris.subversion.clientadapter.javahl.win32_1.6.4\ssleay32.dll 0x6ee60000 - 0x6ee8f000 E:\eclipse\plugins\org.tigris.subversion.clientadapter.javahl.win32_1.6.4\libaprutil-1.dll 0x1a030000 - 0x1a145000 E:\eclipse\plugins\org.tigris.subversion.clientadapter.javahl.win32_1.6.4\dbghelp.dll 0x1a150000 - 0x1a163000 E:\eclipse\plugins\org.tigris.subversion.clientadapter.javahl.win32_1.6.4\libsasl.dll 0x1a290000 - 0x1a336000 E:\eclipse\plugins\org.tigris.subversion.clientadapter.javahl.win32_1.6.4\libsvn_subr-1.dll 0x76750000 - 0x76759000 C:\WINDOWS\system32\SHFOLDER.dll 0x1a170000 - 0x1a185000 E:\eclipse\plugins\org.tigris.subversion.clientadapter.javahl.win32_1.6.4\libsvn_delta-1.dll 0x18cc0000 - 0x18ccd000 E:\eclipse\plugins\org.tigris.subversion.clientadapter.javahl.win32_1.6.4\libsvn_diff-1.dll 0x1a340000 - 0x1a375000 E:\eclipse\plugins\org.tigris.subversion.clientadapter.javahl.win32_1.6.4\libsvn_wc-1.dll 0x1a380000 - 0x1a3a0000 E:\eclipse\plugins\org.tigris.subversion.clientadapter.javahl.win32_1.6.4\libsvn_fs-1.dll 0x1a3a0000 - 0x1a3c2000 E:\eclipse\plugins\org.tigris.subversion.clientadapter.javahl.win32_1.6.4\libsvn_repos-1.dll 0x1a3d0000 - 0x1a44b000 E:\eclipse\plugins\org.tigris.subversion.clientadapter.javahl.win32_1.6.4\libsvn_ra-1.dll 0x1a450000 - 0x1a482000 E:\eclipse\plugins\org.tigris.subversion.clientadapter.javahl.win32_1.6.4\libsvn_client-1.dll 0x1a490000 - 0x1a4ba000 E:\eclipse\plugins\org.tigris.subversion.clientadapter.javahl.win32_1.6.4\libsvnjavahl-1.dll 0x7e550000 - 0x7e6c2000 C:\WINDOWS\system32\shdocvw.dll 0x75430000 - 0x754a1000 C:\WINDOWS\system32\CRYPTUI.dll 0x76c00000 - 0x76c2e000 C:\WINDOWS\system32\WINTRUST.dll 0x76c60000 - 0x76c88000 C:\WINDOWS\system32\IMAGEHLP.dll 0x5fdd0000 - 0x5fe24000 C:\WINDOWS\system32\NETAPI32.dll 0x76d70000 - 0x76d92000 C:\WINDOWS\system32\appHelp.dll 0x75e00000 - 0x75eae000 C:\WINDOWS\system32\SXS.DLL 0x3fde0000 - 0x40221000 C:\WINDOWS\system32\msi.dll 0x1adc0000 - 0x1ae3c000 C:\WINDOWS\system32\shdoclc.dll 0x7e210000 - 0x7e507000 C:\WINDOWS\system32\mshtml.dll 0x74620000 - 0x74647000 C:\WINDOWS\system32\msls31.dll 0x74650000 - 0x7467a000 C:\WINDOWS\system32\msimtf.dll 0x76060000 - 0x761b6000 C:\WINDOWS\system32\SETUPAPI.dll 0x60fd0000 - 0x61025000 C:\WINDOWS\system32\hnetcfg.dll 0x71a00000 - 0x71a08000 C:\WINDOWS\System32\wshtcpip.dll 0x1b2a0000 - 0x1b344000 C:\WINDOWS\system32\freeime.ime 0x18970000 - 0x18986000 D:\Program Files\Lingoes\Translator2\opentext2.dll VM Arguments: jvm_args: -Xms40m -Xmx256m java_command: E:\eclipse\startup.jar -os win32 -ws win32 -arch x86 -launcher E:\eclipse\eclipse.exe -name Eclipse -showsplash 600 -exitdata e8c_ac -vm E:\ufsoft\home\ufjdk\bin\javaw.exe -vmargs -Xms40m -Xmx256m -jar E:\eclipse\startup.jar Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=E:\ufsoft\home\ufjdk PATH=E:\ufsoft\home\ufjdk\bin;C:\oracle\product\10.2.0\db_2\bin;E:\ufsoft\ufjdk\bin;C:\Program Files\android\tools;D:\Dev Guide\grails-1.1.1\bin;D:\Dev Guide\groovy-1.6.2\bin;D:\Dev Guide\grails-1.1.1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Lenovo;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;C:\PROGRA~1\DISKEE~1\DISKEE~1\;C:\Program Files\Subversion\bin;C:\Program Files\CVS Suite\CVSNT Tools\;C:\Program Files\CVS Suite\ USERNAME=zhangql OS=Windows_NT PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel --------------- S Y S T E M --------------- OS: Windows XP Build 2600 Service Pack 2 CPU:total 2 family 6, cmov, cx8, fxsr, mmx, sse, sse2, ht Memory: 4k page, physical 1546468k(105488k free), swap 3481776k(1716996k free) vm_info: Java HotSpot(TM) Client VM (1.5.0_07-b03) for windows-x86, built on May 3 2006 01:04:38 by "java_re" with MS VC++ 6.0

如何摆脱ldap_connect()错误

<div class="post-text" itemprop="text"> <ul> <li>Windows Server 2016 64 bit (Fully Updated)</li> <li>WAMP/3.0.6 (Win32)</li> <li><p>Apache/2.4.9 (Win32)</p></li> <li><p>PHP/7.2.6 (Win32)</p></li> </ul> <p><strong>Error 1 : Fatal error: Uncaught Error: Call to undefined function ldap_connect()</strong></p> <p>I've been sitting with this error now for a while and I don't seem to get it sorted. Nothing I do seems to have any impact on this error. I also can't seem to find any source of these DLL files. My guess is that the DLL fails to load , because it's somehow not compatible with 7.2.6</p> <p><strong>What I have tried :</strong></p> <p>0.) Enabled extension in php.ini using the correct php.ini file</p> <p>1.) Copied <em>libeay32.dll,ssleay32.dll,php_ldap.dll,libsasl.dll</em> into <em>C:\Windows\system</em>, <em>\apache2.4.9\bin</em></p> <p>Everything else works fine. I can run phpinfo() and I have a few other sites on there that open up fine. My error log file is as follows :</p> <pre><code>[16-Jun-2018 20:17:30 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'php_curl.dll' (tried: d:/wamp/bin/php/php7.2.6/ext/php_curl.dll (The specified module could not be found.), d:/wamp/bin/php/php7.2.6/ext/php_php_curl.dll.dll (The specified module could not be found.)) in Unknown on line 0 [16-Jun-2018 20:17:30 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'php_ldap.dll' (tried: d:/wamp/bin/php/php7.2.6/ext/php_ldap.dll (The specified module could not be found.), d:/wamp/bin/php/php7.2.6/ext/php_php_ldap.dll.dll (The specified module could not be found.)) in Unknown on line 0 [16-Jun-2018 20:17:30 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'php_openssl.dll' (tried: d:/wamp/bin/php/php7.2.6/ext/php_openssl.dll (The specified module could not be found.), d:/wamp/bin/php/php7.2.6/ext/php_php_openssl.dll.dll (The specified module could not be found.)) in Unknown on line 0 [16-Jun-2018 20:17:30 UTC] PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0 </code></pre> <p>How can I get rid of the ldap error ?</p> </div>

PHP需要运行哪些文件?

<div class="post-text" itemprop="text"> <p>Im having a new concept im trying out and it would require me to strip out all none required libraries within a typical PHP Install.</p> <p>Within the main PHP folder we have a set of Dll files that i can't seem to figure out what there used for and im seeking some help.</p> <p>the PHP installation that im basing my project is <strong>PHP 5.3.5 Win32 x86</strong> which has the following set of files I need to figure out what they are used for.</p> <pre><code>05/01/2011 20:36 11,361,792 icudt38.dll 05/01/2011 20:36 1,140,224 icuin38.dll 05/01/2011 20:36 41,472 icuio38.dll 05/01/2011 20:36 187,904 icule38.dll 05/01/2011 20:36 42,496 iculx38.dll 05/01/2011 20:36 50,176 icutest.dll 05/01/2011 20:36 99,840 icutu38.dll 05/01/2011 20:36 1,093,120 icuuc38.dll 05/01/2011 20:36 1,019,392 libeay32.dll 05/01/2011 20:36 43,008 libenchant.dll 05/01/2011 20:36 44,544 libenchant_ispell.dll 05/01/2011 20:36 293,888 libenchant_myspell.dll 05/01/2011 20:36 97,792 libpq.dll 05/01/2011 20:36 68,608 libsasl.dll 05/01/2011 20:36 805,200 php5embed.lib 05/01/2011 20:36 209,408 ssleay32.dll </code></pre> <p>ive already isolated several files that I know are required such as <code>php5.dll</code>, can anyone shed some light on what these are so I can choose weather I should include them within my project.</p> <p>Regards</p> </div>

如何让Ldap在xampp上运行localhost?

<div class="post-text" itemprop="text"> <p>I have a issue where on my localhost (running on XAMPP) I get the below error <b>"Warning: ldap_bind(): Unable to bind to server: Can't contact LDAP server..."</b></p> <p>The same code works on the dev server. I have the same code and when i try running the application on my localhost (using XAMPP), it gives me the error.</p> <p>I tried the below steps I found online:-</p> <ol> <li><p>The xampp\php directory has the following files</p> <ul> <li>libeay32.dll</li> <li>libsasl.dll</li> <li>ssleay32.dll</li> </ul></li> <li><p>I uncommented the ldap extension in the php.ini (xampp\php\php.ini) file to below</p> <ul> <li><pre>extension=php_ldap.dll</pre></li> </ul></li> <li><p>Restarted the server</p></li> <li><p>xampp\php directory path is also in system environment variable PATH. </p></li> <li><p>phpinfo shows that LDAP is enabled.</p></li> </ol> <p>Still, not working. Any idea why from localhost it may not work?</p> <p>Edit: Adding Code</p> <pre> $hostname = "**********"; $port = 636; $bindDN = "cn=*** ***,ou=binds,dc=***,dc=*******,dc=***"; $bindPassword = "********"; if ($conn = ldap_connect('ldaps://' . $hostname . ':' . $port)) { if (!ldap_bind($conn, $bindDN, $bindPassword)) { return null; } else { return $conn; } } </pre> </div>

大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了

大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

springboot+jwt实现token登陆权限认证

一 前言 此篇文章的内容也是学习不久,终于到周末有时间码一篇文章分享知识追寻者的粉丝们,学完本篇文章,读者将对token类的登陆认证流程有个全面的了解,可以动态搭建自己的登陆认证过程;对小项目而已是个轻量级的认证机制,符合开发需求;更多精彩原创内容关注公主号知识追寻者,读者的肯定,就是对作者的创作的最大支持; 二 jwt实现登陆认证流程 用户使用账号和面发出post请求 服务器接受到请求后使用私...

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

总结了 150 余个神奇网站,你不来瞅瞅吗?

原博客再更新,可能就没了,之后将持续更新本篇博客。

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

程序员写出这样的代码,能不挨骂吗?

当你换槽填坑时,面对一个新的环境。能够快速熟练,上手实现业务需求是关键。但是,哪些因素会影响你快速上手呢?是原有代码写的不够好?还是注释写的不够好?昨夜...

外包程序员的幸福生活

今天给你们讲述一个外包程序员的幸福生活。男主是Z哥,不是在外包公司上班的那种,是一名自由职业者,接外包项目自己干。接下来讲的都是真人真事。 先给大家介绍一下男主,Z哥,老程序员,是我十多年前的老同事,技术大牛,当过CTO,也创过业。因为我俩都爱好喝酒、踢球,再加上住的距离不算远,所以一直也断断续续的联系着,我对Z哥的状况也有大概了解。 Z哥几年前创业失败,后来他开始干起了外包,利用自己的技术能...

优雅的替换if-else语句

场景 日常开发,if-else语句写的不少吧??当逻辑分支非常多的时候,if-else套了一层又一层,虽然业务功能倒是实现了,但是看起来是真的很不优雅,尤其是对于我这种有强迫症的程序"猿",看到这么多if-else,脑袋瓜子就嗡嗡的,总想着解锁新姿势:干掉过多的if-else!!!本文将介绍三板斧手段: 优先判断条件,条件不满足的,逻辑及时中断返回; 采用策略模式+工厂模式; 结合注解,锦...

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

2020阿里全球数学大赛:3万名高手、4道题、2天2夜未交卷

阿里巴巴全球数学竞赛( Alibaba Global Mathematics Competition)由马云发起,由中国科学技术协会、阿里巴巴基金会、阿里巴巴达摩院共同举办。大赛不设报名门槛,全世界爱好数学的人都可参与,不论是否出身数学专业、是否投身数学研究。 2020年阿里巴巴达摩院邀请北京大学、剑桥大学、浙江大学等高校的顶尖数学教师组建了出题组。中科院院士、美国艺术与科学院院士、北京国际数学...

为什么你不想学习?只想玩?人是如何一步一步废掉的

不知道是不是只有我这样子,还是你们也有过类似的经历。 上学的时候总有很多光辉历史,学年名列前茅,或者单科目大佬,但是虽然慢慢地长大了,你开始懈怠了,开始废掉了。。。 什么?你说不知道具体的情况是怎么样的? 我来告诉你: 你常常潜意识里或者心理觉得,自己真正的生活或者奋斗还没有开始。总是幻想着自己还拥有大把时间,还有无限的可能,自己还能逆风翻盘,只不是自己还没开始罢了,自己以后肯定会变得特别厉害...

男生更看重女生的身材脸蛋,还是思想?

往往,我们看不进去大段大段的逻辑。深刻的哲理,往往短而精悍,一阵见血。问:产品经理挺漂亮的,有点心动,但不知道合不合得来。男生更看重女生的身材脸蛋,还是...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试:第十六章:Java中级开发

HashMap底层实现原理,红黑树,B+树,B树的结构原理 Spring的AOP和IOC是什么?它们常见的使用场景有哪些?Spring事务,事务的属性,传播行为,数据库隔离级别 Spring和SpringMVC,MyBatis以及SpringBoot的注解分别有哪些?SpringMVC的工作原理,SpringBoot框架的优点,MyBatis框架的优点 SpringCould组件有哪些,他们...

早上躺尸,晚上干活:硅谷科技公司这么流行迟到?

硅谷科技公司上班时间OPEN早已不是什么新鲜事,早九晚五是常态,但有很多企业由于不打卡,员工们10点、11点才“姗姗来迟”的情况也屡见不鲜。 这种灵活的考勤制度为人羡慕,甚至近年来,国内某些互联网企业也纷纷效仿。不过,硅谷普遍弹性的上班制度是怎么由来的呢?这种“流行性迟到”真的有那么轻松、悠哉吗? 《动态规划专题班》 课程试听内容: 动态规划的解题要领 动态规划三大类 求最值/计数/可行性 常...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

终于懂了TCP和UDP协议区别

终于懂了TCP和UDP协议区别

Python爬虫,高清美图我全都要(彼岸桌面壁纸)

爬取彼岸桌面网站较为简单,用到了requests、lxml、Beautiful Soup4

无代码时代来临,程序员如何保住饭碗?

编程语言层出不穷,从最初的机器语言到如今2500种以上的高级语言,程序员们大呼“学到头秃”。程序员一边面临编程语言不断推陈出新,一边面临由于许多代码已存在,程序员编写新应用程序时存在重复“搬砖”的现象。 无代码/低代码编程应运而生。无代码/低代码是一种创建应用的方法,它可以让开发者使用最少的编码知识来快速开发应用程序。开发者通过图形界面中,可视化建模来组装和配置应用程序。这样一来,开发者直...

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

大三实习生,字节跳动面经分享,已拿Offer

说实话,自己的算法,我一个不会,太难了吧

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

Java岗开发3年,公司临时抽查算法,离职后这几题我记一辈子

前几天我们公司做了一件蠢事,非常非常愚蠢的事情。我原以为从学校出来之后,除了找工作有测试外,不会有任何与考试有关的事儿。 但是,天有不测风云,公司技术总监、人事总监两位大佬突然降临到我们事业线,叫上我老大,给我们组织了一场别开生面的“考试”。 那是一个风和日丽的下午,我翘着二郎腿,左手端着一杯卡布奇诺,右手抓着我的罗技鼠标,滚动着轮轴,穿梭在头条热点之间。 “淡黄的长裙~蓬松的头发...

大胆预测下未来5年的Web开发

在2019年的ReactiveConf 上,《Elm in Action》的作者Richard Feldman对未来5年Web开发的发展做了预测,很有意思,分享给大家。如果你有机会从头...

大牛都会用的IDEA调试技巧!!!

导读 前天面试了一个985高校的实习生,问了他平时用什么开发工具,他想也没想的说IDEA,于是我抛砖引玉的问了一下IDEA的调试用过吧,你说说怎么设置断点...

都前后端分离了,咱就别做页面跳转了!统统 JSON 交互

文章目录1. 无状态登录1.1 什么是有状态1.2 什么是无状态1.3 如何实现无状态1.4 各自优缺点2. 登录交互2.1 前后端分离的数据交互2.2 登录成功2.3 登录失败3. 未认证处理方案4. 注销登录 这是本系列的第四篇,有小伙伴找不到之前文章,松哥给大家列一个索引出来: 挖一个大坑,Spring Security 开搞! 松哥手把手带你入门 Spring Security,别再问密...

面试官:你连SSO都不懂,就别来面试了

大厂竟然要考我SSO,卧槽。

C 语言编程 — 堆栈与内存管理

目录 文章目录目录前文列表堆、栈内存管理动态分配内存重新调整内存的大小和释放内存 前文列表 《程序编译流程与 GCC 编译器》 《C 语言编程 — 基本语法》 《C 语言编程 — 基本数据类型》 《C 语言编程 — 变量与常量》 《C 语言编程 — 运算符》 《C 语言编程 — 逻辑控制语句》 《C 语言编程 — 函数》 《C 语言编程 — 高级数据类型 — 指针》 《C 语言编程 — 高级数据类...

立即提问
相关内容推荐