Jump to content

How To Install Extensions -=- CentOs


Recommended Posts

This is insane, I download mcrypt, and extracted it. I cant figure out how the heck to get it installed into php though. There are a dozens of files, such as mkinstalldirs, Makefile.in, Makefile.am, install-sh, configure, config.guess, and a whole bunch more. Does anybody know how to compile this thing?

In windows its easy, simply drop the dll in the extensions directory and add the extension to your php.ini. Damn linux, its nice, but often times so cryptic and hard to use, honestly shouldnt be this hard.
Link to comment
Share on other sites

if your using centOS you can do it via 'yum'.

Have you used this before?  Makes life very simple...
First you neet to run something like: rpm --import /usr/share/rhn/RPM-GPG-KEY* in a terminal as root.  (THIS IS NOT THE CORRECT ONE!!).
Ones this is working just login in as root any type 'yum search php-whatever' or 'yum search whatever you wish to install' then find the one you like from the list produced.  'yum install whateveryoufound' . . . . .
Much simpler!!
Link to comment
Share on other sites

  • 2 weeks later...
I have learned much:

untar the thing
run the following:

./configure
make
make install

Most of time you get horrible warnings and errors in ./configure saying you are missing dependent packages, its a real pain in the butt, just cross your fingures and hope for the best. Nobody ever said Linux was eaiser to use then windows.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.