"please help me"

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Locked
sj1983msh
Forum Newbie
Posts: 15
Joined: Thu Feb 28, 2008 12:01 pm

"please help me"

Post by sj1983msh »

Hi everyone,

I have a problem with my php code to connect to the MYSQL.
I use PHP 5.2.5 and MySQL server 5.x.
MySQL is running well, I can connect to the MySQL Server via Commandline and it responds correctly.
But when I try to connect to the data base via my Script ($link=mysql_connect...), it shows me this error>> Call to undefined function.......
I installed my PHP with the windows installer and it sets the PHP.ini and the extensions like php_mysql.dll or php_imap.dll .... automatically. ( you can choose which extensions to install in the installation wizard )

What should I do?
Currently, the ext. are saved to c:\PHP\ext and the PHP.INI file has been saved to c:\php\
The installer has done it automatically, I didn't save them there.

I have also tried this too>> I copied and pasted the php.ini file too the c:\windows\ directory and copied all the extensions to the c:\windows\system32\ directory. But still my scripts doesn't work.
:banghead:

Please help me out of this. I need it from you. You are experts in PHP/MySQL. So please help my firends. :(

Sincerely Yours
Saman J.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: "please help me"

Post by John Cartwright »

2nd double post. Warning #2.

Topic Locked.
Locked