For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > January 2008 > Fwd: [DOC-CVS] cvs: phpdoc / configure.php









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Fwd: [DOC-CVS] cvs: phpdoc / configure.php
Hannes Magnusson

2008-01-28, 7:13 pm

Hi all!

As of this commit you no longer need 1GB RAM to run "php
configure.php", peaks at few mbs now.

On validation errors, by default, we only print out the raw error
message so configure.php should only take few seconds to run (even for
you Stas :P).
To get more details (i.e. filename&line causing the error) you can
pass --enable-xml-detailes to configure.php - this option however
requires "crazy" amount of RAM & CPU but is definitely worth it if you
can't figure out the error just from the message.

-Hannes


---------- Forwarded message ----------
From: Hannes Magnusson <bjori@php.net>
Date: Jan 28, 2008 7:47 PM
Subject: [DOC-CVS] cvs: phpdoc / configure.php
To: doc-cvs@lists.php.net


bjori Mon Jan 28 18:47:55 2008 UTC

Modified files:
/phpdoc configure.php
Log:
- Greatly improve performance when manual.xml contains no errors
- Reduce the .manual.xml file size by 50%
- Add --enable-xml-detailes (defaults to yes) option
(useful when experiencing segfaults when validating)
- Remove (bogus) XInclude errormessages during validation
- Fixed wrong line (and E_NOTICE) on fatal error messages
- Spread some new lines
Gregory Beaver

2008-01-28, 7:13 pm

Hannes Magnusson wrote:
> Hi all!
>
> As of this commit you no longer need 1GB RAM to run "php
> configure.php", peaks at few mbs now.

<snip>

Hannes, would it be too strong to say I love you after this commit? OK,
well my computer's fan and heat sink loves you at least :).

Greg
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com