50 likes | 235 Vues
php.ini hacks. Michael J. Radwin, Yahoo! Inc PHP Lightning Talks OSCON 2006. php.ini and Friends. /usr/local/etc/php.ini /usr/local/etc/php/gd.ini /usr/local/etc/php/mcrypt.ini /usr/local/etc/php/yahoo-sports.ini ./configure --with-config-file-scan-dir= /usr/local/etc/php.
E N D
php.ini hacks Michael J. Radwin, Yahoo! Inc PHP Lightning Talks OSCON 2006
php.ini and Friends /usr/local/etc/php.ini /usr/local/etc/php/gd.ini /usr/local/etc/php/mcrypt.ini /usr/local/etc/php/yahoo-sports.ini ./configure --with-config-file-scan-dir= /usr/local/etc/php
Self-contained extensions and ini variable expansion ;; /usr/local/etc/php.ini open_basedir = /usr/local/www/htdocs:/usr/local/lib/php ;; /usr/local/etc/php/mcrypt.ini extension = mcrypt.so ;; /usr/local/etc/php/yahoo-sports.ini open_basedir = ${open_basedir}:/tmp
What versions of PHP? --with-config-file-scan-dir PHP 4.3.0 (Dec 2002) ${foobar} expansion PHP 5.1.0 (Nov 2005)
Yahoo! is HiringAll positions Full Time – Sunnyvale, CA Send resumes to radwin@yahoo-inc.com or stop by the Yahoo! booth in the exhibit hall to see detailed job descriptions. Senior Perl Hackers MySQL Guru Senior Developer Tools – Perl Senior Software Engineer – FlexForce – C/C++, Unix Storage Platform Engineer – C++ Global User Database Engineer – Unix, bash, Perl Technical Trainer Technical Publications and Training Manager Monitoring Tools – C/C++, Perl, Nagios Yes, that’s right, no PHP jobs. Weird, huh?