Php项目仍在昨天工作,当我打开它时显示404错误。
在/ etc/apache2/sites-available /新的交换文件出现我删除并再次启动apache2服务器仍然无法正常工作。 当我打开日志它显示:SIGTERM钓到,关停[声明]的Apache/2.2.22(Ubuntu的)PHP/5.4.9-4ubuntu2.4配置 - 恢复正常操作
虚拟主机文件我的php项目未在本地ubuntu机器上运行
<VirtualHost dev.eurofir:81>
ServerAdmin [email protected]
ServerName localhost:80
DocumentRoot /var/www/dev.eurofir/public
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory /var/www/dev.eurofir/>
Options Indexes FollowSymLinks
AllowOverride all
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
尝试备份您的项目,重新安装本地服务器,然后尝试再次运行它。 – rullof