Today, We want to share with you how to open php file in chrome.In this post we will show you how to run php file in browser, hear for how to run php file in localhost we will give you demo and example for implement.In this post, we will learn about Model View Controller(MVC) In PHP Hello World with an example.
how to open php file in chrome using xampp
Contents
simple first step you can Before run/execute any php program server side in the web browser like as a Microsoft Internet Explorer, Google Chrome, Mozilla Firefox, and Apple Safari i have to start a local server service.
For that i have to start apache server as well as it can be start by using xampp,wamp,lamp and mamp any types of the server
therefor, once our apache service gets started then i go in the browser (Explorer, Firefox, Netscape, and Safari)
and enter hostname with project name i.e. ->localhost/project_name/file_name.php
sometimes only localhost is not running properly.
therefor for that i have to change some types of the specific configuration setting and after that it runs properly including port number like 8080.
I hope you get an idea about how to open a php file in chrome.
I would like to have feedback on my infinityknow.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, donβt forget to share.
I am Jaydeep Gondaliya , a software engineer, the founder and the person running Pakainfo. I’m a full-stack developer, entrepreneur and owner of Pakainfo.com. I live in India and I love to write tutorials and tips that can help to other artisan, a Passionate Blogger, who love to share the informative content on PHP, JavaScript, jQuery, Laravel, CodeIgniter, VueJS, AngularJS and Bootstrap from the early stage.