Search found 95 matches

by TerryE
Thu Mar 31, 2011 3:53 pm
Forum: [3.x] Discussion
Topic: Access Control and File naming
Replies: 11
Views: 6964

Re: Access Control and File naming

OK Nils, but could we at least move common.php and config.php into the includes directory? These shouldn't be accessed directly by MODs and scripts. The underscore prefix is a nice convention, but not worth a lot of hassle. Note that as per Configuring .htaccess for phpBB , you can still do the prot...
by TerryE
Thu Mar 31, 2011 2:42 pm
Forum: [3.x] Discussion
Topic: Sorting out the "includes" strategy
Replies: 3
Views: 2958

Sorting out the "includes" strategy

As part of my phpbb_load_module() analysis which I floated in another topic( * ) ( and which BTW I agree doesn't belong in phpBB 3.x ), I did a complete analysis of all PHP includes across the phpBB codebase. There are 314 inclusions which comprise 174 include expressions 103 include_once expression...
by TerryE
Thu Mar 31, 2011 2:05 pm
Forum: [3.x] Discussion
Topic: Access Control and File naming
Replies: 11
Views: 6964

Re: Access Control and File naming

I for one don't want to be typing those underscores all the time. Sorry but you've really lost me here. It's the private directories within the phpBB file hierarchy that we would prefix with underscore. The entire code base has 316 includes and if we did this then this would be one bulk patch. We'r...
by TerryE
Thu Mar 31, 2011 11:48 am
Forum: [3.x] Discussion
Topic: Access Control and File naming
Replies: 11
Views: 6964

Re: Access Control and File naming

It maps almost directly into the web.config XML file. (and also makes it easier here as well). However we don't talk about this at all in the user documentation. I've been drafting a set of kB articles on "How to set up your web services to get good phpBB performance" under my phpBB wiki user page: ...
by TerryE
Thu Mar 31, 2011 9:22 am
Forum: [3.x] Discussion
Topic: Access Control and File naming
Replies: 11
Views: 6964

Access Control and File naming

This is one simple improvement that we can definitely make (and I could easily give you the patch script for 3.1) Rule 1 : PHP scripts will only be executed from the root dir (in the case of user scripts) and the ACP sub-directory in the case of ACP commands Rule 2 : These directories should contain...
by TerryE
Tue Mar 29, 2011 11:51 pm
Forum: [3.x] Discussion
Topic: Improving phpBB performance for small installations
Replies: 34
Views: 27018

Re: Improving phpBB performance for small installations

The earlier plot was for a window early this morning. Here is the corresponding plot collected over a full day. The labels are the same so I didn't bother adding them, but the trend lines include these. I've also set the Y axis to 0-1 secs to fit in most of the data. There were 4 of the 14 file load...
by TerryE
Tue Mar 29, 2011 12:23 am
Forum: [3.x] Discussion
Topic: Improving phpBB performance for small installations
Replies: 34
Views: 27018

Re: Improving phpBB performance for small installations

I've been doing some benchmarks on the second strategy of code compaction as nn- and I may have to eat my own dog s**t here. I'll analyse the the results properly tomorrow, but the NFS caching is working a lot better than I had anticipated. Certainly in the case of the code compaction, the compacted...
by TerryE
Mon Mar 28, 2011 5:15 pm
Forum: [3.x] Discussion
Topic: Improving phpBB performance for small installations
Replies: 34
Views: 27018

Re: Improving phpBB performance for small installations

As far as my forums go, I can't use the acm_file as it kills my solaris box, so I had to calculate the key and data sizes from my ACM_memory cache. I have ten forums with the English and French being about as busy as the phpBB community forum down to the Vietnamese forum being almost moribund. Here ...
by TerryE
Mon Mar 28, 2011 10:22 am
Forum: [3.x] Discussion
Topic: Improving phpBB performance for small installations
Replies: 34
Views: 27018

Re: Improving phpBB performance for small installations

My observation that decompressing a file takes more cpu time than reading uncompressed data from disk applies to boards that have cpu time limits imposed by hosts. I suspect that your observation is more of a belief. I prefer to go on instrumented observation. Please use strace or equivalent to ver...
by TerryE
Sun Mar 27, 2011 6:08 pm
Forum: General Development Discussion
Topic: Wiki confuriation settings need changing
Replies: 1
Views: 4360

Wiki confuriation settings need changing

I've written a few group articles which I want to upload to my user pages for feed back and general review. There are some basic configuration issues with your wiki that need discussing / fixing. (I help administer and run a couple of wikis so I have some familiarity with the mediawiki application a...