Hi Matthew,

I am trying to gain performance because our server (ibm as/400) is really
slow with disk access.
I've tried the solution from the manual by removing the require_once
statements and use the autoloader. 

I get the same error, just blank pages. I have error reporting on so I can't
find the problem.
Autoloader is on by using the new architecture with zend_application.

Thanks in advance, 
Laurens


Matthew Weier O'Phinney-3 wrote:
> 
> -- j5 <[email protected]> wrote
> (on Friday, 01 May 2009, 02:33 PM -0700):
>> I was tinkering with ZF 1.8 and the performance guide.
>> 
>> Specifically:
>> 
>> C.2.2.1. Strip require_once calls with find and sed.
>> 
>> The sed/find commands here have changed I noticed.  When I run these new
>> commands I get the following error:
>> 
>> -bash: syntax error near unexpected token `('
>> 
>> 
>> I took a look at the commands again and I thought I found a missing '
>> error
> 
> I've fixed this on trunk and the 1.8 release branch now, and the changes
> will show when we release 1.8.1. Thanks for the report!
> 
> 
>> so I tried the revised commands:
>> 
>> find . -name '*.php' -not -wholename '*/Loader/Autoloader.php' -print0 |
>> \
>> xargs -0 sed --regexp-extended --in-place 's/(require_once)/\/\/ \1/g'
>> 
>> (I added a ' after Autoloader.php).
>> 
>> That looked like it worked. But now when I browse to my website, I get a
>> blank page.
>> 
>> 
>> I am not sure if what I did fixed anything or what..
>> 
>> Anyone have any suggestions?
> 
> Do you have display_errors on? If not, turn it on to see if any errors
> are being reported.
> 
> -- 
> Matthew Weier O'Phinney
> Project Lead            | [email protected]
> Zend Framework          | http://framework.zend.com/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ZF-1.8-and-Performance-Guide-%28using-find-sed-to-remove-require-once-calls%29-tp23340034p23497684.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to