Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Post support questions that directly relate to Linux/Unix operating systems.
Moderators: Developers , Moderators
kaos
Posts: 13 Joined: Wed Dec 04, 2002 8:54 am
Post
by kaos » Wed Dec 11, 2002 2:08 am
Hello,
Does anyone knows what this mean? This happens when the cron Job executes.
<br>
<b>Fatal error</b>: Call to undefined function: mysql_connect() in <b>/var/www/html/cacti/include/database.php</b> on line <b>19</b><br>
Grtz
bulek
Cacti Pro User
Posts: 854 Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:
Post
by bulek » Wed Dec 11, 2002 11:23 am
The most probable explanation is you don't have PHP compiled with mysql support.
- bulek
kaos
Posts: 13 Joined: Wed Dec 04, 2002 8:54 am
Post
by kaos » Thu Dec 12, 2002 1:20 am
Hello,
I do have compiled it with mysql support. Look below.
Configure Command './configure' '--with-mysql' '--with-apxs'
I'm not sure if the problem lies in the php.ini file or in the mysql install.
I use Redhat 7.2.
Grtz
bulek
Cacti Pro User
Posts: 854 Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:
Post
by bulek » Thu Dec 12, 2002 2:51 am
Ok... what about the following line in php.ini:
extension=mysql.so
Should be uncommented.
- bulek
kaos
Posts: 13 Joined: Wed Dec 04, 2002 8:54 am
Post
by kaos » Thu Dec 12, 2002 8:43 am
Hello,
I checked the .ini file and uncommend the line, but the problem is still the same.
bulek
Cacti Pro User
Posts: 854 Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:
Post
by bulek » Thu Dec 12, 2002 10:04 am
No other ideas at the moment. I hope you restarted apache after the line has been uncommented.
- bulek
kaos
Posts: 13 Joined: Wed Dec 04, 2002 8:54 am
Post
by kaos » Fri Dec 13, 2002 4:14 am
Yep, i rebooted the server. Trying now to install php again.
For so far thanks fot the help
Grtz
Users browsing this forum: No registered users and 0 guests