在windows伺服器開啟php的gd庫時,使用cgi之後phpinfo()得到的結果中
Configure Command 中並沒有出現gd
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"
下方顯示的extension中卻又確認有gd庫並標記為enabled狀態
系統內容為: windows server + nginx + php-cgi
測試的時候png圖片未有成功實現
回複內容:
在windows伺服器開啟php的gd庫時,使用cgi之後phpinfo()得到的結果中 Configure Command 中並沒有出現gd
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"
下方顯示的extension中卻又確認有gd庫並標記為enabled狀態
系統內容為: windows server + nginx + php-cgi
測試的時候png圖片未有成功實現