Search code examples
phpzend-frameworkxampplocalhosthost

Why can't view the my project in zend framework 1.12


I am struck Here, create one project, project name is medicals.

I am Using xampp. i wrote in http.conf like.

<VirtualHost *:8080>
   DocumentRoot "C:/xampp/htdocs/medicals/public"
   ServerName medicals.com

   # This should be omitted in the production environment
   SetEnv APPLICATION_ENV development

   <Directory "C:/xampp/htdocs/medicals/public">
       Options Indexes MultiViews FollowSymLinks
       AllowOverride All
       Order allow,deny
       Allow from all
   </Directory>

</VirtualHost>

And,Using Windows path:C:\Windows\System32\drivers\etc point to.

127.0.0.1       medicals.com

i have an error im my browser to access the medicals.com.

enter image description here

Where is the actual issue. i did't understand.

Thhanks in advance.


Solution

  • Please Confirm your port is 80, In case you use another port in xampp u can change the line <VirtualHost *:80> to <VirtualHost *:8080>, the 8080 is a port number second commonly used, you change 8080 into your port,

    your port number shown in xampp control pannel PFAenter image description here