problem: wizard installation and php modules

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

Moderators: Developers, Moderators

Post Reply
EduardoJMN
Posts: 5
Joined: Mon Feb 11, 2019 2:55 pm

problem: wizard installation and php modules

Post by EduardoJMN »

Hi, i'm installing cacti for the fist time and i need your help

i'm in trouble because the wizard don't recognize the php modules, i check by console and verify the installed modules,

Debian 9
php 7.0
cacti 1.2.1
apache 2.4.25

result of php -m

php -m

[PHP Modules]
calendar
Core
ctype
date
dom
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
snmp
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zlib

[Zend Modules]
Zend OPcache

attach capture of wizard cacti

in advance thank for your attention and all the help that con you offer me,
Attachments
Captura de pantalla de 2019-02-11 16-04-32.png
Captura de pantalla de 2019-02-11 16-04-32.png (100 KiB) Viewed 5970 times
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: problem: wizard installation and php modules

Post by netniV »

Please try and do the following for me:

Code: Select all

sudo -u <website user> php -q <path/to/cacti>/install/cli_check.php extensions
Let me know what the output is.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
EduardoJMN
Posts: 5
Joined: Mon Feb 11, 2019 2:55 pm

Re: problem: wizard installation and php modules

Post by EduardoJMN »

hi, thanks for your atention,

this is the result,

PHP Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 8192 bytes) in /var/www/html/cacti-1.2.1/lib/html_utility.php on line 959
PHP Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 4096 bytes) in /var/www/html/cacti-1.2.1/lib/functions.php on line 4400
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: problem: wizard installation and php modules

Post by netniV »

OK, so this suggests that your memory limit is about 2mb. Try adding

Code: Select all

ini_set('memory_limit', '-1');
just before the $no_http_headers = true line of install/cli_check.php and then run it again.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
EduardoJMN
Posts: 5
Joined: Mon Feb 11, 2019 2:55 pm

Re: problem: wizard installation and php modules

Post by EduardoJMN »

thanks you very much..!!!

it solved may problem.. :D :D :D :D
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: problem: wizard installation and php modules

Post by netniV »

I have corrected this issue in the 1.2.2 release.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest