Zendstudio usage (solved by yourself)-php Tutorial

Source: Internet
Author: User
Tags sql server driver
Zendstudio is used for help (the problem has been solved by myself). This post is finally edited by tola147 from 2013-01-1302: 08: 43. my database is & nbsp; sqlserver & nbsp; 2005 & nbsp; driver & nbsp; 2.0 -- php_sqls zend studio used for help (solved by yourself)

This post was last edited by tola147 at 02:08:43

The database I use is sqlserver 2005 using the SQL server driver 2.0 -- php_sqlsrv_53_ts_vc9.dll
Everything works on the web server
However, when debugging in zend, the system prompts Fatal error: Call to undefined function sqlsrv_connect ()
I replaced php53 on the web server with the php53 directory in zend.

Who knows how to solve it ??

Thank you !!!!



I am about to crash. The php on the web server is 5.3.8 thread safe vc9.

In zend studio, php5.2 none thread safe vc

According to microsoft driver for php & mssqlserver, php5.2 none thread safe should be php_sqlsrv_52_nts_vc6.dll.




Still unavailable

Debug Error:/case_system/class/sqlserver. php line 32-Call to undefined function sqlsrv_connect ()
PHP Warning: PHP Startup: sqlsrv: Unable to initialize module
Module compiled with module API = 20090626, debug = 0, thread-safety = 1
PHP compiled with module API = 20060613, debug = 0, thread-safety = 0
These options need to match
In Unknown on line 0

He means that php is none thread-safe, but sqlsrv in my house is thread-safe, but I obviously use nsf !!!

How do you use zend studio? do you use mysql ???

This is the version of zend studio php.


This is the php version of web server.




Help me


I want to solve the problem. I solved the problem that the php_sqlsrv_52_nts_vc6.dll of the none thread saft of php5.2 was not put in the wrong position, but the zend php executables setting was incorrect and php5.2 was not selected.

In addition, the reason why php5.3.8 cannot be added to zend studio is that zend debugger is required for testing in zend studio. dll and this is none thread safe, so it cannot be used with my 5.3.8 ts. the solution is to download a php5.3.8 CNT configuration to zend studio.

Download URL: http://www.mycodes.net/16/1436.htm

Sqlsrv_connect sqlserver zend? Studio db? Driver? Config


------ Solution --------------------
I am also confused when configuring the debugging environment of zend studio.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.