Even though, Raspbian is a Linux distribution, it's a bit tricky to install the standard packages which on Ubuntu makes no problems at all.
The update in this case is a must, without this it's impossible to run the project by following the steps in this guide.
Call these commands:
Php pear and pecl
Call the following commands:
MySql / MariaDb
Original post: https://pimylifeup.com/raspberry-pi-mysql/
Install the MySQL server software to your Raspberry Pi by calling:
sudo apt install mariadb-server
It's now needed to secure it by setting a password for the root user.
By default, MySQL is installed without any password set up meaning you can access the MySQL server without any authentication.
Run the following command to begin the MySQL securing process.
Follow the prompts to set a password for the root user and to secure your MySQL installation.
For a more secure installation, answer
Y to all prompts when asked to answer
Original post: https://janw.me/raspberry-pi/installing-php74-rapsberry-pi/
To check if php7.4 is available run:
sudo apt install --dry-run php7.4
If the php is not available then call
Installing php packages
Create extra config file
sudo nano /etc/php/7.4/fpm/conf.d/90-pi-custom.ini.
Add these lines to it:
Original post: https://lindevs.com/install-composer-on-raspberry-pi/
Call this set of commands: