摘要: 用rpm -qa|grep php查看有哪些php文件 用rpm -e 文件名进行删除 最后hash -r 阅读全文
posted @ 2018-04-03 08:28 越吒三太子 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 在php.ini文件中将 opcache.enable=1 opcache.memory_consumption=128 之前的;去掉 并在最后一行加入 zend_extension="opcache.so"来引入 然后重启服务器 阅读全文
posted @ 2018-04-02 14:52 越吒三太子 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 执行:wget http://soft.vpser.net/lnmp/upgrade_php.sh;/bin/bash upgrade_php.sh 在http://www.php.net/downloads.php中查找想要升级的版本 输入版本号+回车(例如:7.2.4) 阅读全文
posted @ 2018-04-02 14:05 越吒三太子 阅读(89) 评论(0) 推荐(0) 编辑
摘要: vim /etc/profile 在最后加入 PATH=$PATH:/xxx/xxx/xxx/bin export PATH 保存退出后 source /etc/profile 阅读全文
posted @ 2018-03-05 13:25 越吒三太子 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 从官网http://ffmpeg.org/下载最新版本. 阅读全文
posted @ 2018-03-05 10:49 越吒三太子 阅读(1569) 评论(0) 推荐(0) 编辑
摘要: 可以查看/sites/default/settings.php文件,将localhost换成127.0.0.1 阅读全文
posted @ 2018-01-09 13:38 越吒三太子 阅读(89) 评论(0) 推荐(0) 编辑
摘要: Drupal用PHPExcel写了一个模块,导出Excel文档.报http error 500错误 可能是代码错误 nginx服务器 可以在/usr/local/lnmp/php/var/log/error_log查看PHP代码是否有报错.从而解决问题. 阅读全文
posted @ 2018-01-09 13:37 越吒三太子 阅读(470) 评论(0) 推荐(0) 编辑