![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
php
李先生
这个作者很懒,什么都没留下…
展开
-
PHP通过apache的mod_rewrite实现伪静态
1、首先开启apache里的mod_rewrite模块 去掉 LoadModule rewrite_module modules/mod_rewrite.so 这一行前面的 “#”2、在项目的根目录下新建.htaccess文件,用notepad++ 或者其它编辑器打开文件,并写入示例中的两句话 RewriteEngine on原创 2017-02-17 12:04:54 · 429 阅读 · 0 评论 -
PHP中Ajax返回乱码问题
描述:通过jquery的$.ajax调用PHP页面 , 并在json_encode之后返回。错误: 一直出现 例如:???X3 之类的错误 ,无法正常使用解决方法: 1、 在php的ajax页面头部加上 : @header('Content-type: text/html;charset=UTF-8'); 2、在mysql_qu原创 2017-02-17 12:06:47 · 1208 阅读 · 0 评论 -
Apache is running a threaded MPM, but your php module is not compiled to be threadsafe. you need to
【详细错误】:Apache is running a threaded MPM, but your php module is not compiled to be threadsafe. you need to recompile php. pre-configuration failed.【造成原因】:不重新安装Appserv,直接升级PHP, 原php版本是无线程安全(nts)的,因转载 2017-02-17 12:08:14 · 4866 阅读 · 2 评论