[Last Call] Learn how to a build a cloud-first strategyRegister Now


Apache 2, PHP, OpenSSL configuration?

Posted on 2005-05-13
Medium Priority
Last Modified: 2013-11-22
I have a FreeBSD 4.8 box that I'm trying to get SSL working on via OpenSSL. I've already got Apache2, MySQL, and PHP installed. I'd like to get OpenSSL working with it now. Can anyone point me in the right direction? I looked at a previous post where the recommended a link but the link was dead.

Question by:bacamaro
  • 2

Expert Comment

ID: 13998137
SSL is already part of Apache2. What you need to do is either create your own certificates (http://freebsdaddicts.org/forum/viewtopic.php?pid=1052) or buy one. Configure the server in the /usr/local/etc/apache2/ssl.conf file. There make sure to point the server to where it can find the certificates it needs.

Then start Apache with SSL support: apachectl startssl


Author Comment

ID: 13998255
Ok well I'm trying to configure a program called Zen-Cart and when it checks the server over is shows that "PHP OpenSSL Support = Off". Is there a seperate place in the php.ini file where you can turn it on?

Accepted Solution

it_alchemist earned 2000 total points
ID: 13998283
You have to compile PHP with OpenSSL support. When you install PHP from ports you can configure in OpenSSL support in the menu options that will pop up when you attempt to install it.



Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month17 days, 16 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question