PHP, MySQL, and Apache

jose sanchez j_r_sanchez at yahoo.com
Mon Apr 22 16:24:25 CDT 2002


> Hello:
> 
> I am experiencing some problems with a webserver I'm
> testing at home. I built a php webpage with db
> connectivity on a Win environment using PHPDev4 and
> it
> runs fine even connecting to a remote mysql sever.
> Now, I uploaded this page to the webserver which is
> also running mysql server on a RedHat 7.2 machine
> and
> I can't get the page to load correctly. This is the
> message I get:
> 
> Fatal error: Call to undefined function:
> mysql_connect() in
> /var/www/html/domainName/Maintain/db_connect.php on
> line 13.
> 
> 
> I changed the servername to localhost but still
> can't
> connect.
> 
> Is there some specific configuration that need to be
> done on Linux in order to get php and mysql to work
> side-by-side?
> 
> Note:
> The apache server is a fresh RPM install.
> 
> Thanks in advance for all your help.
> 
> 
> =====
> www.whmicro.com
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Games - play chess, backgammon, pool and more
> http://games.yahoo.com/
> 

=====
www.whmicro.com

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/




More information about the Kclug mailing list