Solved

PHP install mcrypt

Posted on 2011-09-13
3
514 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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…

867 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now