Setup Master-Slave Replication in MySQL Server

MySQL replication allows you to have multiple copies of data on many systems and data is automatically copied from one database (Master) to another database (Slave). If one server goes down, the clients still can access the data from another (Slave) server database. In this article, let us see how to configure MySQL Master-Slave replication. I am using the following two systems to in this how-to: MySQL Master system :…

How to Setup Master-Master Replication in MySQL Server

MySQL Master-Slave replication is to set up slave server to update immediately as soon as changes done in Master server. But it will not update Master if there are any changes done on slave server. This article will help you to set up Master-Master replication between MySQL servers. In this setup if any changes made on either server will update on an other one. Setup Details: MySQL Master1 system :…

How to Compile PHP 5.x From Scratch

I was asked to compile php5.4.14 on one of my server with mysql support. I downloaded php 5.4.14 from mysql website and compiled it. Later on mcrypt, ftp, openssl support were added to it. I was also told to add dbase support. with –enable-dbase option php was not compiling. So to make dbase work I did Get the source for dbase extension As I told you, also DBase extension is…

Compiling shared PHP modules

So you want to add postgres support to PHP (or something like that), but you don’t want to re-compile the whole thing. You just want a shared module. Its easier than I first thought. Here is how I have done it. First create a test php page to check phpinfo() and find which version of php you are running, then download it from php.net. I’m using 5.4.14 so my example…