Forums / Install & configuration / Memory Exhausting During Installaton

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Memory Exhausting During Installaton

Author Message

Mike Borozdin

Monday 07 June 2010 12:52:28 am

Hi,

I have problems installing Exponential 4.30, every time I press the "Fine Tune" button or the "Install" one, I get a memory exhaustion error. But I've increased the amount of available memory to PHP from 128M to 512M and still get the same error.

Christian Rößler

Monday 07 June 2010 1:13:35 am

Hy and welcome to eZ-Community :-)

After changing php-memory-limits or doing other changes to the php.ini, make sure to reload/restart your webserver to make changes taking effect.

Speaking of the php.ini, what ini did you modify? The cli or the apache one? What webserver/system did you use (apache on linux or iis on windoze) ?

Such error is very well known here, so searching for "php memory limit" should point you to several good threads too.

cheers,

chris

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

Mike Borozdin

Monday 07 June 2010 2:20:10 am

Hi Chris,

Yes, I did restart my server after modifying php.ini. I modified the CLI one, I think (the one that is in the PHP folder).

My setup:

Windows 7

Apache 2.2

PHP 5.2.3

Christian Rößler

Monday 07 June 2010 3:06:59 am

hehe, modifiying the CLI php.ini is wrong :-)

Cli php.ini is for your commandline based php (scripts, cronjobs, ...)
There should be another php.ini which is used by the webserver. Php (and those websites as Exponential) runs as a sort of plugin in the webserver. Thus the webserver needs to have a php.ini too.
In linux/debian you should have the following files:

/etc/php5/apache/php.ini is the one you need to edit for Exponential.
/etc/php5/cli/php.ini is the one for cronjobs, and common commandline-php scripts.

I don't know the locations on windows7 and IIS.

My guess is you hit the wroong php.ini.
Utilize a simple php-test-script using "phpinfo();" (google it if you need help) to determine the exact location of the php.ini used by windows-webserver.

chris

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

Mike Borozdin

Monday 07 June 2010 4:42:03 am

Chris,

It wasn't the CLI php.ini, because when I run phpinfo() it showed me I had 512M of memory allocated to PHP.

Christian Rößler

Monday 07 June 2010 8:25:40 am

mmmhhh,

did you manage to put "phpinfo()" into a php file and called this php-file in your browser?

My guess would be that the vhost configured in IIS did not load the correct/corresponding php-ini. This in turn loads the default php-settings which is not sufficient for Exponential.

My solution would be:

  • view php-info output via a browser, not cli
  • get the location of the loaded ini-file
  • edit this ini-file
  • reload webserver
  • check settings again
  • do loop until correct

As I dont have any experience with combination iis/php/Exponential/windows i cannot help any further at this point. sorry mike.

--
Chris

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

Mike Borozdin

Tuesday 08 June 2010 12:32:31 am

Chris,

Yes, it is in the browser. I've never used PHP CLI, sorry for confusion. And I also wrote above that I was using Apache, not IIS.