Hello,
I have a problem with a new cacti installation. Sometimes I get the following error message when I am executing the "verbose query" or "Create graphs for this host".
Fatal error: Maximum execution time of 30 seconds exceeded in c:\cacti\lib\functions.php on line 1163
I changed the the max_execution_time and max_input_time in php.ini to 300 instead of 30. I also restarted the Webserver and then also the workstation. But the error message is the same.
I am using IIS6, cacti 0.8.6f, mysql 4.0.18, php 4.3.9, netsnmp 5.2.1, rrdtool 1.0.48.
Thanks for your help
netana
Fatal error: Maximum execution time
Moderators: Developers, Moderators
The error message indicates that the setting you entered in php.ini has not been read by php. Either php expects to have php.ini in different place or you did some mistake in variable definition. Try to create small php script with the following content:
Open it in your browser... you should see a lot of php settings and current configuration. Check variables values and php.ini path.
- Piotr
Code: Select all
<? phpinfo(); ?>
- Piotr
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You need to define the PHPRC environment variable to point to C:\PHP and then the PHP.INI file can exist in that directory. That is the recommendation of the PHP Group.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 1 guest