Mailing List Archive

MythWeb gives error
I am running MythTV running fine on my RedHat 8.0. I am running mythbackend and mythfrontend running on the same machine. Apache is setup from stock RH8.0 package setup. MythWeb compiled just fine. I did the following as root from the untarred directory of mythweb-0.8: mkdir /var/www/html/mythweb
cp -r . /var/www/html/mythweb When I open mozilla and point to http://localhost/mythweb/I get the following message: Fatal error: Call to undefined function: mysql_connect() in /var/www/html/mythweb/db_open.php on line 20. I checked and found that the php, php-imap and php-ldap packages have been installed. Is there any setup I missed with php setup in Apache in RedHat 8.0? Any suggestion will be helpful. Thanks.


---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
Re: MythWeb gives error [ In reply to ]
You are missing the mySQL libraries for PHP.

What's wierd is that you say you are using Apache/PHP from RH 8.0 setup, which would include it (unless you specifically removed it).

Please visit http://www.php.net/manual/en/installation.php for more info

Thanks,
Brad
----- Original Message -----
From: Kaushik Mallick
To: mythtv-users@snowman.net
Sent: Saturday, April 19, 2003 3:57 PM
Subject: [mythtv-users] MythWeb gives error


I am running MythTV running fine on my RedHat 8.0. I am running mythbackend and mythfrontend running on the same machine. Apache is setup from stock RH8.0 package setup. MythWeb compiled just fine. I did the following as root from the untarred directory of mythweb-0.8:

mkdir /var/www/html/mythweb
cp -r . /var/www/html/mythweb

When I open mozilla and point to http://localhost/mythweb/
I get the following message:

Fatal error: Call to undefined function: mysql_connect() in /var/www/html/mythweb/db_open.php on line 20.

I checked and found that the php, php-imap and php-ldap packages have been installed. Is there any setup I missed with php setup in Apache in RedHat 8.0? Any suggestion will be helpful. Thanks.




------------------------------------------------------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.


------------------------------------------------------------------------------


_______________________________________________
mythtv-users mailing list
mythtv-users@snowman.net
http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
Re: MythWeb gives error [ In reply to ]
>>>>> On Sat, 19 Apr 2003 12:57:13 -0700 (PDT), Kaushik Mallick <kmallick2000@yahoo.com> said:
[...]
k> When I open mozilla and point to http://localhost/mythweb/I get the
k> following message: Fatal error: Call to undefined function:
k> mysql_connect() in /var/www/html/mythweb/db_open.php on line 20. I
k> checked and found that the php, php-imap and php-ldap packages have
k> been installed. Is there any setup I missed with php setup in
k> Apache in RedHat 8.0? Any suggestion will be helpful. Thanks.

Install php-mysql.

--
Gregorio Gervasio, Jr.
gtgj@pacbell.net