Solved

PHP install mcrypt

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
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…
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 …

758 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

18 Experts available now in Live!

Get 1:1 Help Now