Christian Lavoie hat gesagt: // Christian Lavoie wrote:

> Having found out that the problem was caused by Apache's magic 
> necessary-modules loader, I went to try to connect to mySQL. Here's 
> the output:
> 
> Fatal error: Call to unsupported or undefined function mysql_connect() 
> in /var/www/index.php3
> on line 13
> 
> Is it me or is the mySQL support absent? How can I fix that?

Do you have this in /etc/php3.ini?

;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
; if you wish to have an extension loaded automaticly, use the
; following syntax:  extension=modulename.extension
; for example, on windows,
; extension=msql.dll
; or under UNIX,
extension=mysql.so

BTW:
A good test for your config is a php3 webpage with just:

<? phpinfo() ?>

in it. Check this out, too.

-- 
                                                     __    __
 Frank Barknecht           ____ ______   ____ __ trip\ \  / /wire ______
                          / __// __  /__/ __// // __  \ \/ /  __ \\  ___\       
                         / /  / ____/  / /  / // ____// /\ \\  ___\\____ \      
                        /_/  /_____/  /_/  /_//_____// /  \ \\_____\\_____\
                                                    /_/    \_\ 

Reply via email to