When compiling PHP, using the--prefix=/usr/local/php parameter, the output content in many places will carry this path information, in some cases caused the startup php-fpm failed.
For example, we move/usr/local/php to/usr/php, then the subsequent start php-fpm, regardless of specifying the-c-y parameters, the program will go to the/usr/local/php directory to find some content, The effect of this name on the compilation parameter cannot be eliminated by subsequent startup parameters.
The workaround is to not change the PHP default deployment path During the deployment phase, and if you want to change it, you will need to recompile PHP to specify the appropriate--prefix parameters.
Summary of the problems encountered in practice!
This article is from the "Streaming Media server technology Research" blog, please be sure to keep this source http://livestreaming.blog.51cto.com/3135568/1919662
php compiler parameter--prefix=/usr/local/php "far-reaching" impact