Page 1 of 1

Configuring an existing PHP install

Posted: Mon Nov 06, 2006 10:48 am
by t0ta11
Greetings,

I'm hoping someone could tell me how to compile an existing PHP 5 install to use mcrypt? Thanks in advance.

Re: Configuring an existing PHP install

Posted: Mon Nov 06, 2006 11:14 am
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.

Re: Configuring an existing PHP install

Posted: Mon Nov 06, 2006 11:53 am
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.

Posted: Mon Nov 06, 2006 12:47 pm
by volka
fedora extra provides a php mcrypt package, see http://fedoraproject.org/extras/6/i386/ ... group.html

Posted: Mon Nov 06, 2006 1:03 pm
by t0ta11
I have installed php-mcrypt via Yum, but I don't think PHP is configured to use it, hence my original question....

Posted: Mon Nov 06, 2006 2:34 pm
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