摘要: 配置文件(php.ini)在 PHP 启动时被读取。对于服务器模块版本的 PHP,仅在 web 服务器启动时读取一次。对于CGI 和 CLI 版本,每次调用都会读取。 php.ini 的搜索路径如下(按顺序): SAPI 模块所指定的位置(Apache 2 中的 PHPIniDir 指令,CGI 和 阅读全文
posted @ 2018-09-04 13:47 Flint99 阅读(588) 评论(0) 推荐(1) 编辑
摘要: 来源:php官方文档 Init script setup You will probably want to create an init script for your new php-fpm. Fortunately, PHP 5.3.3 provides one for you, which 阅读全文
posted @ 2018-09-04 11:13 Flint99 阅读(193) 评论(0) 推荐(1) 编辑
摘要: 来源:php官方文档 网站和 web 应用程序(服务器端脚本) 命令行脚本 桌面(GUI)应用程序 相信大多数人都不知道第三种,用php竟然可以写GUI,当然是基于PHP-GTK扩展写的 阅读全文
posted @ 2018-09-04 10:39 Flint99 阅读(267) 评论(0) 推荐(1) 编辑
摘要: 来源 php.net 评论区 -- nucc1 worth clarifying: POST is not more secure than GET. The reasons for choosing GET vs POST involve various factors such as inten 阅读全文
posted @ 2018-09-04 09:53 Flint99 阅读(173) 评论(0) 推荐(1) 编辑
摘要: 来源 php.net 官网评论截取 -- Declan kelly Please note that Internet Explorer 11 no longer contains MSIE in its user agent string, for example on Windows 8 wit 阅读全文
posted @ 2018-09-04 09:36 Flint99 阅读(708) 评论(0) 推荐(1) 编辑
摘要: php version 7.0 redis 下载地址 https://pecl.php.net/package/redis 7.0版本的redis不再依赖php_igbinary.dll扩展,可以独立运行 路径最好是绝对路径 php cig的端口不要和phpstorm监听端口一致,否则会造成端口冲突 阅读全文
posted @ 2018-09-03 12:32 Flint99 阅读(104) 评论(0) 推荐(1) 编辑
摘要: 英文中文语法 emit 发射 vt Semicolon 分号 n identical 相同 be identical to 和...相同 customize 定制 vt Customize your book 定制书籍 ​ Customize your book 定制书籍 ​ 阅读全文
posted @ 2018-08-30 15:08 Flint99 阅读(189) 评论(0) 推荐(1) 编辑
摘要: 内连接 inner join (join) 交叉连接 cross join 笛卡尔积 效率低 外连接 outer join (left join ,right join ,full join) 没有约束条件(没有where。。)时候,inner join 和 cross join 结果集一样 阅读全文
posted @ 2018-08-30 14:20 Flint99 阅读(442) 评论(0) 推荐(1) 编辑
摘要: select * from table where 0 = 1; 阅读全文
posted @ 2018-08-30 13:48 Flint99 阅读(174) 评论(0) 推荐(1) 编辑
摘要: 1 name(); 6 } 7 8 function name () 9 { 10 return 'love'; 11 } 12 } 13 14 class B extends A{ 15 16 public function name () 17 { 18 return "hate"; 19... 阅读全文
posted @ 2018-08-30 11:14 Flint99 阅读(220) 评论(0) 推荐(1) 编辑