How Do I Start Php in Ubuntu?
Contents How Do I Run Php on Ubuntu? How to Run a Php Application on Ubuntu Update and Update Packages. … Install Apache2. … Install Php. … Install Mysql. …...
Contents
How do I run PHP on Ubuntu?
How to Run a PHP Application on Ubuntu
- Update and Update Packages. …
- Install Apache2. …
- Install PHP. …
- Install MySQL. …
- Install phpMyAdmin. …
- Create a Database(Only if our PHP app needs a database to run) …
- Copy/paste or clone the project to the root directory of the Apache webserver. …
- Running the PHP file or project.
Must Read
How do I start PHP in Linux?
Type the following command as per your web-server.
- Restart Apache for php service.
- Restart Nginx for php service.
- Restart Lighttpd for php service.