Nginx-An error occurred while enabling the php gd library on the windows server.

Source: Internet
Author: User
When the gd library of php is enabled on windows Server, gdConfigureCommand {code...} is not displayed in the result obtained by phpinfo () after cgi is used ...} in the extension shown below, the gd library is confirmed and the system environment marked as "enabled" is: windo... when the gd library of php is enabled on windows Server, the phpinfo () result after cgi is used. Configure CommandGd does not appear in

Configure Command

cscript /nologo configure.js "--enable-snapshot-build" "--disable-isapi" "--enable-debug-pack" "--without-mssql" "--without-pdo-mssql" "--without-pi3web" "--with-pdo-oci=C:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=C:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8-11g=C:\php-sdk\oracle\instantclient11\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--with-mcrypt=static" "--disable-static-analyze" "--with-pgo"

In the extension shown below, the gd library is confirmed and marked as enabled.

The system environment is windows server + nginx + php-cgi.

The png image was not successfully implemented during the test.

Reply content:

When the gd library of php is enabled on windows Server, the phpinfo () result after cgi is used.Configure CommandGd does not appear in

Configure Command

cscript /nologo configure.js "--enable-snapshot-build" "--disable-isapi" "--enable-debug-pack" "--without-mssql" "--without-pdo-mssql" "--without-pi3web" "--with-pdo-oci=C:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=C:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8-11g=C:\php-sdk\oracle\instantclient11\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--with-mcrypt=static" "--disable-static-analyze" "--with-pgo"

In the extension shown below, the gd library is confirmed and marked as enabled.

The system environment is windows server + nginx + php-cgi.

The png image was not successfully implemented during the test.

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.