Server - System - Manager - CentOS, Operation System, VBB, HACKING AND SECURITY

Go Back   Server - System - Manager - CentOS, Operation System, VBB, HACKING AND SECURITY > CentOS Việt Nam - Viet Nam Linux CentOS Community > Cài đặt CentOS và ứng dụng > PHP for CentOS

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-10-2008
Hackingart Member
 
Join Date: Sep 2008
Posts: 22
Thanks: 0
Thanked 1 Time in 1 Post
Default load module mcrypt failed after upgrade apache - httpd from 5.1.6 to 5.2.6

Dear all
I m using centos5 and just upgrade the httpd from 2.1.6 to 2.2.6. because I need to use json.
In 2.1.6, the mcrypt module worked fine with the phpmyadmin.
after upgrade, I found the error message in the phpmyadmin login page:

"Cannot load mcrypt extension. Please check your PHP configuration."

the mcrypt.ini and mcrypt.so are in the same place as I run under 2.1.6

I reinstalled the php-mcrypt and libmcrypt. but nothing changed.

when show php version, the following trouble come up:

shell>php -v
PHP Warning: PHP Startup: mcrypt: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP 5.2.6 (cli) (built: May 7 2008 00:50:43)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

any genius can give me some clue. cheers
Reply With Quote
  #2 (permalink)  
Old 08-10-2008
Hackingart Member
 
Join Date: Sep 2008
Posts: 22
Thanks: 0
Thanked 1 Time in 1 Post
Default

HTML Code:
PHP Warning: PHP Startup: mcrypt: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:22 AM.


© Diễn đàn HackingArt (HA) được xây dựng và phát triển bởi các thành viên.
+ Diễn đàn HackingArt là nơi trao đổi của các webmaster chuyên nghiệp.