Solved

PHP install mcrypt

Posted on 2011-09-13
3
523 Views
Last Modified: 2012-06-21
Hello,

I need to install mcrypt for my server and I was told by the server company that I should pay them to install it if I do not know what I am doing... would there be any hazards in just using this code:

yum install php-mcrypt

I would love any pointers.

Matt
0
Comment
Question by:movieprodw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 8

Accepted Solution

by:
Darude1234 earned 250 total points
ID: 36532914
That should be ok.
Also after installation of the extention check your php configuration
Don't know exactly where redhat/fedora stores the php-config files but normally it's something like: /etc/php5/conf.d
In that file scroll to the following line and remove the ; in the beginning to enable it.

extention=mcrypt.so

Open in new window


If the extention doesn't exist you probably need to upgrade your php version.
More information about mcrypt can be found here.
0
 
LVL 7

Assisted Solution

by:boon86
boon86 earned 250 total points
ID: 36534543
if you use whm/cpanel you will need to install it using easyapache that
can be found inside your whm panel.

if you use other server you can simply type:

yum install php-mcrypt

Open in new window


then restart your apache/httpd to get the result.
there is no harm by typing yum install php-mcrypt

Hope that help.
0
 
LVL 1

Author Closing Comment

by:movieprodw
ID: 36536654
Thanks for the help, I did install it and now it will not let me create a mysql user?

I just contacted my server guys and they fixed it for me.

Thanks
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question