News

With Apache 2 installed and PHP 8.1 configured, it will be necessary to verify that the installation is working. You can do this by creating a simple PHP script in the /var/www/html directory.
For instance, if the file you are editing is "mydata.html", change the name to "mydata.php". This instructs your Web server to call the PHP interpreter to run the script.
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 server.