I followed this guide build an LEMP server
http://library.linode.com/lemp-guides/centos-5
when install Magento, I got an error
Quote:
PHP extension "dom" must be loaded.
PHP extension "mcrypt" must be loaded.
PHP extension "gd" must be loaded.
my phpinfo is here
http://www.upincn.com/phpinfo.phpbut I've installled these entensions
Quote:
[***@*** ~]# php -m
[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
json
libxml
mcrypt
mhash
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
zip
zlib
[Zend Modules]
any help? thanks
My solution:
issue
Code:
/etc/init.d/php-fastcgi restart
and then install extensions
Actually I've updated to centos 6 and after that I can install these extensions.
For centos 6 issue
Code:
rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm
issue
Code:
yum install php-dom
yum install php-mcrypt
yum install php-gd