fix makefile in phpize mode

- extend LDFLAGS with dynamically generated ones
- prevend dynamically generated CFLAGS to be overridden by hardcoded ones
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix makefile in phpize mode
Fixed a bug that cannot access custom request header stored in apache_request_headers() though array index.
Fixed a bug that cannot access custom request header stored in apache_request_headers() though array index.
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Fix for bug #34407 - ucwords and title case

Added support for ranges like trim() has
Updated NEWS for 34407
Merge branch 'PHP-5.4' into PHP-5.5
Updated NEWS for 34407
Merge remote-tracking branch 'upstream/PHP-5.5' into PHP-5.5
Revert "Fixed bug #67594"

This reverts commit 1dea5584ab6191fdee4b517a8fd582aaba95f488.