display_errors = On
on file /etc/php/php.ini
user
and libre
will be replace by your user and group case
in your machine.
apt install mariadb-server mariadb-client
mv /var/lib/mysql ~
mkdir -p /var/lib/mysql
chown user:libre /var/lib/mysql
mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
service mariadb start
mysqladmin -u root password 1234
exit
mysql -uroot -p
(1234)create database php_personal;
quit
for this example i use a database name but you can change if prefer
but too indicate on index.php
git clone https://notabug.org/saravia/php-personal.git
php -S localhost:8080 -t php-personal
EV_php_name
Environment php.