Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Tue May 23, 2017 1:56 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Cacti installation Wizard unable to detect php modules
PostPosted: Wed Apr 26, 2017 10:43 am 
Offline

Joined: Wed Apr 26, 2017 10:23 am
Posts: 4
Hi all;
I'm new to Cacti, and I was trying to install the latest version (1.1.5) on Oracle linux.
I followed the instructions mentioned in the installation online documents, 'till I reached the step in which you open your browser and type the URL (http://<HostName/IP>/cacti), and the installation wizard starts.

once I Accept GPL License Agreement and press Next, the next screen (attached screenshot to the post) shows up stating that I'm missing both posix and mbstring php modules.

the problem here is that I'm pretty sure that these modules are installed, but somehow the installation wizard unable to detect them preventing me from continuing the installation steps.

I verified the php modules installed by running php -m and the result was as following (in which you can see that both modules are installed):

[cacti@Cacti ~]$ php -m
[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
json
ldap
libxml
mbstring
mhash
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
Reflection
session
shmop
SimpleXML
snmp
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
zip
zlib

[Zend Modules]


any help with this will be appreciated.


Attachments:
php.JPG
php.JPG [ 47.17 KiB | Viewed 267 times ]
Top
 Profile  
 
 Post subject: Re: Cacti installation Wizard unable to detect php modules
PostPosted: Wed Apr 26, 2017 5:37 pm 
Offline
Cacti User

Joined: Wed Jul 20, 2016 8:00 pm
Posts: 62
I don't remember well related to what update or issue it was but I had to re-install some of those modules it fixed it. I'm pretty sure mbstring was 1 of those.

Cheers,

_________________
Cacti - 0.8.8h
Poller Type - CMD
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 6
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2


Top
 Profile  
 
 Post subject: Re: Cacti installation Wizard unable to detect php modules
PostPosted: Mon May 08, 2017 3:12 am 
Offline

Joined: Wed Apr 26, 2017 10:23 am
Posts: 4
thanks a lot Pucho, it worked after removing and reinstalling the packages as you mentioned.


Top
 Profile  
 
 Post subject: Re: Cacti installation Wizard unable to detect php modules
PostPosted: Wed May 10, 2017 5:54 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2580
Location: Kressbronn, Germany
Also remember, some Linux flavors have 2 separate INI files for php. one for the CLI and one for apache while Centos/RHEL only uses one php.ini file.

If you want to enable a module, it needs to be in both ini files ...

_________________
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group