首頁 >後端開發 >php教程 >简单配置有关问题

简单配置有关问题

WBOY
WBOY原創
2016-06-13 10:12:18973瀏覽

简单配置问题
如何将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的方式来得到这个"虚拟目录"功能

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn