Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

PHPFusion Optimization?

Asked Modified Viewed 4,756 times
J
JCarter
J
  • Newbie, joined since
  • Contributed 1 post on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

Hello,

I am new to PHP Fusion all together and so please bare with me. Is there any optimization for PHP to help with CPU usage? For instance, any caching modules available? I am looking at the phpfusion-mods.com website now and seeing if I can find anything, but any help would be great! Thanks!
0 replies

4 posts

I
iunruh
I
iunruh 10
  • Member, joined since
  • Contributed 148 posts on the community forums.
  • Started 15 threads in the forums
answered
Member

As far as I know, PHPFusion doesn't cache anything except smileys, ranks, user groups, and bbcode. And there aren't any caching modifications, but I can recommend two things:

1) GZIP page compression will easily drop the time it takes for a page to load. Open /maincore.php, find the line:

ob_start ();


And replace with:

if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')){
   ob_start("ob_gzhandler");
} else {
   ob_start();
}


2) If your server/host supports it, I'd recommend using a PHP memory accelerator, like Memcache, Xcache, or similar. Google will be your friend here (I don't have any experience in caching tools like these)

Good luck!
0 replies
— 7 months later —
S
Silverboy
S
Silverboy 10
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 8 threads in the forums
answered
Junior Member

I tryed to enable gzip just like you wrote above and my webpage stops working
0 replies
B
bite
B
bite 10
  • Member, joined since
  • Contributed 163 posts on the community forums.
  • Started 5 threads in the forums
answered
Member

Optimize PHPFusion to help with CPU usage?
Well its quite possible whiteout any GZIP, since GZIP increases CPU usage, not decreases. If anyone from PHPFusion developers had clear idea about thing called "Optimizing PHP" PHPFusion would work probably X2 times faster, since PHPFusion isn't optimized to much. This post explains about optimizing PHP.
0 replies
S
Silverboy
S
Silverboy 10
  • Junior Member, joined since
  • Contributed 37 posts on the community forums.
  • Started 8 threads in the forums
answered
Junior Member

bite thx for the reply,the only problem is that I don't quite understand coding php :(
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 4 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet