我在localhost和PHP 5.5.8上遇到apache2問題。在Macosx上 一切都安裝了自制軟件。來自apache localhost的慢速響應
什麼可能是延遲的原因? 當我想停止服務器,它有時會與
httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.43.114 for ServerName
迴應這是我將它設置
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/Users/redres/Webdev/testsetup/public"
ServerName test.dev
ServerAlias test.dev
<Directory "/Users/redres/Webdev/testsetup/public">
Options FollowSymLinks Indexes MultiViews
Options All
AllowOverride All
Order allow,deny
Allow from All
Header Set Cache-Control no-cache
</Directory>
</VirtualHost>
http://httpd.apache.org/docs/2.2/misc/perf-tuning.html <<可能會或可能不會幫助 – 2014-02-16 23:20:52
我知道使用的時候有一個5秒延遲由於一些bonjour特定的查找,在macosx下的vhost的'.local'地址。看到你沒有使用.local,那麼你需要提供更多關於你的問題的信息來獲得幫助。 – Cameron
你需要什麼,我有一個從自制軟件的基本安裝,所以這是我所做的所有設置,加上主機文件。 – Richard