php compiler parameter--prefix=/usr/local/php "far-reaching" impact

Source: Internet
Author: User
Tags php compiler

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.