Darn IT ALL
Moderators: Developers, Moderators
-
- Posts: 10
- Joined: Fri Sep 06, 2002 2:18 pm
Darn IT ALL
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.
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!!
-
- Posts: 32
- Joined: Thu Aug 15, 2002 10:29 am
- Location: ct
- Contact:
-
- Posts: 10
- Joined: Fri Sep 06, 2002 2:18 pm
Cacti located under /var/www/html already
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.
I'm at a standstill.....
Chris.
Linux Newbie, But LOVING IT!!
-
- Posts: 10
- Joined: Fri Sep 06, 2002 2:18 pm
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.
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!!
(This is kind'a cross-posting ... but here goes):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.
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.
Then things get worse.
-
- Posts: 10
- Joined: Fri Sep 06, 2002 2:18 pm
Get it from: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.
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 )
Don't forget to doublecheck your /etc/php.ini according to my last post !
Hope you get it on this time
We're born naked, wet and hungry.
Then things get worse.
Then things get worse.
Who is online
Users browsing this forum: No registered users and 4 guests