我已经安装上了新的EC2实例laravel,我已确保我的PHP,MySQL和Apache2的全部运行无法查看
浏览器我laravel项目我Laravel的版本是45年2月5日
我的000-default.conf如下
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/html/testing/public
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
我的apache2.conf文件如下
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory /usr/share>
AllowOverride None
Require all granted
</Directory>
<Directory /var/www/html/testing/public>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
我的文件夹结构是/ var/www/html/testing
但是我试图打ip时遇到了500.任何帮助都将不胜感激。
你运行'PHP工匠serve' – C2486
是的,但那么它不工作,我有我的EC2上的项目和服务给了我一个本地主机检查我的代码 –
您是否启用aws ec2设置中的安全组中的端口 – Jabaa