2017年4月26日

mysql 用户管理

摘要: 一, 创建用户: 命令:CREATE USER 'username'@'host' IDENTIFIED BY 'password'; 说明:username - 你将创建的用户名, host - 指定该用户在哪个主机上可以登陆,如果是本地用户可用localhost, 如果想让该用户可以从任意远程主 阅读全文

posted @ 2017-04-26 22:46 荣锋亮 阅读(253) 评论(0) 推荐(0) 编辑

js之iframe子页面与父页面通信

摘要: iframe子页面与父页面通信根据iframe中src属性是同域链接还是跨域链接,通信方式也不同。 一、同域下父子页面的通信 父页面parent.html <html> <head> <scripttype="text/javascript"> function say(){ alert("pare 阅读全文

posted @ 2017-04-26 22:27 荣锋亮 阅读(291) 评论(0) 推荐(0) 编辑

nginx FastCGI错误Primary script unknown解决办法

摘要: 解决方法: 修改 fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; 为: fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_para 阅读全文

posted @ 2017-04-26 22:24 荣锋亮 阅读(571) 评论(0) 推荐(0) 编辑

nginx php-fpm

摘要: 1. nginx php-fpm yum install nginx yum install php-fpm yum install nginx yum install php-fpm 2. 配置 nginx.conf location ~ \.php$ { root /usr/share/ngin 阅读全文

posted @ 2017-04-26 22:24 荣锋亮 阅读(260) 评论(0) 推荐(0) 编辑

导航