[PHP-DB] Re: [PEAR] DB Module Extension Problem
Hi Lukas, Do you mean that there are some tricky steps I should follow? Might I know where I can get the information? Thanks, -stanley --- Lukas Smith [EMAIL PROTECTED] Stanley Chan wrote: Hi friends, My program runs on a Linux Server (RH 7.3) with PHP 4.3.2. I also installed a package of PEAR::DB 1.5.0RC2. My program is supposed to connect to a remote Microsoft SQL Server 2000, so I make a DSN like this mssql://user:[EMAIL PROTECTED]/dbname When I try to connect, it prompts: DB Error: extension not found this error tries to tell you that you are missing the needed extensions in your php installation. mssql installation is somewhat non trivial. either way its a question best asked on php-general@ or php-db@ regards, Lukas Smith [EMAIL PROTECTED] ___ BackendMedia www.backendmedia.com [EMAIL PROTECTED] Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07 -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php _ Shining Friends... http://ringtone.yahoo.com.hk/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] Re: [PEAR] DB Module Extension Problem
Hi Robert, Thanks for your information. Does it mean that PEAR:DB is not fully independent module? It still requires some special compilation in PHP compiler. -stan --- Robert Munteanu [EMAIL PROTECTED] On Mon, 2004-01-19 at 10:40, Stanley Chan wrote: Hi Lukas, Do you mean that there are some tricky steps I should follow? Might I know where I can get the information? Thanks, -stanley The manual helps, as always: http://www.php.net/manual/en/ref.mssql.php --- Lukas Smith [EMAIL PROTECTED] ? Stanley Chan wrote: Hi friends, My program runs on a Linux Server (RH 7.3) with PHP 4.3.2. I also installed a package of PEAR::DB 1.5.0RC2. My program is supposed to connect to a remote Microsoft SQL Server 2000, so I make a DSN like this mssql://user:[EMAIL PROTECTED]/dbname When I try to connect, it prompts: DB Error: extension not found this error tries to tell you that you are missing the needed extensions in your php installation. mssql installation is somewhat non trivial. either way its a question best asked on php-general@ or php-db@ regards, Lukas Smith [EMAIL PROTECTED] ___ BackendMedia www.backendmedia.com [EMAIL PROTECTED] Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07 -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php _ Shining Friends€?.. ?? ? http://ringtone.yahoo.com.hk/ -- Robert Munteanu [EMAIL PROTECTED] _ Shining Friends... http://ringtone.yahoo.com.hk/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Re: [PEAR] DB Module Extension Problem
In my windows PHP installation i have to uncomment i line in the php.ini file that has something like: ;extension=mssql.dll you have to configure your php ini file. Set extensions dir and uncomment the mssql.dll (you will probably have mssql.so or something like that) In my case the dll's where included by default in my installation. I remeber that there was a section in the php.ini in which you could configure some mssql params but i dont remeber if that was needed. it looks like: [mssql] mssql.x= mssql.x= I didnt need to do any compilation to make it work, just uncommented some lines and set the extensions dirs. See your phpinfo() and look if the mssql was loadded (of curse it wasnt because you had that error message.) hope it helps. - Original Message - From: Stanley Chan [EMAIL PROTECTED] To: Robert Munteanu [EMAIL PROTECTED] Cc: Lukas Smith [EMAIL PROTECTED]; PEAR general list [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, January 19, 2004 3:18 PM Subject: [PHP-DB] Re: [PEAR] DB Module Extension Problem Hi Robert, Thanks for your information. Does it mean that PEAR:DB is not fully independent module? It still requires some special compilation in PHP compiler. -stan --- Robert Munteanu [EMAIL PROTECTED] On Mon, 2004-01-19 at 10:40, Stanley Chan wrote: Hi Lukas, Do you mean that there are some tricky steps I should follow? Might I know where I can get the information? Thanks, -stanley The manual helps, as always: http://www.php.net/manual/en/ref.mssql.php --- Lukas Smith [EMAIL PROTECTED] ? Stanley Chan wrote: Hi friends, My program runs on a Linux Server (RH 7.3) with PHP 4.3.2. I also installed a package of PEAR::DB 1.5.0RC2. My program is supposed to connect to a remote Microsoft SQL Server 2000, so I make a DSN like this mssql://user:[EMAIL PROTECTED]/dbname When I try to connect, it prompts: DB Error: extension not found this error tries to tell you that you are missing the needed extensions in your php installation. mssql installation is somewhat non trivial. either way its a question best asked on php-general@ or php-db@ regards, Lukas Smith [EMAIL PROTECTED] ___ BackendMedia www.backendmedia.com [EMAIL PROTECTED] Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07 -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php _ Shining Friends€?.. ?? ? http://ringtone.yahoo.com.hk/ -- Robert Munteanu [EMAIL PROTECTED] _ Shining Friends... http://ringtone.yahoo.com.hk/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] Re: [PEAR] DB Module Extension Problem
On Mon, 2004-01-19 at 16:18, Stanley Chan wrote: Hi Robert, Thanks for your information. Does it mean that PEAR:DB is not fully independent module? It still requires some special compilation in PHP compiler. -stan --- Robert Munteanu [EMAIL PROTECTED] l Support for database access is compiled into PHP by adding extensions. This is true even for MySQL. You could also try looking for precompiled shared extensions ( .so files ). But from now on this is a completely a PHP configuration issue, not a PEAR one. -- Robert Munteanu [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] Re: [PEAR] DB Module Extension Problem
On Mon, 2004-01-19 at 10:40, Stanley Chan wrote: Hi Lukas, Do you mean that there are some tricky steps I should follow? Might I know where I can get the information? Thanks, -stanley The manual helps, as always: http://www.php.net/manual/en/ref.mssql.php --- Lukas Smith [EMAIL PROTECTED] Stanley Chan wrote: Hi friends, My program runs on a Linux Server (RH 7.3) with PHP 4.3.2. I also installed a package of PEAR::DB 1.5.0RC2. My program is supposed to connect to a remote Microsoft SQL Server 2000, so I make a DSN like this mssql://user:[EMAIL PROTECTED]/dbname When I try to connect, it prompts: DB Error: extension not found this error tries to tell you that you are missing the needed extensions in your php installation. mssql installation is somewhat non trivial. either way its a question best asked on php-general@ or php-db@ regards, Lukas Smith [EMAIL PROTECTED] ___ BackendMedia www.backendmedia.com [EMAIL PROTECTED] Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07 -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php _ Shining Friends... http://ringtone.yahoo.com.hk/ -- Robert Munteanu [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php