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:-

  1. created project using 'zf' tool command line.
  2. created entry in host file.

127.0.0.1 zendy.local

  1. 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> 
  1. enabled rewrite module

but when try access zendy.local http 500 internal server error.

excerpt apache error log

  1. [sat nov 15 09:19:13.739450 2014] [mpm_winnt:notice] [pid 3424:tid 552] ah00422: parent: received shutdown signal -- shutting down server.

  2. [sat nov 15 09:19:15.761937 2014] [mpm_winnt:notice] [pid 6832:tid 476] ah00364: child: worker threads have exited.

  3. [satnov 15 09:19:15.777562 2014] [mpm_winnt:notice] [pid 3424:tid 552] ah00430: parent: child process 6832 exited successfully.

  4. [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

  5. [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

  6. [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'

  7. [sat nov 15 09:19:17.574459 2014] [mpm_winnt:notice] [pid 5700:tid 556] ah00418: parent: created child process 6780

  8. [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

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -