摘要: 了解下include、include_once、require和require_once这4个函数: include函数:会将指定的文件读入并且执行里面的程序; require函数:会将目标文件的内容读入,并且把自己本身代换成这些读入的内容; include_once 函数:在脚本执行期间包含并运行 阅读全文
posted @ 2019-07-14 16:13 anobscureretreat 阅读(324) 评论(0) 推荐(0)
摘要: sudo apachectl start sudo apachectl stop sudo apachectl restart 阅读全文
posted @ 2019-07-14 15:51 anobscureretreat 阅读(193) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/wilwei/p/10244774.html 阅读全文
posted @ 2019-07-14 15:09 anobscureretreat 阅读(2132) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/b0cca588f14d 阅读全文
posted @ 2019-07-14 14:59 anobscureretreat 阅读(1161) 评论(0) 推荐(0)
摘要: 重新安装PHP 安装php7.1 会提示安装在哪里 点击配置 配置cgi,将/usr/local/opt/php@7.1/bin 粘贴到下方输入框中,就会自动补全 新建文件,在PHPstorm 中打开 如图 结果 参考: https://www.jianshu.com/p/abea83253671 阅读全文
posted @ 2019-07-14 14:24 anobscureretreat 阅读(892) 评论(0) 推荐(0)
摘要: http://tool.chinaz.com/tools/unicode.aspx 阅读全文
posted @ 2019-07-14 13:31 anobscureretreat 阅读(213) 评论(0) 推荐(0)
摘要: https://xdebug.org/download.php 阅读全文
posted @ 2019-07-14 13:30 anobscureretreat 阅读(417) 评论(0) 推荐(0)
摘要: https://php.net/manual/en/configuration.file.php 阅读全文
posted @ 2019-07-14 11:04 anobscureretreat 阅读(120) 评论(0) 推荐(0)
摘要: 打开php.ini配置文件,找到extension=php_pdo.dll 和 extension=php_pdo_mysql.dll ,去掉前面“;”的注释,修改后的两行配置内容如下: extension=php_pdo.dllextension=php_pdo_mysql.dll https:/ 阅读全文
posted @ 2019-07-14 11:01 anobscureretreat 阅读(1245) 评论(0) 推荐(0)
摘要: cd /etc sudo cp php.ini.default php.ini 阅读全文
posted @ 2019-07-14 10:59 anobscureretreat 阅读(170) 评论(0) 推荐(0)
摘要: 我们将下载的phpmyadmin 放在apache目录中,进入phpmyadmin目录, 首先将这个目录中的配置文件改名 然后修改config.inc.php,将 改为 刷新网页 然后使用mysql 的用户名以及密码登陆即可。 参考: https://blog.csdn.net/elesos/art 阅读全文
posted @ 2019-07-14 02:16 anobscureretreat 阅读(553) 评论(0) 推荐(0)
摘要: 下载 https://dev.mysql.com/downloads/mysql/5.7.html#downloads 下一步,经过一系列安装步骤后,会跳出一个这样的界面,请注意!!! 上面红框中是你的初始MySQL密码,请一定要记住!! 安装完成后,点击苹果图标,然后点击系统偏好设置,在打开的窗口 阅读全文
posted @ 2019-07-14 01:54 anobscureretreat 阅读(2475) 评论(0) 推荐(0)
摘要: mac 下自带apache apache 管理 启动后,在浏览器中输入localhost,如果出现如下默认的“It works!”界面,则表示Apache开启成功。 自带PHP 开启PHP,需要修改Apache配置文件,方法如下 将以下内容取消注释 Mac下Apache的默认文件夹为/Library 阅读全文
posted @ 2019-07-14 00:48 anobscureretreat 阅读(421) 评论(0) 推荐(0)