Topic: Fatal error:Call to undefined function mysql_connect()

Hi,
I am new to FrontAccounting. I have copied the folder containing the FrontAccounting web files to my webserver's htdocs folder (Apache Server). When i visit the URL i get the Installation Screen asking me for the username and password for database and the application. But when i click "Install FrontAccounting", i get the following error message.

Fatal error: Call to undefined function mysql_connect() in E:\Apache2.2\htdocs\FA\install\save.php on line 342

Please help me!

Thank You

Sridhar

Re: Fatal error:Call to undefined function mysql_connect()

Seems you haven't mysql installed?

Janusz

Re: Fatal error:Call to undefined function mysql_connect()

i have installed mysql 5.1 and the service is also running. I am also able to connect to it using command line interface mysql.
Sridhar

Re: Fatal error:Call to undefined function mysql_connect()

Maybe mysql interface is switched off in php setup? I see no other reason why php standard l  mysql_connect() function is not visible on your system.
Janusz

5 (edited by sridhar_2000 03/19/2010 11:04:08 am)

Re: Fatal error:Call to undefined function mysql_connect()

can you let me know how to enable mysql interface?

Re: Fatal error:Call to undefined function mysql_connect()

E.g. for apache 2.0/php5 add to /etc/php5/apache2/php.ini:

extension=mysql.so

Janusz

Re: Fatal error:Call to undefined function mysql_connect()

itronics wrote:

E.g. for apache 2.0/php5 add to /etc/php5/apache2/php.ini:

extension=mysql.so

Janusz

I have the same problem, but don't get it solved.
FA 2.2.6
Suse Linux 11.2
Mysql 5.1.36
PHP5

Please help, I'am completely lost.

Re: Fatal error:Call to undefined function mysql_connect()

I guess the problem is not _exactly_ the same. In contrast to sridhar you are running Linux, not Win. If you checked php.ini, and above advice is not enough, probably you have not installed php5-mysql package.
Janusz