Fatal error: Call to undefined function: ini_get_bool() in /mypath/setup.php on line 122

Fatal error: Call to undefined function: ini_get_bool() in /mypath/setup.php on line 122

by jaza to -
Number of replies: 2

Hello:

I'm having this error while trying to install moodle:

Fatal error: Call to undefined function: ini_get_bool() in /home/virtual/site445/fst/var/www/html/moodle/lib/setup.php on line 122

I searched in php.net for ini_get_bool(), but it isn't listed, may be is the version of php, but if isn't listed it could not be very popular.

do you know if I can replace this function?

I'm running PHP/4.2.2 in a virtual host.

Thanks in advance for any help.

Congratulations for your work

Average of ratings: -
In reply to jaza to

Re: Fatal error: Call to undefined function: ini_get_bool() in /mypath/setup.php on line 122

by jaza to -

Thanks a lot for your help.

BTW, I can't install moodle in  my virtual server.

The admins don't want to install the php modules with ini_get_bool.

But life is beautiful, I found Ganesha and is SCORM AICC complaint.

In reply to jaza to

Re: Fatal error: Call to undefined function: ini_get_bool() in /mypath/setup.php on line 122

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Sorry no one got back to you sooner, jaza.

ini_get_bool is in fact a Moodle function, not a PHP function, so I'm not sure what the problem was. Most likely you had made a typo in the config.php file.

Good luck with your site.