Web Dev university project
- Uncomment (delete ';') the following line in /etc/php/php.ini
;extension=mysqli
and change these:
upload_max_filesize = 1G;
post_max_size = 1G;
- Start mariadb/mysql service so that apache/php can access the site's database.
# systemctl start mariadb.service
-
Configure apache to run php scripts (see archwiki).
-
Configure apache to run html files as php scripts. Append the following line:
AddType application/x-httpd-php .html
to /etc/httpd/conf/httpd.conf
-
Set apache server directory to src.
-
Start apache daemon:
# systemctl start httpd.service
- Access PEL via http://localhost/