php - Apache wamp, zend framework installation issue (permission issue and more) -
i trying install zend framework very naive looked in internet setting when apply settings doesn't work. following error
forbidden
you don't have permission access / on server.
apache/2.4.9 (win64) php/5.5.12 server @ localhost port 80
let me go step step did
installed zend framework
added following line in file
"c:\windows\system32\drivers\etc\hosts"
file..127.0.0.1 test
un-commented following 2 lines of code
httpd.conf
include conf/extra/httpd-vhosts.conf loadmodule rewrite_module modules/mod_rewrite.so
add following few lines in
httpd-vhosts.conf
<virtualhost *:80> servername test documentroot "c:/workspace/zendy/public" setenv application_env "development" <directory "c:/workspace/zendy/public"> directoryindex index.php allowoverride order allow,deny allow </directory> </virtualhost>
after when restart wamp server error message mention @ top...
after getting error message started scratch , after every step check if the same error.
what have found if put # sing in front of line include conf/extra/httpd-vhosts.conf
works fine un comment line again same error... dont know why ... b
by way ran test/
, localhost/
both worked , showed localhost page...
please note running windows 8.1 64 bit , latest version of wamp server think 2.5 apache2.4.9 , php5.5.12 , mysql5.6.17 if helpful solving issue..
any idea?
this worked me. wanna try this:
<virtualhost *:80> serveradmin webmaster@zendpro documentroot "c:/wamp/www/zendpro/public" servername zendpro errorlog "logs/zendpro-error.log" customlog "logs/zendpro-access.log" common </virtualhost>
Comments
Post a Comment