On Thu, Feb 10, 2000 at 08:07:11AM +1030, John Pearson wrote: > On Wed, Feb 09, 2000 at 07:02:56PM +0000, Alisdair McDiarmid wrote > > I'm trying to get PHP3 and MySQL to play nice, but they refuse. I want > > to load the mysql.so extension, so in the /etc/php3/apache/php3.ini I > > put `extension = mysql.so' and checked that extension_dir was correct. > > > > This didn't work: php3 scripts without dl('mysql.so') in them fail to > > work: > > > > Fatal error: Call to unsupported or undefined function mysql_connect() > > in /home/alisdair/public_html/test.php3 on line 4 > > > > Why isn't it working? Do I have to recompile PHP3 with MySQL support > > builtin? > > /etc/php3/apache/php3.ini is used by the Apache PHP3 module; if you > are running PHP3 as a stand-alone interpreter you should make the > same > changes to /etc/php3/cgi/php3.ini
No, I am using the Apache PHP3 module, but just to be safe I tried that - no difference. Thanks, -- Alisdair McDiarmid [EMAIL PROTECTED]