when you install apache his default message for localhost is it’s work we will change it to custom to list all your folders so you have to create two files index.php and .htaccess you will find code here https://gist.github.com/ahmedfaragmostafa/9387008 enjoy 🙂 Advertisements
i face this issue php files does’t run and when type url it’s downloaded and i find solution : open your terminal and copy paste this package : sudo apt-get install libapache2-mod-php5 libapache2 package provides the PHP5 module for the Apache don’t forget restart server sudo /etc/init.d/apache2 restart 🙂 and you find issue has been … More when type php url page downloaded ???
authentication = does this user have a valid username and password role = what is the role of this user, does this role have access to this page
difference between pure function , and impure function pure function take value and return results like pow(2,8) result is : 8 impure function it’s return no thing like print or any function has indirect action like when you type obj.write that will go to file and return no thing to you .
first open this file C:\Program Files (x86)\Zend\Apache2\conf\httpd.conf you will find block like this :- you see the bold text above and try read up lines before this so solution will be change AllowOverride None to –>> AllowOverride All try that it’s will run 🙂 ************************* if you find error message as this … More how allow rewrite module on zend server
i have same issue first when install wamp server and try to run localhost it’s fail and write forbidden but when run 127.0.0.1 accepted and i note that when run phpmyadmin ir run on link –>> localhost/phpmyadmin and 127.0.0.1/phpmyadmin simple solution for this issue rirght click on wamp beside yr clock then … More yr server run only 127.0.0.1