Posts filed under 'IT (geeky)'
One php script that I used was encoded with Zend so I must enable Zend optimizer to run those scripts on my web server, yeah, as any smart people would guess, Zend optimizer should run smoothly with Zend Debugger, after all, they are all made by Zend, right? Turns out I was wrong.
I got this message after I enabled both Zend optimizer and Zend debugger: (I was using xampp with php 5.2.4)
PHP Fatal error: [Zend Optimizer] Zend Debugger must be loaded after Zend Optimizer in Unknown on line 0
The php.ini was configured this way
zend_extension_ts = “E:\xamp\php\zendOptimizer\lib\ZendExtensionManager.dll”
zend_extension_manager.optimizer_ts = “E:\xamp\php\zendOptimizer\lib\Optimizer”
zend_extension_ts = “e:\xamp\php\ext\ZendDebugger.dll”
After some research, turns out the default suggested configuration was wrong, you must use a hidden arg zend_extension_manager.debug_server_ts and point it to a container directory that names its children directory with a name pattern “php-n.m.x”.
Here is the steps,
- download latest 5.2.10 Zend Debugger here
- unzip the downloaded zip file to your web host, rename the children directory from m_n_x_comp to php-m.n.x, i.e. change 5_2_x_comp to php-5.2.x
- point zend_extension_manager.debug_server_ts to the parent folder of php-m.n.x
- enable optimizer in the same way
so completed php.ini should have something like this.
zend_extension_ts = “c:\xamp\php\zendOptimizer\lib\ZendExtensionManager.dll”
zend_extension_manager.optimizer_ts = “c:\xamp\php\zendOptimizer\lib\Optimizer”
zend_extension_manager.debug_server_ts=c:\xamp\zend-5.2.10
zend_debugger.expose_remotely=allowed_hosts
zend_debugger.allow_hosts=127.0.0.1/32,192.168.1.0/255
zend_debugger.allow_tunnel=127.0.0.1/32
Now start your apache and have fun!
January 13th, 2008
Cannot resist the sweet deal that 2G Cosair XMS RAM for only $110 (usually is about $200), ordered Tue from newegg.com and got it on Friday. It does make a lot of difference on my desktop computer (DIY) - now I rarely hear my XPdriven box making any noise that I used to hear when I multi-task the poor thing.
Only minor issue for people who uses Abit AMD-based motherboard, if you refresh your bios, you might see the messing during POST: “System is running in Fail-Safe State. Please recheck - BIOS CMOS Setup”. Don’t panic, just clean up your bios (power off your PC, shortcut your CMOS using jumper, then power on for 5 sec, then restart your PC), it will go away. Sounds like the Bios bug..
March 26th, 2006
Jim spreaded the word that ITalkBB is the best alternative phone service to replace regular phone service, so we gave it some serious investigation to find out the cost benefits to switch
it turns out it is not the best option for us (yet). On the other hand, we found vBuzzer is the best in terms of quality and cost comparing to the rest.
Our ISP is Bellsouth DSL (extreme service is $37.95 for 3MB), which req a min of local phone service $16, plus all misc fees our phone bill is $67. We cannot subscribe DSL without a local phone number (it sucks, but understandable). Now for our long distance calling, we need to add a VoIP service, consider the Pay-as-yougo pricing for calling to China is 1cent(vBuzzer) 2 cent (iTalkBB) 2.1 cent(skype), vBuzzer is the clear winner.
What about quality and feature?
Quality:tried the 10 trial vBuzzer mins to call my parents’ home phone (in China), the quality is darn good. Used skype before, the connection to calling China sounds not very stable. According to Jim, iTalkBB quality is good.
Local phone number:It gives out free Canadian phone number (Toronto area code), and you can get US area code ($2/month). Similar feature from iTalkBB, $5 for any US area code phone number and a China universal phone number (no free stuff though). Skype offer local phone number 30 euro for 12 month.
Voice mail:the voice message left to your free vBuzzer phone number is sent to your email (mp3) so you can listen to them on your computer/iPod.
Compatible with analog phone: for all SIP compatible service (such as bVuzzer), you can use analog phone adatper to make/recceive call from your normal phone, or you can use any SIP compatible soft phones.
The switch to cable internet doesn’t sound good to me, I don’t like the idea of sharing internet bandwidth with my neighbours, and its cost is not very attractive, the High Speed Internet + digital cable packge + $25 iTalkBB is well above $67, and we don’t really watch TV that much, so I guess we will stay with BS for now until the better/cheaper solution comes out..
February 12th, 2006
to enable faster machine start up:
1. disable system check for idled IDE channel (control panel - system - hardware - primary (or secondary )IDE channel,
2. change this binary value to 1: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters
to remove annoying netowrk not available tray icon, remove the following reg try
HKEY_CLASSES_ROOT\CLSID\{7007ACCF-3202-11D1-AAD2-00805FC1270E}
September 10th, 2005
This upgrade fixes some minor bug of the site.
June 6th, 2005