Skip to content

Technology Forum

SEO, Speed Up website, Server Optimization, Linux, Open Source Softwares

  • Home
  • General
    • Web Server
    • Website Formatting
  • IT Companies
  • Optimization
    • PHP
  • Linux
  • Home
  • Optimization
  • Page 4

Category: Optimization

Optimization is necessary to use the standard practises to develop the technology. In websites, we optimize from server to small bit of code. All is try to covered under this category.

Check PageSpeed

Posted on July 8, 2012February 16, 2023 By admin No Comments on Check PageSpeed
Optimization

There are many free tools out there for checking how long it takes to load your website. Here are a few of them: Pingdom – offers an easy-to-use site speed test that mimics that way a page is loaded in a web browser. Page Speed – is an open source Firefox add-on that helps you … Read More “Check PageSpeed” »

eAccelerator

Posted on July 7, 2012July 8, 2012 By admin No Comments on eAccelerator
Optimization

What is eAccelerator ?

eAccelerator is a free open source PHP accelerator, optimizer, encoder and dynamic content cache for PHP. It increases performance of PHP scripts by caching them in compiled state, so that the overhead of compiling is almost completely eliminated. Also it uses some optimizations to speed up execution of PHP scripts. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times.

To install it you need to follow the below mentioned steps:
# wget http://space.dl.sourceforge.net/project/eaccelerator/eaccelerator/eAccelerator%200.9.6.1/eaccelerator-0.9.6.1.zip
OR
wget http://prdownloads.sourceforge.net/eaccelerator/eaccelerator-0.9.6.1.tar.bz2?use_mirror=ufpr

Read More “eAccelerator” »

TIPS

Posted on June 30, 2012July 8, 2012 By admin No Comments on TIPS
PHP

Check HTTP Connections The following may indicate if you’re getting slammed by one host. It should display all current connections to port 80 ordered by count netstat -anp |awk ‘/:80/ {print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n How to Release Memory/Caches/Buffers To release disk buffers and caches used … Read More “TIPS” »

PHP Code Optimization

Posted on May 5, 2007February 15, 2023 By infoweb No Comments on PHP Code Optimization
Optimization, PHP

I have found the post by Reinhold Webber, which provide good techniques and methods for PHP performance and optimization. I have tried to add more explanation to the points posted by Reinhold Webber.

    1. If a method can be static, declare it static. Speed improvement is by a factor of 4.
    2. echo is faster than print and print_r.
    3. Use echo’s multiple parameters instead of string concatenation.
    4. Set the maxvalue for your for-loops before and not in the loop.
    5. Unset your variables to free memory, especially large arrays.
    6. Avoid magic like __get, __set, __autoload.

      Read More “PHP Code Optimization” »

Posts pagination

Previous 1 … 3 4

View Posts

  • PHP FPM modification – Plesk
  • HTML: Link rel – Preload
  • HTML: Attributes of rel
  • Linux Commands
  • Security HTTP Headers

Categories

  • Domain Name
  • General
    • Servers
    • Web Server
    • Website Formatting
  • IT Companies
  • Linux
  • MySQL
  • Optimization
    • PHP
  • Troubleshooting
  • Web Hosting Control Panel
    • Plesk Panel
  • Websites
    • CSS
    • HTML
    • Optimization
  • Windows
    • Windows 10

Recent Posts

  • PHP FPM modification – Plesk
  • HTML: Link rel – Preload
  • HTML: Attributes of rel
  • Linux Commands
  • Security HTTP Headers

Copyright © 2025 Technology Forum.

Theme: Oceanly News by ScriptsTown