php - Not able to access zend framework 1.12 home page -
i trying use zend framework 1.12 on wamp 2.5.
i took following steps create zend project on wamp:-
- created project using 'zf' tool command line.
- created entry in host file.
127.0.0.1 zendy.local
- added virtual host entry in conf\extra\httpd-vhosts.conf.
<virtualhost *:80> documentroot "c:/wamp/www/zendy/public" servername zendy.local <directory "c:/wamp/www/zendy/public"> directoryindex index.php allowoverride require granted </directory> </virtualhost>
- enabled rewrite module
but when try access zendy.local http 500 internal server error.
excerpt 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 server.
[sat nov 15 09:19:15.761937 2014] [mpm_winnt:notice] [pid 6832:tid 476] ah00364: child: 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 appreciated
you in production mode not able see error 500 internal server error.
so add setenv application_env "development"
in virtual host bring 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 require granted </directory> </virtualhost>
so zend framework shows actual error or exception bothering you.
Comments
Post a Comment