PHP recommendation good but not good ?

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
lejeczek
Posts: 4
Joined: Tue Jul 18, 2023 1:54 pm

PHP recommendation good but not good ?

Post by lejeczek »

Hi guys.
I'm trying Cacti v1.2.23 on Centos and I cannot get pass pre-installation checks.
Installer says:

for Web - PHP Recommendations (/etc/php.ini) are bad
for CLI - PHP Recommendations (/etc/php.ini) are good

that to me - a novice so go easy on me - seems pretty weird.
How to "fix that would have an advice?

many thanks, L.
User avatar
macan
Cacti Guru User
Posts: 1106
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: PHP recommendation good but not good ?

Post by macan »

show screenshot. It would be better to install (not released version yet) 1.2.25 from https://github.com/Cacti/cacti/tree/1.2.x
Let the Cacti grow!
lejeczek
Posts: 4
Joined: Tue Jul 18, 2023 1:54 pm

Re: PHP recommendation good but not good ?

Post by lejeczek »

Not much to show there - the key point, I believe, here is that both 'web' & 'cli' point to '/etc/php.ini' and while one is happy the other is not. Perhaps they should look for/at different configs, I do not know.

cacti-install.png
cacti-install.png (90.88 KiB) Viewed 1254 times
User avatar
macan
Cacti Guru User
Posts: 1106
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: PHP recommendation good but not good ?

Post by macan »

https://docs.cacti.net/Install-Under-CentOS_LAMP.md
Please read MySQL/MariaDB common tasks and recommendations
Let the Cacti grow!
lejeczek
Posts: 4
Joined: Tue Jul 18, 2023 1:54 pm

Re: PHP recommendation good but not good ?

Post by lejeczek »

I read that. What am I missing?
User avatar
macan
Cacti Guru User
Posts: 1106
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: PHP recommendation good but not good ?

Post by macan »

set timezone in php.ini and restart web server service
Let the Cacti grow!
bmfmancini
Cacti User
Posts: 250
Joined: Wed Mar 13, 2019 3:37 pm
Location: toronto
Contact:

Re: PHP recommendation good but not good ?

Post by bmfmancini »

Hey All

I have updated the doc in the repo
Telecom Lifer, Monitoring and performance enthusiast, Father, Husband

Cacti Bug Hunter and Member

www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini

My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates

Always willing to help!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests