How to create a fast php library in PHP Server Side Scripting Language?
San Antonio,United States
San Jose,United States
- Manage all includes manually, only where needed
- Set your include_path to only where it has to be, the default is something like .:/usr/lib/pear/:/usr/lib/php, point it only at where it has to be, php.net/set_include_path
- Don't use autoload, it's slow and makes APC and equivalent caches jobs a lot harder
- You can turn off the "stat"-operation in APC, but then you have to clear the cache manually every time you update the files