Server
- FOG Version: Latest trunk
- OS: Centos 7
Description
Trying to load the /fog/management page after completely fresh install of Centos 7 and Fog and getting a 500 error. Checking /var/log/httpd/error_log I am seeing the following:
[Mon Jan 30 15:41:32.771787 2017] [:error] [pid 21685] [client 172.16.1.153:51263] PHP Parse error: syntax error, unexpected ‘&’ in /var/www/html/fog/commons/init.php on line 105
[Mon Jan 30 15:42:18.075891 2017] [:error] [pid 21686] [client 172.16.1.153:51280] PHP Parse error: syntax error, unexpected ‘&’ in /var/www/html/fog/commons/init.php on line 105
[Mon Jan 30 15:44:11.434489 2017] [:error] [pid 21687] [client 172.16.1.153:51293] PHP Parse error: syntax error, unexpected ‘&’ in /var/www/html/fog/commons/init.php on line 105
[Mon Jan 30 15:44:50.246036 2017] [:error] [pid 21689] [client 172.16.1.153:51310] PHP Parse error: syntax error, unexpected ‘&’ in /var/www/html/fog/commons/init.php on line 105
[Mon Jan 30 15:45:28.739056 2017] [:error] [pid 21686] [client 172.16.1.9:54366] PHP Fatal error: Cannot create references to elements of a temporary array expression in /var/www/html/fog/maintenance/create_update_node.php on line 25
[Mon Jan 30 15:46:28.856688 2017] [:error] [pid 21687] [client 172.16.1.153:51322] PHP Parse error: syntax error, unexpected ‘&’ in /var/www/html/fog/commons/init.php on line 105
[Mon Jan 30 15:47:23.661965 2017] [:error] [pid 23957] [client 172.16.1.96:50435] PHP Parse error: syntax error, unexpected ‘&’ in /var/www/html/fog/commons/init.php on line 105
Now if I edit /var/www/html/fog/commons/init.php and remove the “&” in line 5 the management page then says I need php 5.5 and I am currently running php 5.4.16. I have fully updated centos when I check my php version it does show 5.4.16 installed, but yum update doesn’t show any packages to be updated. Any ideas, this is the third Fog server I have built and the only one that has given me any problems like this.