MSUNAG Archives

MSUNAG Archives


View:

Next Message | Previous Message
Next in Topic | Previous in Topic
Next by Same Author | Previous by Same Author
Chronologically | Most Recent First
Proportional Font | Monospaced Font

Options:

Join or Leave MSUNAG
Reply | Post New Message
Search Archives


Subject:

PHP5 question

From:

Eric Weston <[log in to unmask]>

Reply-To:

[log in to unmask]

Date:

Thu, 5 Apr 2007 09:16:34 -0400

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (1 lines)


Hey all you LAMP developers -

   We just started upgrading our RHEL4 servers to RHEL5. RHEL5 is
bundled with PHP5, and we discovered that when we upgraded, some PHP
pages we were running broke. The problem is with the MySQL functions;
They no longer connect to our MySQL database server. After Googling this
problem, I learned that PHP5 no longer enables MySQL access by default,
and I also read that the functions have been renamed. The renamed
functions doesn't appear to be a problem for us, as the error messages
we've encountered do not indicate unknown functions (I assume the RedHat
implementation of PHP5 includes backward compatibility). We get messages
such as:

Warning: mysql_connect() [function.mysql-connect]: Can't connect to
MySQL server on 'mysql.lib.msu.edu' (13)

I was able to connect to our mysql server from the upgraded RHEL5 server
with the mysql client, so the problem is definitely with PHP. All the
"solutions" to this problem I found explain how to enable mysql library
support by passing "--with-mysql" when you compile PHP5, but we didn't
built PHP5; it comes bundled with RedHat.

   Any ideas?
--
^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V
Eric Weston, M.F.A.
Information Technology Professional
Michigan State University Libaries, Systems Unit
http://www.msu.edu/~westone

Friday the 13th falls on a Friday this month.
                     


Back to: Top of Message | Previous Page | Main MSUNAG Page

Permalink



LIST.MSU.EDU

CataList Email List Search Powered by the LISTSERV Email List Manager