problem: wizard installation and php modules

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

Moderators: Moderators, Developers

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

problem: wizard installation and php modules

#1 Post by EduardoJMN » Mon Feb 11, 2019 3:08 pm

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 492 times

netniV
Cacti Guru User
Posts: 2686
Joined: Sun Aug 27, 2017 12:05 am

Re: problem: wizard installation and php modules

#2 Post by netniV » Tue Feb 12, 2019 5:22 am

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.

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

Re: problem: wizard installation and php modules

#3 Post by EduardoJMN » Fri Feb 15, 2019 10:50 am

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: 2686
Joined: Sun Aug 27, 2017 12:05 am

Re: problem: wizard installation and php modules

#4 Post by netniV » Fri Feb 15, 2019 12:06 pm

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.

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

Re: problem: wizard installation and php modules

#5 Post by EduardoJMN » Mon Feb 18, 2019 9:21 am

thanks you very much..!!!

it solved may problem.. :D :D :D :D


Post Reply