Categories
Hosting MySQL

MySQL: Cloning a MySQL database on the same MySql instance

Normally we have to copy one database to another on the same server we download the SQL file of one db and import into another. This approach works fine for small databases. If you have huge database like more than 2 GB, then this process takes really long time and sometimes crashes the PHP Myadmin. […]

Categories
Apache Hosting PHP

PHP mail() not working?

** If you are using any dedicated server, cloud instance (like AWS, Linode, Digital Ocean Droplet etc.) and php mail() function or wp_mail() isn’t working for you? If yes, then this resource can help you ** First we need to understand how php mail() works. PHP mail function invokes any mail server to send the […]

Categories
Drupal Hosting Laravel PHP Wordpress

Zip/Unzip using PHP Script

When you have limited access to client’s server (for example FTP only), then it becomes really difficult to download and upload multiple files/folders. It might take several hours to download/upload a full fledged Drupal or Laravel website with Filezilla if files are not compressed into zip folder. To overcome this problem and to save developer’s […]

Categories
Cpanel Drupal Hosting Laravel PHP Wordpress

Server to Server Files Migration

When you have shared hosting you always think of finding a way to directly migrate files from one server to another without downloading. We have a script called “Downloader.php” which can download zip file directly from url. It is suitable to migrate medium sized WordPress website, Drupal or any other website. Direct files migration can […]

Categories
Apache Hosting Linux

Automated Script To Create Virtual Host on Linux

It is always complicated to create virtual hosts every time you setup a new website especially for developers and webs designers who do it regularly. This script will automate this process of creating virtual hosts with a single command: sudo virtualhost create mysite.dev Download From Github Credits: Thanks to https://github.com/RoverWire for this useful script Installation […]