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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -