How to enable SSL connections to MySQL in WordPress without plugins

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 […]

Why I always felt wary about giving broad OAuth permissions

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 […]

How to Change the Default Storage Path in Laravel

It would be nice if Laravel provided a configuration entry to control which path is used for user uploaded content, or more generally, application data storage such as files, images, and binary data. In Laravel, this directory is known a the storage path The helper function storage_path calls the container for a mapping. By […]

Persistent Logging For Laravel PHP Apps

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 […]

HTTP Metrics For Your PHP Apps

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 […]

How to Host and Deploy a Laravel PHP app

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 […]

New Feature: Automated Backups

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 […]

What’s new in Amezmo this week

Real time deployment statuses Now, whenever a deployment happens, the Deployments tab will automatically update with the status of your deployment. Change your Repository From the Git tab, you can now change your repository. Anytime you change your repository, a new zero-downtime deployment is created. If the repository change fails, rest assured that your site […]

How To Format Currency with PHP on Ubuntu 16.04

Introduction Formatting currency is an important practice that will help you implement locale-aware visual representions of your pricing text. Using a standard library is an effcient and extensibile way to format your prices to your users. Using a standard library to format your curreny is helpful in situations where your business expands into a market […]

Amezmo Now Offers a 30 Day Free Trial

People often choose to try products before they commit to buying them. Today, we launched a 30 day free trial offer to everyone. The trial doesn’t require a credit card. We believe that by offering an extended length trial period, people will be able to fully understand Amezmo’s product offering. What is Amezmo? Amezmo is […]