Photo Organizer

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category User Interface
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 2.33-rc2
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Photo Organizer
Opened by andyccn - 2006-11-27

FS#141 - Memory limit parameter not showing on install.php

In the install.php screen, the "memory limit" parameter is not showing the current value.

"Note: The current memory limit is . You may need to increase this. See the memory_limit setting in your php.ini file."

Even though in my php.ini file, it is set as:

memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)

This is on php 5.2.0, and may be a bug in PHP.

Closed by  pizza
2006-11-27 17:01
Reason for closing:  Not a bug
Additional comments about closing:  Since it's a PHP compile-time issue, I'll close this bug, and make a note in the PO documentation.
Admin
pizza commented on 2006-11-27 15:32

I can confirm this does not happen on PHP 5.1.6 or PHP 4.3.11

The docs for PHP 5.2.0 say that the 'memory_limit' stuff changed, but the config key is supposedly there still, defaulting to 16M.

Do you have one set in your php.ini file?

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)

Yep!

Sorted.

Was on the last stage of submitting a bug request to PHP then found the solution.
PHP has to be compiled with --enable-memory-limit.

They don't make that obvious do they?!

Works fine: "Note: The current memory limit is 8M. You may need to increase this. See the memory_limit setting in your php.ini file."

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing