- 博客(4)
- 收藏
- 关注
原创 header is present on the requested resource. Origin 'null' is therefore not allowed access.
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.解决方案1,如果请求的url是PHP页面,则需要在PHP页面中添加代码:header("Access-Control-Allow-Origin:...
2018-12-27 16:07:56 6105
转载 php-fpm - 启动参数及重要配置详解
约定几个目录/usr/local/php/sbin/php-fpm/usr/local/php/etc/php-fpm.conf/usr/local/php/etc/php.ini一,php-fpm的启动参数帮助 01 02 03 04 05 06 07 08 09 10 11 12...
2018-12-21 17:25:04 195
原创 Linux下lnmp环境中重启nginx,MySQL,PHP
nginx 重启命令: /usr/local/nginx/sbin/nginx -s reload或者 service nginx restartPHP 重启命令:service php-fpm restartMySQL 重启命令:service mysql restart
2018-12-21 09:42:05 9336
原创 tp5根据数组进行分页
1,tp5根据数组分页控制器中代码 namespace app\index\controller;use \think\Controller;use \think\Db;use \think\Request;use think\paginator\driver\Bootstrap;class Index extends Controller{ public functio...
2018-12-07 14:34:38 2636 8
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人