Category Archives: PHP Configuration

Learn how to configure php here

How to Add Imagemagick Support for PHP 7 on a Directadmin Server

If you have recently updated PHP on a Directadmin server through custombuild, you should notice that not all modules are available with the fresh installation. But don’t worry, in case of Imagemagich it’s pretty simple. cd /usr/local/php70/bin; ./pecl install imagick After that you can add the extension line to your php.ini. Path to extension will be shown upon… Read More »

How to add IMAP Support for PHP in Centos x64

If you need to install IMAP support for php on a 64-bit machine, it is not that simple. There are some additional steps you need to follow to make it working. First of all, you may try to reconfigure PHP. If you have Directadmin or any other control panel installed, you might have imap library installed. Just add… Read More »

checking for DB4 major version… configure: error: Header contains different version – How to Solve

If you are trying to compile PHP on a 64-bit OS (e.g. CentOS 6.4), you can see various error messages. The only reason is the different location of libraries, that causes the configure script to break. Let me tell you about a popular fix for DB4 support, that is not enabled by default. I have tried to configure… Read More »