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
https://forums.phpfreaks.com/topic/75801-enabling-openssl-in-php-w-os-x-server/
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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.