随笔分类 -  PHP

上一页 1 2

模态框MODAL的一些事件捕捉
摘要:下表列出了模态框中要用到事件。这些事件可在函数中当钩子使用。 阅读全文

posted @ 2016-06-15 11:45 studyphp 阅读(5132) 评论(0) 推荐(0) 编辑

iOS微信第三方登录实现
摘要:http://www.jb51.net/article/78916.htm 阅读全文

posted @ 2016-06-15 10:01 studyphp 阅读(237) 评论(0) 推荐(0) 编辑

PHP ini 配置无效的坑给自己记录
摘要:装redis 扩展时,发现装成功之后扩展一直加载不上, 于是phpinfo 发现Configuration File (php.ini) Path:none Loaded Configuration File:none 于是复制一份,配置上 解决了,坑, 切记不着急 用心 阅读全文

posted @ 2016-06-08 09:46 studyphp 阅读(506) 评论(0) 推荐(0) 编辑

Ubutun 配置php redis 扩展
摘要:1、安装redis 下载:wget --no-check-certificate https://github.com/nicolasff/phpredis/archive/2.2.4.tar.gz tar zxvf phpredis-2.2.4.tar.gz #解压 cd phpredis-2.2 阅读全文

posted @ 2016-06-03 16:31 studyphp 阅读(176) 评论(0) 推荐(0) 编辑

Linux 开启定时计划任务
摘要:1、crontab 编辑“crontab -e # m h dom mon dow command30 18 * * * lynx -dump http://admin.koala.xxx 30 18 * * * lynx -dump http://admin.koala.xxx 30 18 * * 阅读全文

posted @ 2016-04-15 11:08 studyphp 阅读(261) 评论(0) 推荐(0) 编辑

查看PHP代码执行的时间
摘要:$t1 = microtime(true); //...要执行的代码$t2 = microtime(true); echo '耗时'.round($t2-$t1,3).'秒'; 阅读全文

posted @ 2016-04-10 00:44 studyphp 阅读(354) 评论(0) 推荐(0) 编辑

PHP--根据手机号-淘宝平台获取归属地运营商信息
摘要:      阅读全文

posted @ 2016-03-15 11:06 studyphp 阅读(2967) 评论(0) 推荐(0) 编辑

PHP 5.6 开启CURL HTTPS 类型
摘要:前几日要写微信支付接口,微信支付接口CURL地址是HTTPS。本机测试的是OK的,但是服务器缺提示错误--“ Protocol https not supported or disabled in libcurl”; 纠结了半天是因为curl不支持https ,并且在phpinfo 中查看 curl 阅读全文

posted @ 2016-03-07 14:42 studyphp 阅读(794) 评论(0) 推荐(0) 编辑

PHP 批量移动文件改名
摘要:public function changeCoverName(){ //$type = '考研'; //$coverPath = './Public/course_cover/kaoyan/'; $type = '四六级'; $coverPath = './Public/course_cover/ 阅读全文

posted @ 2016-03-05 12:02 studyphp 阅读(651) 评论(0) 推荐(0) 编辑

配置nginx1.8支持thinkPHP3.2 pathinfo模式
摘要:nginx 下conf/nginx.conf 或者自己的vhosts更改以前的参数location/{root html;indexindex.htmlindex.htmindex.php;try_files$uri/index.php$uri;if(!-e$request_filename)... 阅读全文

posted @ 2016-01-24 15:56 studyphp 阅读(540) 评论(0) 推荐(0) 编辑

PHP5.3的编译扩展
摘要:./configure --prefix=/usr/local/php --enable-fastcgi --enable-zip --enable-fpm --enable-gd-native-ttf --with-config-file-path=/usr/local/php/etc --wit... 阅读全文

posted @ 2015-12-21 12:39 studyphp 阅读(303) 评论(0) 推荐(0) 编辑

高负载PHP调优
摘要:高负载PHP调优针对PHP的Linux调优调整文件描述符限制#ulimit-n1000000#vi/etc/security/limits.conf#SettingShellLimitsforFileDescriptors*softnofile1000000*hardnofile1000000禁止P... 阅读全文

posted @ 2015-12-21 12:33 studyphp 阅读(280) 评论(0) 推荐(0) 编辑

windows mysql主 Linux mysql 从 主从同步,读写分离
摘要:Mysql 读写分离YIi 配置'yii\db\Connection', 'masterConfig' => [ // 'dsn' => 'mysql:host=localhost;dbname=studyyii', 'username' =>'root', 'password' =>'caesar... 阅读全文

posted @ 2015-05-29 16:51 studyphp 阅读(227) 评论(0) 推荐(0) 编辑

上一页 1 2

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示