This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
/usr/local/lib/php.ini should be a symlink to /usr/local/Zend/etc/php.ini if you have installed Zend Optimizer correctly, so it does not matter which file you edit. In fact, it's better to edit it via the /usr/local/lib/php.ini symlink since that's the reference that php is looking at.