Category: PHP

  • Install MongoDB for PHP Laravel

    At this moment, php-mongodb support PHP7.2 for Laravel. You need to change PHP-cli to 7.2 (my server use OpenLiteSpeed): Depend on your server OS, your commands like as: Add “extension=mongodb.so” to php72 config (php.ini). Restart your php server: For OpenLiteSpeed: systemctl restart lsws In your project folder, run:

  • Download APK file by PHP script

    This is 100% working PHP script to download a APK file, or any extension: By this way, you can restrict directly download. And you can count downloaded too.