Getting Error while installing magento with litespeed

#1
Hello,

After compiling php 5.2.3 am getting the following error while installing magento.

PHP extension "pdo_mysql" must be loaded.
PHP extension "mcrypt" must be loaded.
PHP extension "curl" must be loaded.

Below is my compile command

'./configure' '--prefix=/usr/local/lsws/lsphp5' '--with-mysql=/usr/local/mysql' '--with-zlib' '--with-gd' '--enable-shmop' '--enable-track-vars' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-magic-quotes' '--enable-mbstring' '--with-iconv' '--with-litespeed' '--enable-suhosin'

am using litespeed version 4.0.15 on a linux machine. Also while compiling should i use --with-mysql or --with-mysqli option ?

thanks
 
#3
configure: error: mcrypt.h not found.

After adding the above lines i am getting follwing error ? Do i need to any some package ?


configure: error: mcrypt.h not found. Please reinstall libmcrypt.
**ERROR** Could not configure PHP build
 

NiteWave

Administrator
#4
right. from
#yum search mcrypt
...
============================================================ Matched: mcrypt ============================================================
libmcrypt.i386 : Encryption algorithms library
libmcrypt-devel.i386 : Development libraries and headers for libmcrypt
php-mcrypt.i386 : Standard PHP module provides mcrypt library support
you need
#yum install libmcrypt-devel.i386
 
#5
install libmcrypt-devel.i386

This is the log of execution of above command

sudo yum install libmcrypt-devel.i386
Password:
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core [1/3]
download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/repodata/repomd.xml:[Errno 14] HTTP Error 404: Date: Thu, 08 Jul 2010 10:16:26 GMT
Server: Apache
Content-Length: 249
Connection: close
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
Cannot open/read repomd.xml file for repository: core
failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.
 
Top