Create systemd service file vi /usr/lib/systemd/system/backend.service Add [Unit] Description=Gunicorn instance to serve Django Application After=network.target [Service] … Serve a Django application using GunicornRead more
Laravel
Create a project using the latest Laravel Create a project using a specific version of Laravel. … LaravelRead more
PHP PECL extension
PECL is a repository for PHP Extensions, providing a directory of all known extensions and hosting … PHP PECL extensionRead more
How to export MongoDB collection to CSV
mongoexport command is used to export MongoDB collection into CSV or JSON format. Syntax mongoexport –db … How to export MongoDB collection to CSVRead more
PHP APC Cache
APC Cache is an open source opcode caching module for PHP. You can find documentation for … PHP APC CacheRead more
libnsl.so.1: cannot open shared object file: No such file or directory
While installing LiteSpeed web server on a Cpanel server running on ALMALINUX 8.4, I get an … libnsl.so.1: cannot open shared object file: No such file or directoryRead more
How to find Laravel Framework Version
Laravel is a popular PHP framework. In this post, I will show how to check laravel … How to find Laravel Framework VersionRead more
How to update LiteSpeed License from command line
If you want to change the License key for your LiteSpeed webserver, you can do the … How to update LiteSpeed License from command lineRead more
PHP script to test IMAP
Here is a PHP Script to login to IMAP server. Mailboxes\n”; $folders = imap_listmailbox($mbox, “{imap.example.org:143}”, “*”); … PHP script to test IMAPRead more
Redirect a site to www using PHP
To redirect a site to URL with www using PHP, you can use the following PHP … Redirect a site to www using PHPRead more