The tip..
copy and paste your error code into google ;-)
Do it for all errors, you'll be amazed @ how many have already been answered
- Original Message -
From: Eric L. Sammons [EMAIL PROTECTED]
Date: Thursday, August 12, 2004 2:44 pm
Subject: [PHP] Fatal error: Call to undefined
= Original Message From Eric L. Sammons [EMAIL PROTECTED] =
= Original Message From Eric L. Sammons [EMAIL PROTECTED] =
did this, all answers came back stating to install php-mysql package. Already
have that installed. Some have stated they recompiled php, I really would
like to
Eric L. Sammons wrote:
Trying set up php-syslog-ng on my Red Hat EL 3.0 AS system. I have verified
that I can in fact access mysql and that I have the necessary database and
that the user, password, and host are setup correctly in db_fns.php. It
seems; however, that I still receive the given
[snip]
did this, all answers came back stating to install php-mysql package.
Already
have that installed. Some have stated they recompiled php, I really
would
like to avoid doing that so I don't affect my Red Hat support
agreements.
[/snip]
have you done phpinfo() to see if it really compiled?
I have done phpinfo and I see --with-mysql=shared,/usr
= Original Message From Jay Blanchard
[EMAIL PROTECTED] =
[snip]
did this, all answers came back stating to install php-mysql package.
Already
have that installed. Some have stated they recompiled php, I really
would
like to avoid
[snip]
I have done phpinfo and I see --with-mysql=shared,/usr
[/snip]
Have you started the mysql daemon?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have started mysql, all is working (when I use the mysql client).
= Original Message From Jay Blanchard
[EMAIL PROTECTED] =
[snip]
I have done phpinfo and I see --with-mysql=shared,/usr
[/snip]
Have you started the mysql daemon?
--
PHP General Mailing List (http://www.php.net/)
To
On Thu, 12 Aug 2004 15:38:45 -0400, Eric L. Sammons [EMAIL PROTECTED] wrote:
I have done phpinfo and I see --with-mysql=shared,/usr
That doesn't really matter. Is there a mysql section in the phpinfo()?
It should have information similar to this:
MySQL Support enabled
Active Persistent Links
No I see no mysql section in my phpinfo page. I am in the process of
rebuilding php to see if this resolves the problem.
= Original Message From [EMAIL PROTECTED] =
On Thu, 12 Aug 2004 15:38:45 -0400, Eric L. Sammons [EMAIL PROTECTED] wrote:
I have done phpinfo and I see
Eric L. Sammons wrote:
No I see no mysql section in my phpinfo page. I am in the process of
rebuilding php to see if this resolves the problem.
Did you restart Apache after installing the php-mysql rpm?
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing
On Friday 13 August 2004 03:15, Eric L. Sammons wrote:
did this, all answers came back stating to install php-mysql package.
Already have that installed. Some have stated they recompiled php, I
really would like to avoid doing that so I don't affect my Red Hat support
agreements.
Seems
Please do not top post.
On Friday 13 August 2004 04:04, Eric L. Sammons wrote:
No I see no mysql section in my phpinfo page. I am in the process of
rebuilding php to see if this resolves the problem.
If you mean recompile PHP then you had better be sure you know what you're
doing. My
try restarting apache.
if mysql were not running they would see a mysql error, not a PHP error
saying the function is not defined.
Is is something to do with how mysql is built into PHP and how PHP interacts
with apache, so if all else fails, try rebuilding PHP.
-B
- Original Message -
The issue was resolved by building my own version of PHP. It seems that
Red Hat EL 3.0 AS does not ship with a copy of MySQL server so I
installed an RPM from MySQL's web site. Everything installed in the
appropriate locations, /usr. It seems though that was not good enough
for the Red Hat
14 matches
Mail list logo