RE: [PHP-DB] php/mysql/unix-Linux hosting with major DBMS support>?

From: Date: Tue, 17 Jul 2001 01:37:46 +0000
Subject: RE: [PHP-DB] php/mysql/unix-Linux hosting with major DBMS support>?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-10494@lists.php.net to get a copy of this message
I'm not sure if dl() can be restricted in php.ini-- Someone else will have to comment on that... I believe you'll have to dl() on every page you create... You could always do the following for portability to other PHP hosts, just in case they have the module already compiled in: if(!extension_loaded("mysql")) dl("mysql.so"); That's assuming that the mysql ext. is named "mysql.so" in a compiled state, of course. -----Original Message----- From: Ken Sommers [mailto:sommersken@hotmail.com] Sent: Monday, July 16, 2001 9:26 PM To: Matthew Loff; 'PHP DB Mailing List' Subject: Re: [PHP-DB] php/mysql/unix-Linux hosting with major DBMS support>? Thanks for the HOT tip..on the dl() function. should the dl() function work an ANY PHP4 host? or do restrictons apply? would I put the dl() at the top of EVERY script page In which I Need the functionality..? or just load it once per "session" and check and see if it';s already loaded before I Load it,each time because it might already be loaded,, like I Used to do when I used to get loaded? the documentation is kinda skimpy. here's what it says: --- dl (PHP 3, PHP 4 >= 4.0b1) dl -- load a PHP extension at runtime Description int dl (string library) Loads the PHP extension defined in library. See also the extension_dir configuration directive. --- thanks, Ken ----- Original Message ----- From: "Matthew Loff" <matt@willetts.com> To: "'Ken Sommers'" <sommersken@hotmail.com>; "'PHP DB Mailing List'" <php-db@lists.php.net> Sent: Monday, July 16, 2001 6:01 PM Subject: RE: [PHP-DB] php/mysql/unix-Linux hosting with major DBMS support>? > > Even if a PHP host doesn't have all the DBMS extensions you need, you > could compile them and load them yourself with dl() > > http://www.php.net/manual/en/function.dl.php > > I thought you might want to keep that in mind, in case one particular > host has a great price but not all the features you need... > > > -----Original Message----- > From: Ken Sommers [mailto:sommersken@hotmail.com] > Sent: Monday, July 16, 2001 8:53 PM > To: PHP DB Mailing List > Subject: [PHP-DB] php/mysql/unix-Linux hosting with major DBMS > support>? > > > Any one use or know of a php/mysql/unix-Linux hosting company with > PHP database support compiled with all the major DBMS's such as: > > mSQL > MySQL > PostgreSQL > Sybase > Oracle > Informix > MS-SQL > Other ODBC Database > > I will need to use some or all of these DBMS PHP functions for remote > access. > > thanks,, > Ken > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > >

« previous php.db (#10494) next »