LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-22-2008, 10:27 PM   #1
RMLinux
Member
 
Registered: Jul 2006
Posts: 212

Rep: Reputation: 31
LAMP in SSL


I am using RHEL4.

Which one am I going to setup?
apache - already running on my pc I can use https:

but when I try to query my database I encountered error?
do I need to setup my php on ssl and mysql on ssl?

thank you.


mysql> show variables like '%have%';
+----------------------+----------+
| Variable_name | Value |
+----------------------+----------+
| have_compress | YES |
| have_crypt | NO |
| have_csv | YES |
| have_dynamic_loading | YES |
| have_geometry | YES |
| have_innodb | YES |
| have_ndbcluster | NO |
| have_openssl | DISABLED |
| have_partitioning | YES |
| have_query_cache | YES |
| have_rtree_keys | YES |
| have_ssl | DISABLED | <--------------HERE!
| have_symlink | YES |
+----------------------+----------+
13 rows in set (0.12 sec)
mysql>

Last edited by RMLinux; 08-22-2008 at 10:45 PM.
 
Old 08-25-2008, 02:45 PM   #2
CrazyToon
LQ Newbie
 
Registered: Jun 2003
Posts: 21

Rep: Reputation: 0
I believe you have to compile mysql with ssl option. Use one of the following depending on your needs:

--with-openssl=DIR Include the OpenSSL support

--with-openssl-includes=DIR
Find OpenSSL headers in DIR

--with-openssl-libs=DIR
Find OpenSSL libraries in DIR
 
Old 08-25-2008, 06:24 PM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 13.37
Posts: 4,021

Rep: Reputation: 125Reputation: 125
Quote:
Originally Posted by RMLinux View Post
but when I try to query my database I encountered error?
Can you post the error please?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vsFTPd - SSL connection and dynamic SSL ports toxoplasme Linux - Server 11 08-22-2008 10:50 PM
LXer: LAMP vs. LAMP Rematch LXer Syndicated Linux News 0 11-08-2006 03:03 AM
LXer: LAMP vs. LAMP LXer Syndicated Linux News 0 08-22-2006 11:33 PM
creating an SSL page under non SSL site with apache1.33? taiwf Linux - Software 1 06-27-2006 01:06 AM
need help with apach virtual hosts ssl/non ssl sites danthach Linux - Networking 3 05-25-2006 06:40 AM


All times are GMT -5. The time now is 09:11 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration