-
php怎样切换版本?
[PHP教程] 2022-06-19 13:51:23 70人阅读
有时,PHP程序员在工作中可能会遇到要切换PHP版本的事情发生,老手当然不用想太多,一顿操作猛如虎,可是新手遇到要换版本的事情可就犯了难处,下面我将和大家讲讲如何怎么让多个PHP版本共存以及切换PHP版本。 编译P...[详细]
-
PHP加密扩展库Mcrypt安装和例子
[PHP教程] 2022-06-19 13:50:54 58人阅读
mcrypt简单介绍 PHP程序员们在编写代码程序时,除了要保证代码的高性能之外,还有一点是非常重要的,那就是程序的安全性保障。PHP除了自带的几种加密函数外,还有功能更全面的PHP加密扩展库Mcrypt和Mhash。 其中,Mc...[详细]
-
XAMPP安装与使用方法详细分析
[PHP教程] 2022-06-19 13:50:28 182人阅读
XAMPP 是一个把Apache网页服务器与PHP、Perl及MySQL集合在一起的安装包,允许用户可以在自己的电脑上轻易的建立网页服务器。使用 XAMPP 您可以轻松的在本机调试您的 PHP 程序、CMS以及 wordpress 博客程序。本文主要...[详细]
-
phpstrom使用xdebug配置方法推荐
[PHP教程] 2022-06-19 13:49:57 84人阅读
phpstrom使用xdebug配置方法推荐 1 到 http://xdebug.org/download.php下载xdebug。注意找到自己对应的php版本。或者可以通过 http://xdebug.org/wizard.php页面,将phpinfo的信息复制进去,点最下面的分析。它会告...[详细]
-
部署PHP项目应该注意的几点事项介绍
[PHP教程] 2022-06-19 13:49:11 180人阅读
在部署PHP项目时,有几点需要特别注意,也是初学者比较容易忽视的点: 一、下载WAMPServer后,如何安装配置? 二、如何通过客户端管理MySQL数据库? 三、如何通过IP地址访问PHP网站,如果在局域网内部访问服务器上的...[详细]
-
memcache命令开启参数中文解释
[PHP教程] 2022-06-19 13:48:43 181人阅读
这篇文章主要介绍了memcache命令启动参数中文解释,大家参考使用吧。 usr/local/bin/memcached -d -m 128 -u root -l 192.168.0.10 -p 12121 -c 256 -P /tmp/memcached.pid -p 监听的TCP端口(默认: 11211) -U UDP监听...[详细]
-
更改apache配置文件去除thinkphp url中的index.
[PHP教程] 2022-06-19 13:48:22 177人阅读
这篇文章主要介绍了修改apache配置文件去除thinkphp url中的index.php的方法,大家参考使用吧。 例如你的原路径是 http://localhost/test/index.php/index/add 那么现在的地址是 http://localhost/test/index/add 如...[详细]
-
linux系统下php安装mbstring扩展的二种方法推荐
[PHP教程] 2022-06-19 13:47:56 179人阅读
这篇文章主要介绍了linux系统环境下,php安装mbstring扩展的二种方法,大家参考使用吧 1.执行代码如下: yum install php-mbstring 2. 修改php.ini (这一步非常重要, 部分lxadmin版本无法自动修改),代码如下: echo e...[详细]
-
PHP添加Xdebug扩展的方法步骤
[PHP教程] 2022-06-19 13:47:25 110人阅读
xdegug是一个很好的php调试扩展,安装方法也很简单,基本和其他的扩展安装方式差不多. 一、下载对应的DLL 下载地址:https://xdebug.org/download.php 里面选择对应的php版本以及windows 32/64位 版本 二、把文件放...[详细]
-
php-fpm配置规格详解
[PHP教程] 2022-06-19 13:46:51 127人阅读
这篇文章主要介绍了php-fpm配置详解,需要的朋友可以参考下 php5.3自带php-fpm 代码如下: /usr/local/php/etc/php-fpm.conf pid = run/php-fpm.pid pid设置,默认在安装目录中的var/run/php-fpm.pid,建议开启 error_...[详细]
- 这篇文章主要介绍了Laravel 5.0 发布 新版本特性详解,...[详细]
- 计算两个日期之间的时间差需要先把两个日期转换成纪元...[详细]
- 初步使用面向对象程序设计,要掌握的就是使用面向对象...[详细]
- 每个 PHP 数组内部都有一个指针,该指针指向数组的某...[详细]
- 因为 PHP 是一个 Web 编程语言,在编程过程中难免会遇...[详细]
- PHP 中提供了 return 语句来返回函数的运行结果,其语...[详细]
- final 关键字的作用如下: 使用 final 修饰的类,不能...[详细]
- 在使用 switch 语句时应该注意以下几点: 和 if 语句...[详细]
- 这篇文章主要给大家介绍了关于PHP替换Word中变量并导...[详细]
- 这篇文章主要介绍了PHP常量DIRECTORY_SEPARATOR原理及...[详细]