On Wed, 24 Nov 1999, Brian White wrote: > I've just finished installing PHP4 and PHP4-MySQL. I added the module in > to apache... > > LoadModule php4_module /usr/lib/apache/1.3/libphp4.so > > And now php files seem to get executed correctly. However, as soon as they > try to access a MySQL database, it appears the functions are not found: > > Fatal error: Call to undefined function: mysql_pconnect() in ./mysql.php3 > on line 15 > > I can't find anything in the documentation about this. The "php4-mysql" > package has a "mysql.so" library file in it, but zero documentation about > how to use it so I assume it should work out-of-the-box. > > Is there something else I need to do? > > php4: v4.0b3-1 > php4-mysql: v4.0b3-1 > apache: v1.3.9-10 > > (php3 is not installed, but there doesn't seem to be anything version > specific)
read /usr/share/doc/php4/README.Debian (you need to load the mysql module into php4) -- Madarasz Gergely [EMAIL PROTECTED] [EMAIL PROTECTED] It's practically impossible to look at a penguin and feel angry. Egy pingvinre gyakorlatilag lehetetlen haragosan nezni. HuLUG: http://mlf.linux.rulez.org/