0
Q:

how to open a php file in chrome

Before run any php program in the web browser, we have to start a local server service.
For that we have to start apache server and it can be start by using xampp,wamp,lamp and mamp

So, once our apache service gets started then we go in the browser
and enter hostname with project name i.e.
->localhost/project_name/file_name.php
sometimes only localhost is not running properly so for that we have to change some configuration setting and after that it runs properly including port number.
2

New to Communities?

Join the community