apache - ZendFramework 2 - 500 Internal Server Error -
today create first project zend framework2 , when using internal php cli-server in root directory works.
but when try configure virtual host in apache2 see "500 internal server error"
- zendframework-2.4.2
- php version 5.5.9
- apache/2.4.7
/etc/apache2/sites-available/zend-default.conf <virtualhost *:80> servername zend.local documentroot /var/www/html/zendframework/zendskeletonapplication/public <directory /var/www/html/zendframework/zendskeletonapplication/public> directoryindex index.php allowoverride require granted </directory> </virtualhost>
/etc/hosts 127.0.0.1 zend.local 127.0.0.1 localhost
if remember correctly have enable mod_rewrite in apache2.
Comments
Post a Comment