Share » Forums » Install & configuration » Trouble upgrading from 3.8.6 to 3.9.0

Trouble upgrading from 3.8.6 to 3.9.0

Trouble upgrading from 3.8.6 to 3.9.0

Thursday 02 August 2007 3:54:50 pm - 3 replies

Modified on Thursday 02 August 2007 4:00:24 pm by Pascal France

Author Message

Bruce Morrison

Thursday 02 August 2007 5:34:30 pm

Hi Pascal

It's difficult to work out why your php cli doesn't appear to honour the php.ini memory_limit setting without examining you system. Try adding the directive to the command line:

/usr/bin/php -dmemory_limit=128M update/common/scripts/3.9/updateclasstranslations.php -s accueil_paysan --language=fre-FR
I restarted Apache (even the server) without success.

This would only help for php run via the webserver. The cli version is independent of the webserver and running commands via the cli is like running a perl program.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Linh Vu

Thursday 02 August 2007 11:45:52 pm

Hi Pascal,

Some Linux distros have separated php.ini files for apache and cli. e.g under Debian you'd have /etc/php4/apache2/php.ini and /etc/php4/cli/php.ini

I think that's your problem.

Cheers,
Linh

If I had more time, I would write less code.

Pascal France

Friday 03 August 2007 12:30:08 am

Hi Bruce,

and thanks a lot for your reply which works fine.

Hi Linh,

Thanks a lot too.
You are absolutely right. I changed my cli/php.ini (on my Debian) and now all works fine without any command line option. I didn't know there is two php.ini config files.

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu