Re: [PHP-DB] PHP 4.04 install binary Win32 and MSQL 7.0

2001-01-18 Thread ryan . sinn


In the php.ini there's a section with database configuration for each type
of SQL Server.  You can uncomment as many as you want [they don't
conflict].  I know this doesn't apply to this question, per se, but a
php.ini configuration change occured between PHP 4.0.3 and 4.0.4 --

In PHP 4.0.3 the extension=php_mssql70.dll value was located under the
"Dynamic Extensions" section as well as the [MSSQL] section of the INI,
located towards the bottom of the file.  With PHP 4.0.4 -- they've removed
the "extension=php_mssql70.dll" from the [MSSQL] section and now it's only
located under the "DYNAMIC EXTENSIONS" header.  Just remove the comment [;]
from in-front of the extensions you'd like to enable.

Here's what section looks like...

;;
; Dynamic Extensions ;
;;
; if you wish to have an extension loaded automaticly, use the
; following syntax:  extension=modulename.extension
; for example, on windows,
; extension=msql.dll
; or under UNIX,
; extension=msql.so
; Note that it should be the name of the module only, no directory
information
; needs to go here.  Specify the location of the extension with the
extension_dir directive above.


;Windows Extensions
;Note that MySQL and ODBC support is now built in, so no dll is needed for
it.
;
;extension=php_bz2.dll
;extension=php_ctype.dll
;extension=php_cpdf.dll
;extension=php_curl.dll
;extension=php_cybercash.dll
;extension=php_db.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_domxml.dll
;extension=php_dotnet.dll
;extension=php_exif.dll
extension=php_fdf.dll
;extension=php_filepro.dll
extension=php_gd.dll
;extension=php_gettext.dll
;extension=php_ifx.dll
;extension=php_iisfunc.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_java.dll
extension=php_ldap.dll
;extension=php_mhash.dll
;extension=php_mssql65.dll
extension=php_mssql70.dll  <<<<<<<<--- THERE'S THE MSSQL7 support
;extension=php_oci8.dll
extension=php_openssl.dll
;extension=php_oracle.dll
extension=php_pdf.dll
;extension=php_pgsql.dll
;extension=php_printer.dll
;extension=php_sablot.dll
extension=php_snmp.dll
;extension=php_sybase_ct.dll
;extension=php_yaz.dll
;extension=php_zlib.dll


Also remember, when you make a change to the PHP.INI [located in the C:
\WINNT directory] and you want to enable the change you must do a "NET STOP
IISADMIN" to stop then IIS Server then restart it.  That's about it.  Your
change should either show signs of functioning.

Hope that helps.  I've been running IIS/NT4/PHP4.0.3 -> PHP4.0.4 since
about November '00 -- so I've seen a bunch of interesting things since I
started Hopefully I'll be able to answer more questions.  One last
thing, in the subject you refer to MSQL 7.0 -- you should probably use
MSSQL instead, to help avoid confusion [yea, i know, it was probably just a
typo].


Ryan Sinn
US Bank Corporate LAN
[EMAIL PROTECTED]








"Stefan Siefert" <[EMAIL PROTECTED]> on 01/18/2001 10:41:56 AM

To:   [EMAIL PROTECTED]
cc:   [EMAIL PROTECTED]
Subject:  AW: [PHP-DB] PHP 4.04 install binary Win32 and MSQL 7.0


I'm not 100 % sure (cause we don't use the win binaries) but I think I can
remember that you have to uncomment some lines in the php.ini file. There
should be a section with database modules like oracle odbc or somethink
like
this. try to uncomment the sybase module.

Hope this works,

Greetings

Stefan

-Ursprungliche Nachricht-
Von: Come Italia s.r.l. - Webmaster [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 18. Januar 2001 16:05
An: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Betreff: [PHP-DB] PHP 4.04 install binary Win32 and MSQL 7.0


I've installed and correctly configured (I suppose) the binary version of
PHP 4.04 on a Win NT server with Microsoft IIS.
I'm using CGI version of IIS.
when I try to connect my script with Microsoft SQL 7.0 DB I get this error
"Fatal error: Call to undefined function: sybase_pconnect() in
./db/sybase.php on line 17"
This means that the binary version of PHP doesn't support SQL 7.0??
Must I compile the source code of PHP?
Thanks a lot
Luca


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]










-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




AW: [PHP-DB] PHP 4.04 install binary Win32 and MSQL 7.0

2001-01-18 Thread Stefan Siefert

I'm not 100 % sure (cause we don't use the win binaries) but I think I can
remember that you have to uncomment some lines in the php.ini file. There
should be a section with database modules like oracle odbc or somethink like
this. try to uncomment the sybase module.

Hope this works,

Greetings

Stefan

-Ursprungliche Nachricht-
Von: Come Italia s.r.l. - Webmaster [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 18. Januar 2001 16:05
An: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Betreff: [PHP-DB] PHP 4.04 install binary Win32 and MSQL 7.0


I've installed and correctly configured (I suppose) the binary version of
PHP 4.04 on a Win NT server with Microsoft IIS.
I'm using CGI version of IIS.
when I try to connect my script with Microsoft SQL 7.0 DB I get this error
"Fatal error: Call to undefined function: sybase_pconnect() in
./db/sybase.php on line 17"
This means that the binary version of PHP doesn't support SQL 7.0??
Must I compile the source code of PHP?
Thanks a lot
Luca


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] PHP 4.04 install binary Win32 and MSQL 7.0

2001-01-18 Thread Come Italia s.r.l. - Webmaster

I've installed and correctly configured (I suppose) the binary version of 
PHP 4.04 on a Win NT server with Microsoft IIS.
I'm using CGI version of IIS.
when I try to connect my script with Microsoft SQL 7.0 DB I get this error 
"Fatal error: Call to undefined function: sybase_pconnect() in 
./db/sybase.php on line 17"
This means that the binary version of PHP doesn't support SQL 7.0??
Must I compile the source code of PHP?
Thanks a lot
Luca