Re: [PHP] Cannot connect to database when using Zend studio debugger
Thanks, Burhan. Supersky Burhan Khalid [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Supersky wrote: Dear Richard, Thanks. After I swaped to PHP4 option in the preference of Zend Studio, I can connect to the database. However, other problems arised. The problem might be that my PHP version installed is 5.0.3 indeed. You should post this stuff at the My Zend center at zend.com -- they are really good with supporting such things. I've had a few issues with Zend studio that they showed me how to fix. Although I'm still a bit annoyed that they don't support subversion, studio is still a great product. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Cannot connect to database when using Zend studio debugger
Supersky wrote: Dear Richard, Thanks. After I swaped to PHP4 option in the preference of Zend Studio, I can connect to the database. However, other problems arised. The problem might be that my PHP version installed is 5.0.3 indeed. You should post this stuff at the My Zend center at zend.com -- they are really good with supporting such things. I've had a few issues with Zend studio that they showed me how to fix. Although I'm still a bit annoyed that they don't support subversion, studio is still a great product. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Cannot connect to database when using Zend studio debugger
I am learning how to use Zend studio 4.0 debugger. With internal mode, when I debug a program that needs a connection to a Mysql database, I get the message Fatal error/b: Call to undefined function mysql_connect() in bD:\Program Files\Apache Group\Apache2\htdocs\topiclist.php. My php version is 5.03, mysql version is 4.1. Thanks, Ganxh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Cannot connect to database when using Zend studio debugger
Hello Supersky, Thursday, March 31, 2005, 11:49:37 AM, you wrote: S I am learning how to use Zend studio 4.0 debugger. With internal S mode, when I debug a program that needs a connection to a Mysql S database, I get the message Fatal error/b: Call to undefined S function mysql_connect() in bD:\Program Files\Apache S Group\Apache2\htdocs\topiclist.php. Sounds to me like Zend is debugging with the wrong PHP library. mysql_connect() is a PHP4 function, it's mysqli_connect() in PHP5 (by default anyway) - see if it helps swapping over the debug version used in the Zend Studio properties for your project? Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP Development Services I do not fear computers. I fear the lack of them. - Isaac Asimov -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Cannot connect to database when using Zend studio debugger
Dear Richard, Thanks. After I swaped to PHP4 option in the preference of Zend Studio, I can connect to the database. However, other problems arised. The problem might be that my PHP version installed is 5.0.3 indeed. Best regards, Supersky Richard Davey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello Supersky, Thursday, March 31, 2005, 11:49:37 AM, you wrote: S I am learning how to use Zend studio 4.0 debugger. With internal S mode, when I debug a program that needs a connection to a Mysql S database, I get the message Fatal error/b: Call to undefined S function mysql_connect() in bD:\Program Files\Apache S Group\Apache2\htdocs\topiclist.php. Sounds to me like Zend is debugging with the wrong PHP library. mysql_connect() is a PHP4 function, it's mysqli_connect() in PHP5 (by default anyway) - see if it helps swapping over the debug version used in the Zend Studio properties for your project? Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP Development Services I do not fear computers. I fear the lack of them. - Isaac Asimov -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php