下载 相应的 PHP APACHE MUSQL 先配置APACHE 1.改Apache配置文件(D:\PHP\Apache\conf\httpd.conf) 2.修改地方: //指定php配置文件路径 3. 添加phpinidir "D:/PHP/PHP5" 设置php配置文件目录(先确保PHP安装 ...
分类:
数据库 时间:
2017-09-30 10:00:14
阅读次数:
185
1、将网址在页面上打开可以正常访问,但是用file_get_content请求则访问不到。这个是因为对方挡住了非浏览器访问导致的。需要改下php配置,模拟浏览器访问。 user_agent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" ...
分类:
Web程序 时间:
2017-09-27 19:12:13
阅读次数:
173
解决zabbix使用中文是出现乱码的问题 ①:上传windows的simhei.ttf字体到zabbix服务器的/usr/share/zabbix/fonts/目录下 ②:编辑/usr/share/zabbix/include/defines.inc.php配置文件,修改 define('ZBX_F ...
分类:
其他好文 时间:
2017-09-26 21:19:01
阅读次数:
145
php version 5.6.31、nginx version: nginx/1.10.2 1、下载: 2、安装组件 3、解决64位系统的问题,编译时会报错:configure: error: Cannot find ldap libraries in /usr/lib 4、安装liviconv ...
分类:
Web程序 时间:
2017-09-18 22:23:24
阅读次数:
347
配置nginx与ftp图片服务器:安装后,要在/usr/local/nginx/conf/nginx.conf里面的server中(带有localhost的那一块)修改为location \ {root /home/ftpuser/www;index index.html index.php ind ...
分类:
其他好文 时间:
2017-09-15 14:48:57
阅读次数:
144
安装环境支持 Microsoft Visual C++ 2012 net framework 4.5 php配置 precision = 20 serialize_precision = 100 max_input_vars = 2500 error_log = "/logs/php_errors. ...
源码安装php 配置nginx fastcgi模块 ...
分类:
Web程序 时间:
2017-09-12 23:14:23
阅读次数:
313
tp3.2.3在php5.6版本和版本以上的确会出现不能隐藏index.php大多数伙伴只看文档里面提供的方法产生了误导。官方文档中.htaccess里面RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]在php5.6以下有用。要是php5.6或者php5.6以上就 ...
分类:
数据库 时间:
2017-09-07 11:58:54
阅读次数:
189
下配置好的PHP环境中,GD库不像windows那样可以直接用,而是默认关闭,需要把它打开,去到php.ini文件中 找到php_gd2.dll把分号去掉即可。(注:GD库跟绘制二维码等有关) ...
分类:
Web程序 时间:
2017-08-24 10:42:41
阅读次数:
148
1、在httpd.conf中引入httpd-vhosts.conf 2、在httpd.conf中开启mod_rewrite.so 3、在httpd-vhosts.conf中配置虚拟主机 AllowOverride All 的作用: AllowOverride All主要是为了实现URL重写,这点在T ...
分类:
Web程序 时间:
2017-08-24 10:37:37
阅读次数:
164