mohan wrote:
hi,
i am working on php3.0+apache web server + sybase 11.9.2 running on windowsNT platform.when i tried to connect to database it is giving error as
Call to unsupported or undefined function sybase_connect() in c:\program files\apache group\apache\htdocs\sybase.php3 .
can u please help me out.
hi mohan!
i m also getting the same fatal error.
but i m using php3 and mysql on apache on linux.
what i found out is that if the php is installed on yr server BEFORE installing
the database then that database is not seen by the php application.
this logic is true for all the databases.
to tchnically check it out just fire phpinfo() from yr php3 script.
a page will be seen in the browser.it shows all the server side info.
IF Y DON'T SEE YR DATABASE(SYBASE,ORACLE,MYSQL) ENTRY IN THE EXTENSIONS PART THEN THAT MEANS YR PHP IS ENABLE TO SEE THE DATABASE AND THATS WHY THE CONNECTION PROBLEM IS THERE.
check out his issue with yr web admin.
this is a server config problem and not yr script problem.
best luck
cheers
niranjan