Date: 12/15/99
- Next message: Daniel Lashua: "[PHPLIB] PHP4"
- Previous message: Danny William Adair: "[PHPLIB] clueless dummy"
- In reply to: Arlon Wilber: "[PHPLIB] phplib install"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Here is the answer:
There seems to be a bug (bug report #2329) in some of the php
distributions (including 3.0.12).
php list messages reveal the following solution:
> to fix it just remove #ifdef's surrounding mysql_errno in
> /php-3.0.12/functions/mysql.c
> and then recompile PHP/Apache. It worked for me.
Or, if you don't feel like doing that, you can comment out
calls to the mysql_errno function to get it running. There
are two such calls in db_mysql.inc
Arlon Wilber wrote:
>
> I'm having trouble installing phplib.
>
> I have done the following:
>
> 1. create the following include dir:
> /home/httpd/php
> 2. edit php3.ini as requested (track_vars, include dir,
> magic_quotes_gpc, auto_prepend_file)
> 3. restart apache
> 4. move the "pages/" files to my root html dir:
> /home/httpd/html
> 5. and try to access it from browser.
>
> I get the following:
>
> Fatal error: Call to unsupported or undefined function mysql_errno() in
> db_mysql.inc on line 118
>
> I saw this same question in the phplib mailing list archives, and
> one person responded that mysql was not installed. That's not the
> case. I have several mysql databases in use, accessed via php.
> They still work fine.
>
> Any ideas?
>
> More info:
> php ver 3.0.12
> MySQL ver 3.23.2-1
> apache ver 1.3.9
>
> -
> PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
> To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
> the body, not the subject, of your message.
-- /\ Arlon Wilber awilber <email protected> _\/_ MCU Design Engineering (919)479-3779 /_/\_\ Mitsubishi Electronics Durham, NC - PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>. To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in the body, not the subject, of your message.
- Next message: Daniel Lashua: "[PHPLIB] PHP4"
- Previous message: Danny William Adair: "[PHPLIB] clueless dummy"
- In reply to: Arlon Wilber: "[PHPLIB] phplib install"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

