Portal Home > Knowledgebase > Articles Database > Can not use yum to install mhash on Linux
Can not use yum to install mhash on Linux
Posted by heropage, 10-22-2009, 04:59 PM |
The control panel is plesk.
When I run
I get
When I run
Same thing happen.
Linux version 2.6.18-128.4.1.el5PAE (mockbuild@hs20-bc1-6.build.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Thu Jul 23 20:14:48 EDT 2009
When I run on centOS, it works just fine.
|
Posted by heropage, 10-22-2009, 05:10 PM |
I followed this
http://forums.theplanet.com/index.php?showtopic=26527
But the only thing is to compile php with mhash-enable.
I can not find the source php directory.
Can I just download a new php tarball and recompile it?
I don't want to do it, 'cuz I am afraid I might screw up the server.
|
Posted by david510, 10-22-2009, 05:11 PM |
What does this return?
|
Posted by heropage, 10-22-2009, 05:12 PM |
it returns nothing!
Last edited by heropage; 10-22-2009 at 05:18 PM.
|
Posted by david510, 10-23-2009, 06:32 AM |
What version of plesk are you running on your server?
|
Posted by heropage, 10-23-2009, 10:23 AM |
8.6.0 RedHat el5 86080910.19
|
Posted by jalapeno55, 10-23-2009, 11:13 AM |
Try compiling it from source.
|
Posted by heropage, 10-23-2009, 11:27 AM |
I download php 5.1.6 tarball, configure with
and make, make install
Then restart apache, but it seems the php still old one. when I run
phpinfo();
the configure looks like exact same thing as before.
Please help!
One thing when I configure php, there was an error
Then I use
It went through.
But it looks like php still old one!
|
Posted by heropage, 10-23-2009, 01:28 PM |
I try take out "--with-unixODBC=shared,/usr" in the configure, than recompile it. The weird thing is the "--with-unixODBC=shared,/usr" still exist in the phpinfo() page.
Whatever I recompile, the php is still the old one.
Is there something to do with plesk? Is it normal to recompile like this in Plesk?
|
Posted by heropage, 10-23-2009, 02:00 PM |
I even load download a different version of php, 5.2.11 and recompile it.
But when I run phpinfo, it still says 2.1.6
|
Posted by root24x7, 10-25-2009, 10:00 AM |
Add the AtomicRocketTurtle yum repo
Then issue the yum install command
WARNING: It will install php-mhash but may also upgrade your php to latest version.
|
Posted by heropage, 10-25-2009, 11:55 AM |
after it works fine!
|
Add to Favourites
Print this Article
Also Read
host name? (Views: 496)
Domain search (Views: 495)