Composer is the de-facto dependency manager for PHP applications which was initially released almost 8 years ago March 2012. Using Composer in your PHP can be used to increase one’s code reusability and enable your project to easily integrate maintained PHP libraries from the Packagist, the main PHP Composer repository. Today we’ll highlight a few […]
Localization in Laravel is a fully supported feature that allows you to easily provide your application or website in multiple languages. Learn how to get data in lang in Laravel.
Introduction In this guide, we will enable remote connections to our MySQL database using SSL. Connections to our MySQL server will be secured and validated with X509 public certificate verification. Amezmo handles these details for you when you add a trusted IP address to your database settings. Step 1 – Add a trusted IP address […]
At Amezmo, we’ve recently rolled out remote database access over SSL. In this post, we will extend WordPress’s default MySQL connection options to support SSL connections to the server. How does WordPress connect to MySQL? The file wp-includes/wp-db.php contains a class called wpdb. This class setups the MySQL connection with the mysqli PHP extension. Since […]
Have you ever been on an interesting site and were about to create an account, but then decided not to after finding out that the site only accepts Login with Facebook, Twitter, etc? Granting sites my login information is always too much for me. Having full control over a social profile is just too much […]
Changing the default storage path in Laravel can be acomplished using a service provider. In this post, we will share how to change the default storage path.
Amezmo is a platform as a service dedicated to PHP app hosting. Start your free trial today and get your app deployed fast. By default, Amezmo will create a dedicated directory for your application’s logging purposes. We recommend using this dedicated directory so you can persist your logs across deployments. The full path is /webroot/logs […]
When we host PHP apps on Amezmo, we’re required to provide the domain name of our application. This domain name is by default considered your primary domain name. Primary domain names are used for gathering HTTP metrics, such as a total requests, total error responses, and average HTTP response time (coming soon). These metrics are […]
In this tutorial, we will deploy a Laravel application with a Redis backed queue, a MySQL database, and Nginx web server running PHP 7.4. We’ll also setup continuous deployments from GitHub and automated database backsups. Requirements Laravel repository hosted on GitHub Amezmo account Step 1. Creating the PHP server instance We’ll launch a 512MB/1 Core […]
Automate backing up your database from the Amezmo dashboard. We’ve now released a new feature allowing you to backup your database daily. You choose a time, and we’ll backup your database for you automatically. You can view and download your backups the same way you would if you backed up manually. This feature comes at […]