Hi
it's a long time that i use mysql and php
i already created a site and have everything fixed
today i tried to access my site via apache but i recieved the following error:
call to undefined function mysql_connect
everything works fine
1)apache is running
2)mysql -u root -p connects to the mysql server and it runs
but what is the problem?????????
besides i tried other php files some of them works fine but some of them still send an error for the specified function used in them such as building graph function?
but everything was running correctly before today???????????!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(today i installed ntfs package to run windows files from my linux but i don't think that the problem is related to it--i am sure somehow- LAMP works fine in my linux)
do you have any idea?
Call to undefined function
Moderator: General Moderators
-
saman_artorious
- Forum Newbie
- Posts: 3
- Joined: Sat Nov 01, 2008 1:48 pm
Re: Call to undefined function
Hi,
maybe you have not installed php with mysql?
maybe you have not installed php with mysql?
Re: Call to undefined function
Try to open your php.ini file and uncomment this
Uncomment = delete ";"
Code: Select all
...
;extension=.....
[b]extension=php_mysql.dll[/b]
;extension=...
...
-
saman_artorious
- Forum Newbie
- Posts: 3
- Joined: Sat Nov 01, 2008 1:48 pm