New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cacti Install on Windows Fails #2672
Comments
check at "php_errors.txt" [07-May-2019 09:28:20 Asia/Jakarta] PHP Warning: Invalid argument supplied for foreach() in C:\Cacti\Apache24\htdocs\cacti\lib\utility.php on line 1427 |
This issue turned into something a bit different. Can you please download the develop version and try again. It should behave better now. Report back ASAP. |
thank you for your response. |
Once Cacti 1.2.4 is released, it may be marked stable in your environment. However, I think the 1.2 version is currently in unstable. You might want to check with @paulgevers on this one. We've had some delays recently. We hope to have 1.2.4 released soon. |
Ubuntu 18.04 is (of course) more than 1 year old, so that isn't up-to-date. Debian buster is soon to be released, so the package will remain what it is now in testing, unless security issues appear. It is my intention to provide newer Cacti versions for Debian via backports and for Ubuntu 19.4 via my ppa as long as that is reasonably possible due to dependencies. (E.g. I had to remove Cacti from the current Debian backports (stretch) due to versioned dependencies that I could not support in backports.) |
Thanks for the breakdown @paulgevers Always useful to know. What will it take to get updated version into stable sometime in the future? |
In Debian stable (and currently in testing because we are frozen) only targeted fixes for serious bugs are allowed. So a newer Cacti version in stable is close to impossible. |
That makes no sense given that the only version in stable is almost 4 years old now I’ve got myself |
We'll release a new stable soon. Sorry, that's how Debian works. (And that is why the backports archive exists). |
Thats OK just seems illogical to me to have such well outdated software considered base. I guess I just expect the whole testing, unstable, stable process to be more efficient given the updates that are constantly being made available for other software. Getting back to the issue at hand, we are hoping to have 1.2.4 by the end of the month. |
Generally speaking it normally means that either the modules are not enabled within the PHP.INI used by the command line or the path to the php.exe (path_php_binary) is incorrect in the settings table. |
You need to run the install/cli_check.php with the single parameter of extensions, recommends and optionals, then post all output here. I would run it against both copies of PHP |
Thanks netniV for your response. can you please how should I do that. as I said I am not a programmer so step by step guide would be needed. I am using windows 10 xampp. all the files of cacti are store in htdocs forlder of xampp and some in xampp folder itself. I tried to run cli_check.php and it says when I try to open that file with command as below, nothing shows up and stucks there Also I did a test for print_r(get_loaded_extensions()); and attached the output for your reference please review and suggest what needs to be done. |
So it would appear that the reason you are getting no modules/requirements listed is because you're PHP.INI is trying to load MySQL extensions and failing for some reason. You need to fix that so the script can run properly. You should be using the -q option by the way which suppresses PHP headers normally created for the web side. |
Hello, I have problem install cacti using package from https://www.cacti.net/downloads/packages/Windows/
OS : windows 7x86
browser : Firefox and Chrome
C:\Cacti\php>php -m
[PHP Modules]
bcmath
calendar
com_dotnet
Core
ctype
date
dom
filter
gd
gettext
gmp
hash
iconv
json
ldap
libxml
mbstring
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
Phar
readline
Reflection
session
SimpleXML
snmp
sockets
SPL
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
Zend OPcache
zip
zlib
[Zend Modules]
Zend OPcache
The text was updated successfully, but these errors were encountered: