November 26th, 2007

Dear PHP People - Part 1

Dear PHP people… Zend and whoever,

Please allow us (PHP developers) to use arbitrary configuration variables in phg.ini. Also don’t forget to make sure that these arbitrary config. variables can still be set via php_flag and php_value.

Why? Oh, c’mon - for hella reasons; Like when you deploy an app it would be nice to replace stuff like define ('IMAGE_SERVER', 'http://bla_bla_bla.com'); in the ini file instead of including a dumbass constants.php. ‘Cuase correct me if I’m wrong, the web server loads the info from php.ini via the php module when the server/thread starts. Now, using a bunch of define’s in a contants.php file would force all that crap to get loaded for every request and that kinda sucks…

Thanks a million!

Love,
Arin

@
skrenta she's all yours man. i left it for you as a gift on my last day at Topix 32 mins ago

Search This Blog

Categories