Source code for http://pmt.mcpe.fun (partial) based on pmt.mcpe.me
- At least PHP 5.6 (default PHP 5 installation on apt is PHP 5.5, make sure to install PHP 5.6 instead), PHP 7.0+ recommended
- PHP YAML extension
- PHP cURL extension
- probably other things that I forgot
Clone this repo at the document root of your website. It is because some hyperlinks explicitly indicate as
/var/www/html in this page.
Please allow read/write access to the parent directory of the document root of the website, i.e.
/var/www. I do that with
chown -R www-data:www-data /var/www.
A GitHub service client_id + client_secret is required to be set up at
/var/www/secret.txt. The service should redirect the clien to
A GitHub API access token for any valid account (without any scopes required) is required at /var/www/token.txt
All these three files should contain the tokens/secrets in plaintext. No trimming would be done by the PHP script.
You are recommended to add a file
.git/.htaccess with the content:
deny from all
for the sake of security.
This website generates files at /var/www/html/insta/data/ without deleting them. If you find the directory too resource-consuming, please add a cronjob yourself to clean it.
Here is a list of PHP extensions used by the website at pmt.mcpe.fun:
Array (  => Core  => date  => ereg  => libxml  => openssl  => pcre  => zlib  => bcmath  => bz2  => calendar  => ctype  => dba  => dom  => hash  => fileinfo  => filter  => ftp  => gettext  => SPL  => iconv  => mbstring  => session  => posix  => Reflection  => standard  => shmop  => SimpleXML  => soap  => sockets  => Phar  => exif  => sysvmsg  => sysvsem  => sysvshm  => tokenizer  => wddx  => xml  => xmlreader  => xmlwriter  => zip  => apache2handler  => yaml  => Weakref  => PDO  => curl  => json  => readline  => mhash  => Zend OPcache )