Jump to content

php versions not matching


Daveyboy

Recommended Posts

I had some problems with a cacti installation on ubuntuserver and it was suggested to compile php from source as opposed to the package version. I downloaded and compiled but now when I do a 'php -v' it says 5.2.3 but phpinfo says 5.1.2 , please advise.

 

Givens;

ubuntu 6.06

Linux version 2.6.15-23-386 (buildd@rothera) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 PREEMPT Tue May 23 13:49:40 UTC 2006

 

root@cacti:~# which php

/usr/local/bin/php

 

I pointed /usr/bin/php to /usr/local/bin/ already

Link to comment
https://forums.phpfreaks.com/topic/60300-php-versions-not-matching/
Share on other sites

Yes, calling phpinfo with apache2 as a test page. Excuse my newbieness, but is php cli  command line interface? Need some direction on this one.

 

root@cacti:/usr/bin# dpkg --list

 

ii  php            5.2.3-1        php5.2.3_source

ii  php5-cgi      5.1.2-1ubuntu3 server-side, HTML-embedded scripting languag

ii  php5-common    5.1.2-1ubuntu3 Common files for packages built from the php

ii  php5-mysql    5.1.2-1ubuntu3 MySQL module for php5

ii  php5-mysqli    5.1.2-1ubuntu3 MySQL Improved module for php5

ii  php5-snmp      5.1.2-1ubuntu3 SNMP module for php5

iF  phpmyadmin    2.8.1-1~dapper set of PHP-scripts to administrate MySQL ove

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.