Revision of the original pixelpost to make it [mostly] work with PHP7.0 and above.
Remark:
- patched the codes to make it work with PHP7.4 and MariaDB10.5;
- abandoned the original installation steps - installation now can be done by importing the sql database into MariaDB (localhost.sql);
- code tuned and updated for my personal preference;
- a few functions that I don't need are not fixed;
- use with your own risk;
Installation:
- install apache2/nginx/httpd/other web servers;
- install PHP (works with PHP7.x and PHP8.x, not backward compatible);
- install MariaDB ([should] work with 5.0 and above) and phpmyadmin (optional);
- import localhost.sql for initial installation (recommend to use phpmyadmin);
- change mysql connect parameters in /includes/pixielpost.php;