Tag: php 5’
Magento Installation gives error: PHP Extention “pdo_mysql” must be loaded and PHP Extension “mcrypt” must be loaded
- by Asher Bond
I was installing Magento (E-commerce software) and got the following errors:
o PHP Extension “pdo_mysql” must be loaded
o PHP Extension “mcrypt” must be loaded
To add these extentions, I had to recompile php adding these two parameters to my PHP 5 configure script:
–with-mcrypt
–with-pdo-mysql
configure: error: xml2-config not found. Please check your libxml2 installation.
- by Asher Bond
I got this error when trying to configure php 5.2.6:
configure: error: xml2-config not found. Please check your libxml2 installation.
I’m using Debian and it showed that I had libxml2 installed (and it was the latest version).
It turns out that the latest stable version of libxml2 doesn’t include a file named xml2-config. I suppose I could have linked that file to the config file that the stable version of libxml2 uses, but the easy fix is to just install the newer development version of libxml2 using the following command:
apt-get install libxml2-dev
That’s all I needed!