Bug 16660 - PHP modules don't talk to MySQL
Summary: PHP modules don't talk to MySQL
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: apache   
(Show other bugs)
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-08-21 02:35 UTC by Need Real Name
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-08-23 05:38:43 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Need Real Name 2000-08-21 02:35:58 UTC
MySQL connectivity for exisitng scripts known to work do not work.   I used
a copy of apache and PHP3 that I compiled that work fine on this
installation.

Comment 1 Trond Eivind Glomsrxd 2000-08-21 14:00:16 UTC
Do the database work if you log in manually as the nobody user and execute the
same queries?

And could you elaborate on the "do not work" part?

Comment 2 Trond Eivind Glomsrxd 2000-08-21 19:02:05 UTC
Oh - and how you tried the components in Rawhide?

Comment 3 Need Real Name 2000-08-22 01:15:11 UTC
OK, I fixed this one.  Since I was converting a server over from a RH 6.2
installation I failed to make an "apache" user.  I have I configured the Listen
Directive to listen on port 8000 and tried to start it via
/etc/rc.d/init.d/httpd start and it wouldn't.  When i started it by
/usr/sbin/httpd -D HAVE_PHP4 it gave me the eeror about the apache user.  That
is a change from 6.2 since in 6.2 it ran as nobody.  Though I did create a
"webserver" user to run it under in 6.2.  The PHP module is working OK and is
connecting.  humblest apologies.

Comment 4 Nalin Dahyabhai 2000-08-23 05:38:40 UTC
Looks like I should be closing this one out, then.

Comment 5 Need Real Name 2000-08-23 12:38:25 UTC
yep, go for it....though that machine has stopped responding.  I'll check it
this morning, there may be a new bug report to come.  It had been under attack
from hackers who got into RH6.2 via rpc.statd and then installed the rootkit. 
It required a format and re-install.  I decided to try pinstripe.  If the
hackers are back, they may have crashed it.  It might be time to put up a
"honeypot" RH6.1 machine.    but I digress


Note You need to log in before you can comment on or make changes to this bug.