Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Feb 15, 2019 10:31 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: problem: wizard installation and php modules
PostPosted: Mon Feb 11, 2019 3:08 pm 
Offline

Joined: Mon Feb 11, 2019 2:55 pm
Posts: 2
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 22 times ]
Top
 Profile  
 
 Post subject: Re: problem: wizard installation and php modules
PostPosted: Tue Feb 12, 2019 5:22 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2054
Please try and do the following for me:
Code:
sudo -u <website user> php -q <path/to/cacti>/install/cli_check.php extensions

Let me know what the output is.

_________________
Official Cacti Developer

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

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: problem: wizard installation and php modules
PostPosted: Fri Feb 15, 2019 10:50 am 
Offline

Joined: Mon Feb 11, 2019 2:55 pm
Posts: 2
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


Top
 Profile  
 
 Post subject: Re: problem: wizard installation and php modules
PostPosted: Fri Feb 15, 2019 12:06 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2054
OK, so this suggests that your memory limit is about 2mb. Try adding
Code:
ini_set('memory_limit', '-1');

just before the $no_http_headers = true line of install/cli_check.php and then run it again.

_________________
Official Cacti Developer

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

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


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 6 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