News

You can do this by creating a simple PHP script in the /var/www/html directory. By default, the Apache 2 package will create an index.html file in the /var/www/html directory.
How to Use Index.Php Instead of Index.Html. The PHP engine lets you create dynamic Web pages. PHP also reads HTML, so you can save an HTML file with a PHP extension and upload the new file to your ...
Install Nginx on Ubuntu. Install the php-fpm for Nginx package. Edit the server’s default config file to support PHP in Nginx. Restart the PHP configured Nginx server. Add a PHP file to Nginx’s html ...