Reputation: 331
I am trying to use zend framework 1.12 on WAMP 2.5.
I took following steps to create zend project on WAMP:-
127.0.0.1 zendy.local
<VirtualHost *:80> DocumentRoot "C:/wamp/www/zendy/public" ServerName zendy.local <Directory "C:/wamp/www/zendy/public"> DirectoryIndex index.php AllowOverride All Require all granted </Directory> </VirtualHost>
But when I try to access zendy.local I get HTTP 500 internal server error.
Excerpt from apache error log
[Sat Nov 15 09:19:13.739450 2014] [mpm_winnt:notice] [pid 3424:tid 552] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sat Nov 15 09:19:15.761937 2014] [mpm_winnt:notice] [pid 6832:tid 476] AH00364: Child: All worker threads have exited.
[SatNov 15 09:19:15.777562 2014] [mpm_winnt:notice] [pid 3424:tid 552] AH00430: Parent: Child process 6832 exited successfully.
[Sat Nov 15 09:19:17.574459 2014] [mpm_winnt:notice] [pid 5700:tid 556] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Sat Nov 15 09:19:17.574459 2014] [mpm_winnt:notice] [pid 5700:tid 556] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Sat Nov 15 09:19:17.574459 2014] [core:notice] [pid 5700:tid 556] AH00094: Command line: 'c:\wamp\bin\apache\apache2.4.9\bin\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Sat Nov 15 09:19:17.574459 2014] [mpm_winnt:notice] [pid 5700:tid 556] AH00418: Parent: Created child process 6780
[Sat Nov 15 09:19:17.918210 2014] [mpm_winnt:notice] [pid 6780:tid 484] AH00354: Child: Starting 64 worker threads.
Any help will be appreciated
Upvotes: 1
Views: 284
Reputation: 2125
You are in Production mode so you are not able to see any error just 500 Internal Server Error.
So Just add SetEnv APPLICATION_ENV "development"
in your virtual host it will bring you in development mode.
<VirtualHost *:80>
DocumentRoot "C:/wamp/www/zendy/public"
ServerName zendy.local
SetEnv APPLICATION_ENV "development"
<Directory "C:/wamp/www/zendy/public">
DirectoryIndex index.php
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
So now zend framework shows you what is the actual error or exception bothering you.
Upvotes: 2