Solved

PHP install mcrypt

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

In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
This article discusses how to create an extensible mechanism for linked drop downs.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

839 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