-
Windows php5.6安装Imagick库的方法详情
[PHP教程] 2022-06-14 12:56:11 112人阅读
Windows上的安装坑比较多 1、安装Imagick,需要下载6.9.3之下版本的 http://imagemagick.org/script/download.php 官网都是新版本不可以用 我安装成功的是ImageMagick-6.8.6-9-Q16-x86-dll.exe特别注意:安装路径不...[详细]
-
linux下php安装php-kafka和php-rdkafka扩展的方
[PHP教程] 2022-06-14 12:55:43 100人阅读
具体步骤: 1、安装librdkafka cd /usr/local/src #进入安装包存放目录 wget https://github.com/edenhill/librdkafka/archive/master.zip #下载 mv master.zip librdkafka-master.zip #修改包名 unzip librdkafka-m...[详细]
-
linux下 php 安装xml扩展的方法教程
[PHP教程] 2022-06-14 12:55:14 196人阅读
php linux下安装xml扩展 1、进入PHP安装源码包,找到ext下的ftp,进入 cd /home/local/php-5.6.25/ext/xml 2、/usr/local/php/bin/phpize 3、./configure --with-php-config=/usr/local/php/bin/php-config 4、make ...[详细]
-
Centos中PHP5升级为PHP7的方法
[PHP教程] 2022-06-14 12:54:08 168人阅读
Centos中PHP5升级为PHP7的方法 1、首先下载PHP7安装包,使用wget http://am1.php.net/distributions/php-7.2.0.tar.bz2,或者直接访问下载,然后ftp到linux服务器 2、解压压缩包,tar xjf php-7.0.2.tar.bz2 3、进入...[详细]
-
php.ini配置中有3处操作不当会使网站存在安全问
[PHP教程] 2022-06-14 12:53:43 167人阅读
所有的PHP源码网站都必须配置环境,不论是使用集成环境还是自己手动搭建,可能很少有人关注过php.ini里面配置的这些东西到底有什么作用,很多站长在设置php.ini文件时,都是网上找一个教程,然后人家说哪里增加哪里...[详细]
-
在php中常用的4种运行方式
[PHP教程] 2022-06-14 12:53:12 70人阅读
本篇文章给大家介绍一下php的4种常用运行方式:CGI、FastCGI、APACHE2HANDLER和CLI。有一定的参考价值,有需要的朋友可以参考一下,希望对大家有所帮助。 PHP的4种常用运行方式:CGI、FastCGI、APACHE2HANDLER、CLI...[详细]
-
PHP数据库构架Medoo1.6安装教程
[PHP教程] 2022-06-14 12:51:21 194人阅读
开始:使用Medoo是非常简单的事! Medoo1.2开始不支持PHP5.4或以下,若你使用的是1.2以前的版本,请选择菜单 中文文档(1.2) 要求: 1、PHP=5.4, 必须支持PDO 2、支持 MySQL, MSSQL, SQLite 等数据库. 3、确保php_pdo_xx...[详细]
-
PHP 微服务集群组建Hyperf
[PHP教程] 2022-06-14 12:50:34 179人阅读
微服务的概念由 Martin Fowler 于2014年3月提出: 微服务架构是一种架构模式,它提倡将单一应用程序划分成一组小的服务,服务之间相互协调、互相配合,为用户提供最终价值。每个服务运行在其独立的进程中,服务和服...[详细]
-
PHP网页缓存技术优点及代码实例
[PHP教程] 2022-06-14 12:46:55 72人阅读
这篇文章主要介绍了PHP网页缓存技术优点及代码实例,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友可以参考下. 前台静态化:把动态页面解析后保存为静态页面 文件缓存:把...[详细]
-
PHP底层运行机制与工作原理详解
[PHP教程] 2022-06-14 12:46:31 87人阅读
最近搭建服务器,突然感觉lamp之间到底是怎么工作的,或者是怎么联系起来?平时只是写程序,重来没有思考过他们之间的工作原理: PHP底层工作原理 PHP底层运行机制与工作原理详解 图1 php结构 从图上可以看出,php从...[详细]
- 这篇文章主要介绍了Laravel 5.0 发布 新版本特性详解,...[详细]
- 计算两个日期之间的时间差需要先把两个日期转换成纪元...[详细]
- 初步使用面向对象程序设计,要掌握的就是使用面向对象...[详细]
- 每个 PHP 数组内部都有一个指针,该指针指向数组的某...[详细]
- 因为 PHP 是一个 Web 编程语言,在编程过程中难免会遇...[详细]
- PHP 中提供了 return 语句来返回函数的运行结果,其语...[详细]
- final 关键字的作用如下: 使用 final 修饰的类,不能...[详细]
- 在使用 switch 语句时应该注意以下几点: 和 if 语句...[详细]
- 这篇文章主要给大家介绍了关于PHP替换Word中变量并导...[详细]
- 这篇文章主要介绍了PHP常量DIRECTORY_SEPARATOR原理及...[详细]