Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/.htaccess/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
PHP内置web服务器.htaccess不工作_.htaccess_Web_Server - Fatal编程技术网

PHP内置web服务器.htaccess不工作

PHP内置web服务器.htaccess不工作,.htaccess,web,server,.htaccess,Web,Server,我总是在目录中的cmd中启动我的服务器,我希望根目录如下: php -S 127.0.0.1:8000 除了我的.htaccess文件外,其他一切都正常。当我将我的项目复制到htdocs时,它工作得很好 您是否有任何配置提示或其他方法可以解决此问题?:) PHP的内置web服务器不支持.htaccess es,因为它们是Apache web服务器的一部分。PHP的内置web服务器不支持.htaccess es,因为它们是Apache web服务器的一部分。.htaccess样式文件是Apach

我总是在目录中的cmd中启动我的服务器,我希望根目录如下:

php -S 127.0.0.1:8000
除了我的.htaccess文件外,其他一切都正常。当我将我的项目复制到htdocs时,它工作得很好


您是否有任何配置提示或其他方法可以解决此问题?:)

PHP的内置web服务器不支持.htaccess es,因为它们是Apache web服务器的一部分。

PHP的内置web服务器不支持.htaccess es,因为它们是Apache web服务器的一部分。

.htaccess
样式文件是Apache http服务器的实现。它们对于其他类型的http服务器没有任何意义。
.htaccess
样式文件是apache http服务器的实现。它们对于其他类型的http服务器没有任何意义。