RE: [PHP-WIN] installing on Unix....

From: Date: Mon, 15 Oct 2001 14:45:39 +0000
Subject: RE: [PHP-WIN] installing on Unix....
Groups: php.windows 
Request: Send a blank email to php-windows+get-9856@lists.php.net to get a copy of this message
I have found the following in the MySQl web site Error: "Fatal error: Call to unsupported or undefined function mysql_connect() in .." This means that your PHP version isn't compiled with MySQL support. You can either compile a dynamic MySQL module and load it into PHP or recompile PHP with built-in MySQL support. This is described in detail in the PHP manual. Does anyone know where in the PHP manual this can be found? I'm using PHP4 with MySql on a debian linux server -----Original Message----- From: Martin.Andrew [mailto:Martin.Andrew@kpmg-ct.com] Sent: 15 October 2001 15:18 To: php-windows@lists.php.net Subject: [PHP-WIN] installing on Unix.... I have successfully installed php4 on windows all works fine. I have been using this version and uploading the results to a (pre installed) unix server with php3 installed. But the time has come to upgrade the server with the PHP4 etc.... So for testing purposes a test server was installed with the same set up as the current server (php3, mysql etc), from this I want to update the php version What I have noticed is that while PHP4 is working fine without problems my_sql isn't!! I keep getting the error: Fatal error: Call to undefined function: mysql_pconnect() in ../include/db_mysql.inc on line 73 I have noticed that in the php3.ini the extension directory and mysql.so is set (as shown below) ;;;;;;;;;;;;;;;;;;;;;;;;; ; Paths and Directories ; ;;;;;;;;;;;;;;;;;;;;;;;;; extension_dir = /usr/lib/php3/cgi ;directory in which the loadable extensions (modules) reside ;unix extension extension=mysql.so So I try using the same directory but still no luck! Anybody know how to enable the My_sql function for php4 on a UNix system? Thanks.

« previous php.windows (#9856) next »