Heim >Backend-Entwicklung >PHP-Tutorial > 简单配置有关问题
简单配置问题
如何将Virtual Directory Support disabled改为enabled???
------解决方案--------------------
我的iis7.5 + php的虚拟目录支持是启动的, 没有进行特别的设置.
另外我找到这段文字, 稍微翻译一下
virtual directory support with PHP is really a feature designed for MS Windows based platforms.
php虚拟目录支持是基于微软windows平台的特性
You can get limited functionality under Apache over Linux but only if your PHP is setup as a DSO (Apache Module) and even then it won't be the full virtual directory functionality subset.
你可以通过linux下的apache获得有限的功能, 当你的php被作为apache模块被设置的时候.
Really your best bet would be to use a set of creative mod_rewrite commands in your .htaccess file to manipulate URLs as that can give you essentially the same functionality but by different means.
你可以用mod_rewrite的方式来得到这个"虚拟目录"功能