sudo apt-get update && sudo apt-get upgrade
sudo apt-get install -y apache2If we have the following structure in our application:
- 📁 application_folder_name
- 📄 index.php
- 📄 handle_form.php
- 📄 main.js
And we fill our index.php with the following content just to get a basic website with a form working. You should be able to run this through a php-server of your choice.
[Update 2024] - Take a look at Drupal at your fingertips. Lot's of great stuff there.
// Load file object
$file = File::load($fid);