Posts

Showing posts with the label php

ISPConfig CLI Tools

During a recent migration project, I ran into a limitation of ISPConfig automation. While this web hosting management platform provides an API, working with SOAP is notoriously uncomfortable and clunky. I've faced this problem before—for example, check out my very old post about mass email user creation. This time, I needed to create websites, databases, and database users while migrating hundreds of sites from DirectAdmin (you can read about that massive migration here ). Writing custom PHP scripts for every individual task would have been slow and messy, so I decided to build a proper tool instead. The ISPConfig CLI Tools provide a more comfortable and modern way to automate ISPConfig operations directly from the terminal. The project is still a work in progress, but it already covers the most essential operations. Implemented Functions The CLI toolkit currently covers the following ISPConfig operations, returning clean JSON for easy piping: System & API: ...

Migrating Websites from DirectAdmin to ISPConfig

Some time ago I faced a serious challenge: migrating a large number of similar websites from DirectAdmin to ISPConfig with maximum automation. The hosting platform was changed, and doing everything manually simply wasn’t an option. To solve this, I wrote a better CLI wrapper for ISPConfig that focuses on usability while reusing the default API functions underneath: ispconfig-cli

Fast and easy way to prepare and create Google Workspace users

Google documentation shows methods, but does not explain how to prepare data. First, we need DATA... From accounting team, Google Forms, or a simple Google Sheet with 3 columns.

PHP 7.3 PDO sqlsrv on CentOS 7

Sometimes you need old-school setups… Here is how to use PDO sqlsrv for PHP 7.3 on CentOS 7.

ISPConfig: Mass Email User Creation

Preparing for migration from an old email system (±15 years old FreeBSD...) to the latest ISPConfig. One of the steps is creating email users. ISPConfig has minimalist documentation and few examples.