Darn IT ALL

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
cyberkatis
Posts: 10
Joined: Fri Sep 06, 2002 2:18 pm

Darn IT ALL

Post by cyberkatis »

ok Guys, thanks for the help. I did a ./configure --with-mysql (version php-4.2.3).

I then did a make

Then I did make install.

Everything finished up.
I mv the file php.ini-dist to /etc/php.ini

I then edited it and turned Globals On and uncommented the extension=mysql.so.

I then restarted httpd (just for the hell of it) and tried to browse http://mymachinename/cacti/ with THE SAME RESULTS. Can you think of anything else I'm forgetting to do here?

I really need to get this darn thing up and running before Monday.....I must be forgetting something somewhere.....could it be a path definition?

Thanks, Chris.
Linux Newbie, But LOVING IT!!
phriday613
Posts: 32
Joined: Thu Aug 15, 2002 10:29 am
Location: ct
Contact:

Post by phriday613 »

type

whereis cacti

in command line. That'll find where cacti is. You could move the cacti folder to the /var/www/html folder. /var/www/html is the web root for apache.

try that, see what happens
cyberkatis
Posts: 10
Joined: Fri Sep 06, 2002 2:18 pm

Cacti located under /var/www/html already

Post by cyberkatis »

Already located here. Ian said that it may be because php was compiled w/o mysql support. So I redid it and I'm still getting that error.

I'm at a standstill.....

Chris.
Linux Newbie, But LOVING IT!!
khutton
Cacti User
Posts: 77
Joined: Tue Jun 18, 2002 9:01 am
Location: Alexandria, Virginia
Contact:

Post by khutton »

What OS are you on, is it RedHat 7.3? When building my box, I was reading about not using MySQL if it is compiled under the gcc compiler that is in RH 7.3 or 7.2 (I think). I just used the prebuilt MySQL binary that was downloadable from MySQL. Just a thought.
cyberkatis
Posts: 10
Joined: Fri Sep 06, 2002 2:18 pm

Post by cyberkatis »

You mean use the rpm from the website? I think I did that. I downloaded the new main binary and client files then installed them using rpm -i.

Neither one coughed and it looks as though they installed ok. Is there any path stuff or thing I'm forgetting to do?

Again stuck in limbo......But I'll keep trying. I love to hear posts about people who are really excited about it's functionality!! Can't wait to finally get this working!!

Chris.
Linux Newbie, But LOVING IT!!
Japh
Posts: 7
Joined: Wed Sep 11, 2002 7:33 am

Post by Japh »

cyberkatis wrote:You mean use the rpm from the website? I think I did that. I downloaded the new main binary and client files then installed them using rpm -i.

Neither one coughed and it looks as though they installed ok. Is there any path stuff or thing I'm forgetting to do?

Again stuck in limbo......But I'll keep trying. I love to hear posts about people who are really excited about it's functionality!! Can't wait to finally get this working!!

Chris.
(This is kind'a cross-posting ... but here goes):

Side note:

On RH7.3 "Stock install", the (commented) entry on /etc/php.ini is:

;extension=php_mysql.dll

After installing the php-mysql package (for RH7.3), the correct (and uncommented, of course) entry has to be:

extension=mysql.so

You can check what rpm's you have installed for php with:

rpm -qa | grep php

My (working) install on a RH 7.3 has:

[root@intra cacti]# rpm -qa |grep php
php-mysql-4.1.2-7 <- You need this one
asp2php-0.76.2-1
php-4.1.2-7 <- You need this one
php-ldap-4.1.2-7
php-devel-4.1.2-7
php-imap-4.1.2-7

The others I don't think you'll need it ..

Oh ... I have the stock RH 7.3 Apache installed:

[root@intra cacti]# rpm -qa |grep apache
apache-1.3.23-11
apache-devel-1.3.23-11

Hope this helps too...
We're born naked, wet and hungry.
Then things get worse.
cyberkatis
Posts: 10
Joined: Fri Sep 06, 2002 2:18 pm

Post by cyberkatis »

Well there you go.......

php-mysql-4.1.2-7 is not one of the answers I get here :-))

How in the "he double toothpick" do I get this loaded? Is it a seperate binary like mysql client and main is?

Thanks for leading me down the yellow brick path on this one.....

Chris.
Linux Newbie, But LOVING IT!!
Japh
Posts: 7
Joined: Wed Sep 11, 2002 7:33 am

Post by Japh »

cyberkatis wrote:Well there you go.......

php-mysql-4.1.2-7 is not one of the answers I get here :-))

How in the "he double toothpick" do I get this loaded? Is it a seperate binary like mysql client and main is?

Thanks for leading me down the yellow brick path on this one.....

Chris.
Get it from:
ftp://ftp.ip.pt/pub/redhat/ftp.redhat.c ... 7.i386.rpm

(or from your favorite Redhat Mirror .. or even search for it on your RH CDs)

and install it with:

rpm -Uvh /path/to/php-mysql-4.1.2-7.i386.rpm

(if you have a good internet connection, you can do:

rpm -Uvh ftp://ftp.ip.pt/pub/redhat/ftp.redhat.c ... 7.i386.rpm 8) )



Don't forget to doublecheck your /etc/php.ini according to my last post ! :-)

Hope you get it on this time :lol:
We're born naked, wet and hungry.
Then things get worse.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests