Help - Search - Members - Calendar
Full Version: Linux 8.0 Installed With Apache 2.0, Php And Mysql
Linuxhelp > Support > Technical Support
I just built a new Linux 8.0 system and loaded the Apache 2.0 Server, PHP and MySQL Server with the install. I cannot seem to run any PHP MySQL Functions. I get this error:

Fatal error: Call to undefined function: mysql_connect()

Any ideas?
sounds like mysql isnt running.
nope, i can run mysql and create edit delete modify mysql databases. Just cant get at them via php pages.
check to see if mysql is compiled into php

create this php page
and view it in your browser
and somewhere on the page
it should tell you if mysql is enabled

place the following in a php page:

figured it out. downloaded the php-mysql rpm and installed it. All is working now.
yes, whenever you get a call to an invalid function, that means that the function does not exist, which means either a) the package that the function in included with is not installed/compiled into php, or cool.gif you didnt create the function yourself.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.