Install php-mcrypt on CentOS 6
I was able to figure this out; it was a lot simpler then I thought. Under the WHM manager go to: Home >> Software >> EasyApache (Apache Update) >> There you have two options "Build Profile" or "Customize Based On Profile". I went Customize to keep my current config then followed the instructions on the page.
Eventually there was a place to add and remove php modules. There you will find ever module under the sun. Just select the one you want and rebuild the profile. It was really that simple.
PHP mcrypt and REMI
You have 2 PHP stacks installed.
- php-* (default version, in /usr)
- php56-php-* (parallel installable version, in /opt)
According to phpinfo information, the second is used, so you need php56-php-mcrypt.
For installation instruction, see the Wizard.
CentOS 6/PHP5 - Can't Install mcrypt?
I have the EPEL repository all set up...
Except you don't, because it's trying to install the EL5 package on your EL6 system. Verify your EPEL installation and try again.
i install mcrypt but it says : mcrypt extension is required
You can try:
sudo php5enmod mcrypt
Cannot install php-mcrypt even using EPEL/REMI repositories
Problem solved!
On WHM Control Panel, go to Apache update and find the section called Exhaustive Options List and finally find Mcrypt extension to install and that's all!
Php 5.3 mcrypt not working on CentOS 6.3 32-bit
This seem to be a issue in the 32bit version of mcrypt when using yum install php-mcrypt
to install. Take a look @ Installing php-mcrypt on centos 6.4 (32 bytes) causes problem, the mcrypt.ini file has the wrong entry
You need to edit /etc/php.d/mcrypt.ini
and change
extension=module.so
To
extension=mcrypt.so
Then save and restart apache.
Related Topics
Calling Perl Script from PHP and Passing in Variables, While Also Using Variablized Perl Script Name
Replacing Spaces with Underscores
Running PHP Script from the Command Line
"Distance" Between Colours in PHP
Increase the Limit of File Upload Size in Heroku While Uploading to Dropbox
Php: Can Curl Follow Meta Redirects
How to Make Short Random Unique Keys, Like Youtube Video Ids, in PHP
Loading CSV into MySQL Table with PHP
Html5 Audio Says "Live Broadcast" in iOS When It's a Static File
Use Keyword in Functions - PHP
PHP How to Remove Last Part of a Path
How to Do a Migration in Laravel 5.5
Fatal Error: Call to Undefined Method MySQLi_Stmt::Get_Result()