【转载】PHPStorm+XDebug进行调试图文教程
转自:https://www.jb51.net/article/86426.htm 一、XDebug安装配置 (1)下载XDebug下载地址: http://www.xdebug.org/ 必须下载跟机器上安装的php匹配的版本才行。具体下…
记录学习和工作
转自:https://www.jb51.net/article/86426.htm 一、XDebug安装配置 (1)下载XDebug下载地址: http://www.xdebug.org/ 必须下载跟机器上安装的php匹配的版本才行。具体下…
1.composer下载: https://docs.phpcomposer.com/00-intro.html Manual-Installation 2.切换镜像:composer config -g repo.packagist co…
转自:https://www.awaimai.com/371.html 在搭建 LAMP/LNMP 服务器时,会经常遇到 PHP-FPM、FastCGI和CGI 这几个概念。如果对它们一知半解,很难搭建出高性能的服务器。接下来我们就以图形方…
转自:https://www.cnblogs.com/attitudeY/p/6798956.html 更换Apache扑向Nginx,刚搭建完WNMP,nginx能访问php页面 但是访问现有开发项目报错 1 [error] 4112 3…
起初仿照默认文件server中的写法,引用的是enable-php.conf,但这个配置不支持tp5的pathinfo形式的url,因此改为引入enable-php-pathinfo.conf即可。 enable-php.conf内容: l…
转自:https://blog.csdn.net/qq 28450919/article/details/81879521 准备把laravel项目部署到lnmp环境的时候出现了500错误 先开启 php.ini 中的错误提示 displa…
转自:https://blog.csdn.net/weixin 29408705/article/details/115128200 前言 PHP从5.4开始,就提供了一个内置的web服务器。 这个主要是用来做本地的开发用的。不能用于线上环…
转自:https://zhuanlan.zhihu.com/p/259833884 搭建 Linux 虚拟机,别再用 VirtualBox 从 .iso 文件安装了。 概述 2020 年了,也许你已经习惯了 docker,习惯了在 XX 云…
在config/app.php中添加: 'DB CONFIG'=>array( // 数据库类型 'type' => 'mysql', // 服务器地址 'hostname' => '127.0.0.1', // 数据库名…
批量插入1000万条数据: public function insertData(){ set time limit(0); ini set("memory limit",-1); $startTime = time(); // 插入100…