php - Installing PHP_7 localhost issue? -


im fed @ stage php. have followed tutorials on how install it. have done supposed php.ini , httpd-conf file. have apache running, php installed verified it. below example code simple code.

<!doctype html> <html> <body> <?php echo "my first php script!"; ?>  </body> </html> 

instead of openeing in browser localhost opening file:///c:/php/index.php

i have set servername servername http://localhost:8080

i missing not know.

try using mamp (free): https://www.mamp.info/en/

that , running php in no-time, more fun server config.

and on rainy day can go apache-configurations :)


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

Swift game error message -