A simple and vanilla php Rest CRUD with similar programming to emacs-personal for easy extents
saravia 5028490a96 upd | 2 éve | |
---|---|---|
module | 2 éve | |
.gitignore | 2 éve | |
LICENSE | 2 éve | |
README.md | 2 éve | |
favicon.ico | 2 éve | |
index.php | 2 éve | |
sha512.php | 2 éve | |
utils.php | 2 éve |
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.