ZEND STUDIO

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
hrubos
Forum Contributor
Posts: 172
Joined: Sat Oct 07, 2006 3:44 pm

ZEND STUDIO

Post by hrubos »

I have installed ZEND STUDIO, but I have received error that can't connect to MySql.How to do to connect to mysql.I used PSPad, then I tried running on browser, I can connect to mysql.
Corvin
Forum Commoner
Posts: 49
Joined: Sun Dec 03, 2006 1:04 pm

Post by Corvin »

Zend Studio is using mysql .. ? :?
What exactly is the problem ? Which error message do you get ?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Are you using the database connection settings in Studio? They are pretty straight forward, if you go to the databases tab.
hrubos
Forum Contributor
Posts: 172
Joined: Sat Oct 07, 2006 3:44 pm

Post by hrubos »

I have received this error from ZEND editor :
Debug Error: D:\htdocs\BP\db_connectFun.php line 8 - Call to undefined function mysql_connect()
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Then you don't have the mysql extension enabled. Enable the extension, restart your server and try again.
hrubos
Forum Contributor
Posts: 172
Joined: Sat Oct 07, 2006 3:44 pm

Post by hrubos »

Everah wrote:Then you don't have the mysql extension enabled. Enable the extension, restart your server and try again.
I have had the mysql extension enabled in php.ini. And I have run in browser when I code by PSPad. But in ZEND editor, I have had that error. So how should I do???
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Doesn't Zend run its own server instance with its own php.ini?
hrubos
Forum Contributor
Posts: 172
Joined: Sat Oct 07, 2006 3:44 pm

Post by hrubos »

feyd wrote:Doesn't Zend run its own server instance with its own php.ini?
Yeah.
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Then you sure it's enabled there, too?
hrubos
Forum Contributor
Posts: 172
Joined: Sat Oct 07, 2006 3:44 pm

Post by hrubos »

m3mn0n wrote:Then you sure it's enabled there, too?
it was enabled in ZEND??? I haven't changed anything in ZEND and I"m not sure that the mysql extension enabled in ZEND. but in Php.ini it was
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

What I do is run my apps from my local server instead of the Zend server. Or push them the PHP executable on my system. I have never had this problem before, when doing it the way I described here.
hrubos
Forum Contributor
Posts: 172
Joined: Sat Oct 07, 2006 3:44 pm

Post by hrubos »

Everah wrote:What I do is run my apps from my local server instead of the Zend server. Or push them the PHP executable on my system. I have never had this problem before, when doing it the way I described here.
I run in localhost and so I have done Zend connect to sql then I restart server . I think I have done follow ur way, but still that error
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

What I am saying is that all of my projects are located in my localhost server root. When I test my apps, I call them from my browser at http://localhost/application_name. I infrequently use the Zend Studio debugger as it is lacking in my opinion. So I test locally through my local server.
hrubos
Forum Contributor
Posts: 172
Joined: Sat Oct 07, 2006 3:44 pm

Post by hrubos »

Everah wrote:What I am saying is that all of my projects are located in my localhost server root. When I test my apps, I call them from my browser at http://localhost/application_name. I infrequently use the Zend Studio debugger as it is lacking in my opinion. So I test locally through my local server.
thank ur help and I think I will do follow you
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

For the non-aolspeaking viewers...

Post by feyd »

hrubos wrote:
Everah wrote:What I do is run my apps from my local server instead of the Zend server. Or push them the PHP executable on my system. I have never had this problem before, when doing it the way I described here.
I run in localhost and so I have done Zend connect to sql then I restart server . I think I have done follow your way, but still that error
hrubos wrote:
Everah wrote:What I am saying is that all of my projects are located in my localhost server root. When I test my apps, I call them from my browser at http://localhost/application_name. I infrequently use the Zend Studio debugger as it is lacking in my opinion. So I test locally through my local server.
thank you [for] your help and I think I will -do- follow you
Post Reply