English 中文(简体)
XAMPP 如何装入 mod_ exdiples
原标题:XAMPP how to load mod_expires

我有 XAMPP, 我可以看到文件 mod_ expires. 所以正在追踪中

...XAMPPachachemodelsmod_ exdires. 如此。

不过,我认为这个模块没有装货有两个原因:

第一:调用 phpinfo () 时未列出mod_ Exdires ()

第二,我是否在.htaccess 文件中添加缓存时限, 我发现500个服务器错误 。

(在.httaccess 内有缓存代码)

<IfModule mod_expires.c>
# Activate mod_expires for this directory
ExpiresActive on
#HTML documents are good for a week from the time they were changed
ExpiresDefault M604800 
</IfModule>

两个问题,然后:

mod_ explires. so 文件是否显示模块已安装?

如果 " 是 ", 我如何启用或激活?

如果没有,如何安装和启用 XAMPP?

谢谢

最佳回答

要装入过期模块, 假设它是 XAMPP 软件包的一部分, 我们需要从 apache s 配置文件卸载装入模块 。

首先检查 XAMPP 软件包是否有模块 :

转到 C:XAMPPapachachemodule 并查找文件 mod_ explires.so

如果您有此文件, 请转到文件 C: XAMPPapacheconfhttpd. conf, 并搜索“ mod_ explires. so ” 。

你等着瞧吧

#LoadModule expires_module modules/mod_expires.so

取消此直线的注释,以便有

LoadModule expires_module modules/mod_expires.so

重置服务器

问题回答

暂无回答




相关问题
XAMPP on Win7 too slow

I m running XAMPP 1.7.1 on Windows 7 Ultimate. Everything (Apache & MySQL) is working fine except for speed. When I open http://localhost/, I must wait probably 1-3 seconds for view a webpage. In ...

Looking to downgrade phpMyAdmin, but don t know what version

Had to re-set up everything on my laptop recently, which included reinstalling XAMPP. While I was quite happy with the version of phpMyAdmin I had installed the first time around, the new bundled ...

Cron on XAMPP (Mac OS)

I have installed XAMPP server on my Mac OS, how to setup a cron job on it? My requirement is that i want to call a php script at regular intervals . Thanks

can t install memcache php module

i m trying to install memcache module from http://pecl.php.net/package/memcache. Im using xampp in ubuntu (lampp) with php 5.3. After download the extension, I run phpize, make and make install, then ...

2 mysql instances in MAC

i recently switched to mac. first and foremost i installed xampp. then for django-python-mysql connectivity, i "somehow" ended up installing a seperate MySQL. now the seperate mysql installation is ...

Using SimplePie with CodeIgniter and XAMPP

I am using CodeIgniter 1.7.2 with XAMPP 1.7.2 on a Windows computer. I am trying to make use of SimplePie. I followed all the instructions I could find: a copy of simplepie.inc is in my applications/...

热门标签