Configuring an existing PHP install

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
t0ta11
Forum Newbie
Posts: 3
Joined: Mon Nov 06, 2006 10:44 am

Configuring an existing PHP install

Post by t0ta11 »

Greetings,

I'm hoping someone could tell me how to compile an existing PHP 5 install to use mcrypt? Thanks in advance.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Configuring an existing PHP install

Post by Chris Corbyn »

t0ta11 wrote:Greetings,

I'm hoping someone could tell me how to compile an existing PHP 5 install to use mcrypt? Thanks in advance.
Do you still have to build directory and source? If not you'll be building from fresh.
t0ta11
Forum Newbie
Posts: 3
Joined: Mon Nov 06, 2006 10:44 am

Re: Configuring an existing PHP install

Post by t0ta11 »

d11wtq wrote: Do you still have to build directory and source? If not you'll be building from fresh.
This is an existing install of PHP 5 that is already in place on a Fedora Core 6 system. I'm a bit new to doing it this way. I've looked to see if there is a current source directory, but unable to find it.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

fedora extra provides a php mcrypt package, see http://fedoraproject.org/extras/6/i386/ ... group.html
t0ta11
Forum Newbie
Posts: 3
Joined: Mon Nov 06, 2006 10:44 am

Post by t0ta11 »

I have installed php-mcrypt via Yum, but I don't think PHP is configured to use it, hence my original question....
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

t0ta11 wrote:I have installed php-mcrypt via Yum, but I don't think PHP is configured to use it, hence my original question....
That sounds odd. Try (in this order):

* Remove php-mcrypt with yum
* Remove PHP with yum (is it even installed from yum/rpm??)
* Install PHP with yum
* Install php-mcrypt with yum
Post Reply