-
PHP添加MongoDB扩展实例教程
[PHP教程] 2022-06-21 14:23:20 198人阅读
由于要使用mikoomi mongodb plugin插件,所以需要php对mongodb的扩展支持,默认通过源安装的php并没有mongodb的扩展支持,具体可以通过php -m|grep mongo 验证,这里就结合phpize提供的动态扩展功能进行mongodb的扩展. ...[详细]
-
php中Composer 安装与使用教程
[PHP教程] 2022-06-21 14:22:55 131人阅读
Composer是PHP中用来管理依赖(dependency)关系的工具,你可以在自己的项目中声明所依赖的外部工具库(libraries),Composer会帮你安装这些依赖的库文件,下面我们一起来看composer安装方法. 下午在安装 Laravel 框架过程...[详细]
-
PHP-5.5.x + Xdebug + Zend Studio 调试环境设
[PHP教程] 2022-06-21 14:22:34 56人阅读
为什么不用zend debugger,反而舍本求末用个偏方呢?因zend debugger目前最高只支持到php-5.3.x,php-5.4.x和php-5.5.x搞不定,所以需要xdebug,它就一备胎. 1、下载安装xdebug 1.1 到http://xdebug.org/download.php 下...[详细]
-
PHP StartupUnable to load dynamic library
[PHP教程] 2022-06-21 14:22:10 132人阅读
昨天帮一朋友配置服务器结果发现apache日志中有PHP Warning: PHP Startup: Unable to load dynamic library 提示了,然后调试数据库连接发现提示Call to undefined function mysql_connect()错误,这样就想到了是mysql...[详细]
-
php无阻塞SSH客户端实例
[PHP教程] 2022-06-21 14:21:51 58人阅读
之前工作中必须和国外服务器打交道,延迟和丢包问题有时候非常严重,已经到了不可忍受的地步,输入一条sql都是很费劲的事情,google搜了一遍没有找到非阻塞的ssh客户端,PHP有SSH2扩展,利用标准输入输出理论上可以实现一...[详细]
-
PHP扩展Xdebug的安装使用实例
[PHP教程] 2022-06-21 14:21:11 176人阅读
Xdebug是什么?它是一款可以用来调试php代码运行一款工具,下面小编来给大家介绍Xdebug安装方法,下面教程是基于linux与windows系统的. Q:xdebug是什么? A:xdebug是一个开源的php调试器,以php模块的形式加载并被使用....[详细]
-
php安装curl模板方法详解
[PHP教程] 2022-06-21 14:20:49 130人阅读
curl 是使用URL语法的传送文件工具,支持FTP、FTPS、HTTP HTPPS SCP SFTP TFTP TELNET DICT FILE和LDAP,curl 支持SSL证书、HTTP POST、HTTP PUT 、FTP 上传,kerberos、基于HTT格式的上传、代理、cookie、用户+口令证...[详细]
-
PHP XDebug配置与安装方法详解
[PHP教程] 2022-06-21 14:20:31 138人阅读
XDebug是php的一款调试工具了,我们可使用像echo,print等等来调用错误,但我们这些函数没办法检查函数执行次数与执行时间了,而利用XDebug就完全可以实现,下面我来介绍在winodws中php XDebug配置与安装过程. 我们先要去...[详细]
-
php sockets扩展安装配置详解
[PHP教程] 2022-06-21 14:20:12 153人阅读
今天安装cacti发现需要php sockets扩展,而现在的lnmp没有安装,于是想到了phpzie工具安装扩展,安装方法如下. linux中打开sockets扩展,代码如下: 1.cd php-5.3.8/ext/sockets/ 2./usr/local/php/bin/phpize 3../config...[详细]
-
php安装redis扩展初始化失败解决办法
[PHP教程] 2022-06-21 14:19:54 130人阅读
错误信息如下: PHP Warning: PHP Startup: redis: Unable to initialize module Module compiled with module API=20050922 PHP compiled with module API=20090626 These options need to match in Unknown on line...[详细]
- 这篇文章主要介绍了Laravel 5.0 发布 新版本特性详解,...[详细]
- 计算两个日期之间的时间差需要先把两个日期转换成纪元...[详细]
- 初步使用面向对象程序设计,要掌握的就是使用面向对象...[详细]
- 每个 PHP 数组内部都有一个指针,该指针指向数组的某...[详细]
- 因为 PHP 是一个 Web 编程语言,在编程过程中难免会遇...[详细]
- PHP 中提供了 return 语句来返回函数的运行结果,其语...[详细]
- final 关键字的作用如下: 使用 final 修饰的类,不能...[详细]
- 在使用 switch 语句时应该注意以下几点: 和 if 语句...[详细]
- 这篇文章主要给大家介绍了关于PHP替换Word中变量并导...[详细]
- 这篇文章主要介绍了PHP常量DIRECTORY_SEPARATOR原理及...[详细]