Apache Error on Trunk 4991
-
@Kris-Phillips what is in the latest fog_error log found in bin/error_logs
-
Latest error_logs file ending where error exists:
Mar 11 12:27:35 CPFog.CANTON.local systemd[1]: Starting The Apache HTTP Server…
Mar 11 12:27:35 CPFog.CANTON.local httpd[3263]: AH00558: httpd: Could not reliably determine the server’s fully qualified domain name, using CPFog.CANTON.local. Set the ‘ServerName’ directive globally to suppress this message
Mar 11 12:27:35 CPFog.CANTON.local systemd[1]: Started The Apache HTTP Server.● php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2016-03-11 12:27:35 EST; 2s ago
Main PID: 3264 (php-fpm)
Status: “Ready to handle connections”
CGroup: /system.slice/php-fpm.service
├─3264 php-fpm: master process (/etc/php-fpm.conf
├─3265 php-fpm: pool www
├─3266 php-fpm: pool www
├─3267 php-fpm: pool www
├─3268 php-fpm: pool www
└─3269 php-fpm: pool wwwMar 11 12:27:35 CPFog.CANTON.local systemd[1]: Starting The PHP FastCGI Process Manager…
Mar 11 12:27:35 CPFog.CANTON.local systemd[1]: Started The PHP FastCGI Process Manager.
–2016-03-11 12:27:37-- http://10.10.51.22/fog//management/export.php?type=sqldump
Connecting to 10.10.51.22:80… connected.
HTTP request sent, awaiting response… 500 Internal Server Error
2016-03-11 12:27:37 ERROR 500: Internal Server Error.Latest httpd error_log:
[Fri Mar 11 12:45:42.007126 2016] [:error] [pid 3272] [client 192.168.114.2:60972] PHP Fatal error: Cannot create references to elements of a temporary array expression in /var/www/html/fog/lib/fog/fogcore.class.php on line 120Where is the fog_error log you’re looking for? I’m not familiar with the path I can find that on CentOS.
-
What OS is this and what version is php?
php -v
-
PHP version (php -v):
PHP 5.4.16 (cli) (built: Jun 23 2015 21:17:27)
Copyright 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright 1998-2013 Zend TechnologiesCentOS Version (rpm --query centos-release):
centos-release-7-2.1511.el7.centos.2.10.x86_64 -
@Kris-Phillips can you follow online and install the remi repository for centos then retry installer?
-
@Tom-Elliott Looks like installing that repo did it. Thank you very much! I’m assuming a new package version if necessary for the latest trunk or something? Is this repo supposed to be added during the installfog.sh script?
-
Sorry for leading the wrong direction. Should have thought about PHP version… sure PHP 5.4 is not happy with the current code.
-
@Sebastian-Roth All good! I’m very appreciative of all of your quick responses on this. Been trying to start some Windows 10 rollouts for testing and FOG 1.2 and Windows 10 are not buddies…
-
@Sebastian-Roth said:
Sorry for leading the wrong direction. Should have thought about PHP version… sure PHP 5.4 is not happy with the current code.
Any thought about doing something like
php --version|grep "PHP 5" |awk '{ print $2 }'
in the installer to make sure the returned value of PHP is greater than 5.5? -
Bump… would be good for CentOS fresh install as well.