Need Assistance?

support@tutorialshub.in

Getting Started with PHP

Installing PHP & Running a Local Server

ADVERTISEMENT
PHP Free Lesson
5 min read
ADVERTISEMENT

To run PHP on your computer, you have two easy options:

  • XAMPP / Laragon / MAMP: All-in-one installers that give you Apache, PHP, MySQL, and phpMyAdmin in one click. Place your project inside htdocs/ and visit http://localhost/your-folder.
  • PHP Built-in Dev Server: If PHP is installed in your terminal PATH, you can start a lightweight development server in any folder using php -S.
ADVERTISEMENT
Hi, I'm Tuby! Here to help you