phpinfo ()

Status
Not open for further replies.

alexnerx

New Member
Messages
12
Reaction score
0
Points
1
Hello,
two problems: Warning: phpinfo () has been disabled for security reasons. Fatal error: Out of memory (allocated 96468992) (tried to allocate 7680 bytes) in /home/alexnerx/public_html/xn--jpeachacabuco-kkb.com.ar/moodle/lib/blocklib.php on line 1656
these are the message in Moodle. In this case, it looks like the "ini_set()" feature in PHP was disabled. Moodle seems to use "ini_set()" for a couple of important things (memory limits, and include paths, possibly among others), so if my webhost has disabled the feature, then you possibly can't run Moodle anymore.

Thanks
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Yes, phpinfo() has been disabled. There are other ways to get most of the information that it supplies.

96 468 992 allocated. That is 96M. I believe that the normal memory limit is set to 64M which is more than enough for any well written script. And, no, x10hosting does not allow you increase it. You are on a server with thousands of other accounts, they cannot allow free accounts to be resource hogs.
 
Status
Not open for further replies.
Top