Springe direkt: zur Navigationzum Inhaltzur Sidebar

Archive für 12 2008

Twitter Updates for 2008-12-10

10.12.2008
  • The fact that EC2 is now available in Europe makes it a really interesting hosting solution for European startups #
  • @codepo8 yes, were also using S3 at sixgroups.com, but EC2 was too slow for us. Now we’ll probably give it a 2nd chance #

Memory Limit in php.ini für Command Line erhöhen

10.12.2008

Hatte gestern mit einem kleinen Ärgernis zu kämpfen, das mir bisher nicht begegnet war: Wenn man PHP auf der command line (CLI) ausführt, wird unter Ubuntu für die Konfiguration eigentlich die Datei /etc/php5/cli/php.ini benutzt. Da ich für eine Anzahl an Unit Tests PHP mehr Speicher geben wollte, erhöhte ich den Wert Memory limit :

memory_limit = 512M

Leider wirkte die Änderung sich nicht aus. Mein  Testscript brach immer wieder mit einem “Memory Allocation Error” ab. Durch diesen Blogpost bin ich dann aber draf gekommen woran es lag:

Die php.ini muss für jeden User lesbar sein, sonst werden die Default Einstellungen benutzt, wenn man php nicht als root ausführt. Ein

chmod 644 /etc/php5/cli/php.ini

behebt das Problem.

Twitter Updates for 2008-12-09

09.12.2008
  • @stephtara glad you like it. Wish I could be in Paris for #leweb08 #
  • @maltewelding Dänsiches Bettenlager http://bit.ly/YVBu #
  • @Katti http://bit.ly/uscK find ich für Gelegenheitssurfer sehr ok. #
  • @Katti ebay? ;) viel glück #

Twitter Updates for 2008-12-07

07.12.2008
  • @milez Viel Spaß beim Spiel!http://bit.ly/tsHz #fcstpaui ✌ #
  • off to play paintball… think it will be great fun. Never done it before #

You are currently browsing the t8d blog weblog archives for December, 2008.

Creative Commons License
This work is licensed under a
Creative Commons Attribution-Share Alike 2.5 License.
t8d blogged mit WordPress