LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-29-2003, 12:26 PM   #1
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
Problem with apache SSL and PHP


I had Apache working fine (v 2.0.40) and just upgraded to the latest release. Actually, I did not upgrade... but rather, I installed it into a new directory and my plan is to remove the old directory when everything is good on the new installation.

I took my former httpd.conf and ssl.conf files and transferred a bunch of my stuff from the old conf files to the new ones. Most everything works now except for SSL and PHP.

When I call a page in my browser that is supposed to be SSL enabled, it gives me the standard "page cannot be displayed" message and nothing appears in my logs.

When I open a PHP webpage into my browser, it shows me all of the raw PHP code.

Is there something I need to do in order to enable SSL and PHP on my apache installation???

On the old installation, when I run apachectl -l I got...

core.c
prefork.c
http_core.c
mod_so.c

Now when I run it, I get...

Compiled in modules:
core.c
mod_access.c
mod_auth.c
mod_include.c
mod_log_config.c
mod_env.c
mod_setenvif.c
prefork.c
http_core.c
mod_mime.c
mod_status.c
mod_autoindex.c
mod_asis.c
mod_suexec.c
mod_cgi.c
mod_negotiation.c
mod_dir.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_so.c

and here are my configure options that I used...

./configure \
--with-suexec-docroot=/home \
--enable-suexec \
--with-suexec-caller=apache \
--with-suexec-logfile=/var/log/apache/suexec_log \
--with-suexec-userdir=html \
--with-suexec-uidmin=508 \
--with-suexec-gidmin=508 \
--with-suexec-safepath=/usr/local/bin:/usr/bin:/bin

Any advice would be welcome. I'm sure it's something small I have overlooked.
 
Old 10-30-2003, 04:24 AM   #2
Cyclo
Member
 
Registered: Jul 2003
Distribution: Slackware 9.1
Posts: 47

Rep: Reputation: 15
Apache 2.x is not stable with PHP or mod_ssl - try 1.3.x
 
Old 10-30-2003, 07:13 AM   #3
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Original Poster
Rep: Reputation: 31
You've got to be kidding

I had both PHP and SSL working in the last version I was using: 2.0.40.
 
Old 10-30-2003, 12:08 PM   #4
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Original Poster
Rep: Reputation: 31
Ok, that can't be the problem... I've just reinstalled the version I had running before... 2.0.40... and it still doesn't work. Same problems.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache-ssl not correctly parsing php files jme Linux - Software 2 05-03-2005 12:04 PM
Apache + SSL + PHP + Mysql rjbandura Linux - Software 5 07-01-2004 12:31 PM
Newbie Linux/Apache/SSL/MySQL/PHP Instalation Dilema rojow Linux - Software 12 10-24-2003 04:48 AM
Apache Jail with SSL, PHP and MySQL dai Linux - Security 3 07-05-2003 06:35 AM
RH9 Apache/SSL/PHP/MySQL RPM vs tar.gz Ani Linux - Newbie 5 04-26-2003 10:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:21 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration