Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Long time browser, first time poster!

I have a CentOS Dedicated server running just fine.

I'm trying to reconfigure PHP to include the OpenSSL extensions so I can use some of the Youtube API's.

I installed OpenSSL with yum, so it's in place on the server. I'm just now having trouble getting PHP to use it as an extension.

I got the latest PHP tarball, untarred, set my configure string (./configure) using the proper parameter for openssl (--with-openssl=/usr) and it checked out just fine.

I ran Make, then Make Install. I am getting hung up here. After it makes the PEAR config file it seems to quit. I guess I'm not sure, but it seems like there is a LOT more that should be happening. Here is a screenshot:

Restarting apache shows no change to the PHP running on the server.

Is there are PEAR issue killing the Install process? Or is there an other issue?

Thanks In Advance.

Happy to clarify and provide more info.

share|improve this question
Is the Makefile incomplete? Look for the install section. – Warner Jul 1 '10 at 16:25

Why you don't install php from a updated repository? I use remi-enterprise.

share|improve this answer
Thanks for the response Lg. I suppose because I don't know how to do it properly. I have a configure string with 30+ arguments for mysql, openssl, zend, etc, etc. How do I incorporate all of those settings when installing from the repository? I'll do my research. Everything linux takes me forever! :) – Evan Jul 1 '10 at 10:28
Try to search on remi-enterprise repository the packages you need. At letter P, for example there is a lot of php packages:… – lg. Jul 1 '10 at 10:51
You could add the remi repository and then check version packages by "yum info". – lg. Jul 1 '10 at 12:07
Thanks for the advice guys - I'll give the repository a shot. Hopefully I don't ruin it all. Thanks. – Evan Jul 1 '10 at 16:23
If all that you need is only change/set some PHP build switches (without bump/update PHP version), you may download php SRPM from centos repo, alter the spec file and rebuild the package with 'rpmbuild'. Hope this helps to someone, because third-party repos aren't required for such simple task. – Denis Jan 28 '11 at 18:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.