Ill write all the steps i took :
1. i created a new PHP project with Zend in netBeans , result netbeans generates all zend folders and files for the project
2. i added the zend library files in /library folder so i now have /library/zend, at this point when i fire up a browser and point it at localhost/myZendProject/public i get a default zend welcome page
3. in docs/readme is a "advice" and a templet for setting a VHOST, so i go ahead and set it up
lets say my host name is myZendProject
when i point a browser to http://myZendProject i get :
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.
this is not the first time that im setting up a VHOST, and this isnt the only VHOST on my apache, all of them are running fine except this one, so im guessing that there is something wrong with zend framework, i ve also tried to set up only the zend project on a apache but the same error keep poping up .
the vhost templet
Setting Up Your VHOST ===================== The following is a sample VHOST you might want to consider for your project. <VirtualHost *:80> DocumentRoot "/var/www/myZendProject/public" ServerName myZendProject.local # This should be omitted in the production environment SetEnv APPLICATION_ENV development <Directory "/var/www/myZendProject/public"> Options Indexes MultiViews FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>


Sign In
Create Account


Back to top









