Loading an extension

From: Date: Tue, 16 Nov 2004 08:08:46 +0000
Subject: Loading an extension
Groups: php.general 
Request: Send a blank email to php-general+get-202114@lists.php.net to get a copy of this message
Hi all, I want to add an extension (CURL, mysql) to a php program without specifying it in php.ini (because on some servers I might not have the right to modify that configuration file). I have tried using the dl() function, but here is an error I get on the browser when doing this: Warning: dl() [ function.dl]: Not supported in multithreaded Web servers - use extension=ext/php_mysql.dll in your php.ini in D:\broker\html\cotatii.php on line 6 Fatal error: Call to undefined function mysql_connect() in D:\broker\html\cotatii.php on line 8 Thank you. Teddy

« previous php.general (#202114) next »