我已經安裝上了新的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