PHP installation, start error,

Source: Internet
Author: User

Installation Error:
错误1:configure: error: xml2-config not found. Please check your libxml2 installation.解决办法:yum install -y libxml2-devel
错误2:checking for BZip2 in default path... not foundconfigure: error: Please reinstall the BZip2 distribution解决办法:yum install -y bzip2-devel
错误3:configure: error: jpeglib.h not found.解决办法:yum install -y libjpeg-turbo-devel
错误4:configure: error: png.h not found.解决办法:yum install -y libpng libpng-devel
错误5:configure: error: freetype-config not found.解决办法:yum install -y freetype freetype-devel
错误6:configure: error: mcrypt.h not found. Please reinstall libmcrypt.解决办法:yum install -y epel-releaseyum install -y libmcrypt libmcrypt-devel
错误8configure: error: Please reinstall the libcurl distribution -easy.h should be in <curl-dir>/include/curl/解决办法yum install curl curl-devel
Nginx Related issues
错误1Restarting nginx (via systemctl):  Warning: nginx.service changed on disk. Run ‘systemctl daemon-reload‘ to reload units.解决办法:我们可以先用systemctl daemon-reload再systemctl restart nginx即可。其他服务出现类似的情况,也可以使用systemctl daemon-reload来解决。

PHP installation, start error,

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.