Author Topic: setup.sh error - undefined function: file_put_contents  (Read 2473 times)

patchrick

  • Newbie
  • *
  • Posts: 3
setup.sh error - undefined function: file_put_contents
« on: January 24, 2008, 01:48:36 pm »
Hi,
PHP throws me the following error when I try to run setup.sh....

[root@server bin]# ./setup.sh
Content-type: text/html
X-Powered-By: PHP/4.3.11

<br />
<b>Fatal error</b>:  Call to undefined function:  file_put_contents() in <b>/var/www/html/CalemEAM/bin/logging/CalemLoggingSetupCmd.php</b> on line <b>47</b><br />
[root@server bin]#

The log directory of CalemEAM has nothing in it and the httpd access / error logs (where php errors are logged) don't contain anything relevant.

Any ideas?

Thanks,
Patrick

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
setup.sh error - undefined function: file_put_contents
« Reply #1 on: January 24, 2008, 06:41:33 pm »
The error is caused by PHP 4.3.11. CalemEAM requires PHP 5. See FAQ for minimum system requirements.

http://www.calemeam.com/eam/index.php?option=com_content&view=article&id=81&Itemid=158
Calem Community Forum Admin

patchrick

  • Newbie
  • *
  • Posts: 3
setup.sh error - undefined function: file_put_contents
« Reply #2 on: January 24, 2008, 07:42:38 pm »
thanks, that got me to the next step.