no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | php [2015/10/19 15:16] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== PHP ====== | ||
+ | * [[PHP Configuration]] | ||
+ | * [[PHP CGI]] | ||
+ | * [[PHP Install From Source]] | ||
+ | * [[PHP Optimization]] | ||
+ | * [[PHP Security]] | ||
+ | * [[PHP Unicode]] | ||
+ | * [[Apache Worker MPM PHP CGI Suexec Setup]] | ||
+ | * [[CentOS PHP]] | ||
+ | * [[OpenBSD PHP]] | ||
+ | * [[php-config]] | ||
+ | |||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | ==== Gotchas ==== | ||
+ | |||
+ | === open_basedir and CURLOPT_FOLLOWLOCATION === | ||
+ | |||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | This error appears in the PHP log: | ||
+ | |||
+ | < | ||
+ | PHP Warning: | ||
+ | </ | ||
+ | |||
+ | Updating open_basedir to include the directory won't work, because the curl option '' | ||
+ | |||
+ | The purpose for this not working is that curl will follow a result with a header pointing to another location, which creates the option of directory traversal outside of the limited basedir. | ||
+ | |||
+ | This change was introduced in PHP 4.4.4. |