随笔分类 - php
摘要:解决方法: yum install libtool-ltdl-devel libtool-ltdl yum install -y libtidy-devel
阅读全文
摘要:解决方法: cp -frp /usr/lib64/libldap* /usr/lib/
阅读全文
摘要:问题: configure: error: Please install libyaml 解决方法,安装libyaml https://github.com/yaml/libyaml/archive/0.2.5.tar.gz tar xf 0.2.5.tar.gz cd libyaml-0.2.5.
阅读全文
摘要:错误: undefined reference to `__dn_skipname' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 解决: make clean make ZEND_EXTRA_LIBS='-lr
阅读全文
摘要:问题1: /usr/local/php/bin/phpize Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun t
阅读全文
摘要:错误如下: [root@centos7 openssl-3.0.1]# ./config --help Can't locate IPC/Cmd.pm in @INC (@INC contains: /root/Downloads/openssl-3.0.1/util/perl /usr/local
阅读全文
摘要:问题:安装完php后执行php -m 查看, 没有自己额外安装的扩展模块,但是php.ini里面是添加了的 解决: 后来查看发现,是我编译的时候写错了路径,导致php在编译路径下找不到php.ini文件,重新编译指定–with-config-file-path=/usr/local/php71/et
阅读全文
摘要:1、手动下载安装 http://ftp.gnu.org/pub/gnu/libiconv/ 2、在当前目录下解压,并进入解压后的文件夹,后续步骤全程用管理员权限进行 tar -zxvf libiconv-1.16.1.tar.gz cd libiconv-1.16.1 3、编译与安装 ./confi
阅读全文
摘要:问题: Starting php-fpm /usr/local/php53/sbin/php-fpm: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file
阅读全文
摘要:问题1: make: *** [libphp5.la] Error 1 解决: yum install libtool-ltdl-devel 问题2: /bin/ld: ext/standard/dns.o: undefined reference to symbol '__dn_skipname@
阅读全文
摘要:# php5.5版本 <?php $conn = mysql_connect('ip地址','用户名','密码'); if($conn) { mysql_select_db("codo_cmdb",$conn); $sql="select * from asset_server"; $result=
阅读全文