Jump to content

Enabling OpenSSL in PHP w/ OS X Server?


Recommended Posts

I've spent the morning trying to figure out how to enable OpenSSL in PHP w/ OS X Server and have found other people with the same problem, but no solutions.

 

Any ideas on how to do this?  I'm concerned about compiling PHP from scratch as I found some Apple technotes about that possibly breaking some things with MySQL.

 

I'm running OS X Server 10.4 w/ the latest updates and was advised by a PHP forum software vendor that my PHP lacked OpenSSL support.

 

Thanks!

Link to comment
Share on other sites

You should be able to compile openSSL without recompiling all of php. Just download the php source find the openSSLsource directory (somewhere in ext) and run....

 

$ cd openssl/source/dir
$ phpize
$ ./configure --enable-options
$ make

 

if all goes well this will generate an *.so file, you then simply need to move this file into your php extensions directory and restart Apache.

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.