many thanks.
advise me about ZEND studio
Moderator: General Moderators
advise me about ZEND studio
i'm using ZEND studio for my php pages...i just figure out how to configure php5+mysql+apache2...the problem is that, when i am using zend to edit some file, like connecting to mysql database, then preview it to the zend's internal browser, there was a fatal error like: undefined function mysql_connect()...but when i save the file, open it in firefox, i have a successful connection to mysql....can you advise me, or point me where could be the cause of the problem??
many thanks.
many thanks.
Re: advise me about ZEND studio
not quite sure if this actually will help.pleigh wrote:i'm using ZEND studio for my php pages...i just figure out how to configure php5+mysql+apache2...the problem is that, when i am using zend to edit some file, like connecting to mysql database, then preview it to the zend's internal browser, there was a fatal error like: undefined function mysql_connect()...but when i save the file, open it in firefox, i have a successful connection to mysql....can you advise me, or point me where could be the cause of the problem??
many thanks.
But Zend uses its own php.ini. Try making it the same as the one the apache uses and see if it works.
use you original php.ini instead of this of zend.pleigh wrote:yup...thanks...itried to look for the php.ini file of zend but there's only i think 3-4 lines...and is pointing to some directory....can't really understand...anymore hint?
backup the zend one.
then overwrite the zend ini with the one that apache uses.
Is it working that way?