hello all -
whats the best way to have a default ‘include_path’ value put into all new php.ini files? is it just a simple brain-dead matter of editing the “global” /etc/php.ini file?
or perhaps i should be asking whats the best way to have a global php library referenced and available to all php scripts in any virtual-server?
i created my own /usr/local/lib/php directory and i want all virtual-servers to have access to it.
i did issue this command to fix all existing php.ini files based on an earlier post:
find /home/ -name php.ini -exec \
sed -i -e 's?^;include_path = ".:/php/includes"?include_path = ".:/usr/share/pear:/usr/share/php:/usr/local/lib/php"?' {} \;
thoughts?