mirror of
https://github.com/tecnickcom/TCPDF.git
synced 2025-04-20 14:02:05 +02:00
Add CURL extension
This commit is contained in:
parent
818abfae4c
commit
d0f52e184b
@ -160,6 +160,7 @@ echo PHP_EOL;
|
||||
*/
|
||||
$phpExtensions = array(
|
||||
'bcmath' => null,
|
||||
'curl' => null,
|
||||
'gd' => null,
|
||||
'imagick' => null,
|
||||
'json' => null,
|
||||
|
@ -34,6 +34,9 @@ echo "php extension dir: ${PHP_EXT_DIR}"
|
||||
BCMATH_EXT="-d extension=$(find ${PHP_EXT_DIR} -type f -name 'bcmath.so')"
|
||||
echo "bcmath found at: ${BCMATH_EXT}"
|
||||
|
||||
CURL_EXT="-d extension=$(find ${PHP_EXT_DIR} -type f -name 'curl.so')"
|
||||
echo "curl found at: ${CURL_EXT}"
|
||||
|
||||
COVERAGE_EXTENSION="-d extension=pcov.so"
|
||||
IMAGICK_OR_GD="-dextension=gd.so"
|
||||
JSON_EXT="-dextension=json.so"
|
||||
@ -86,6 +89,7 @@ for file in $EXAMPLE_FILES; do
|
||||
-d date.timezone=UTC \
|
||||
${IMAGICK_OR_GD} ${COVERAGE_EXTENSION} \
|
||||
${BCMATH_EXT} \
|
||||
${CURL_EXT} \
|
||||
${JSON_EXT} \
|
||||
${XML_EXT} \
|
||||
-d display_errors=on \
|
||||
@ -152,7 +156,9 @@ for file in $EXAMPLE_BARCODE_FILES; do
|
||||
${PHP_BINARY} -n \
|
||||
-d include_path="${TEMP_FOLDER}" \
|
||||
-d date.timezone=UTC \
|
||||
${BCMATH_EXT} ${COVERAGE_EXTENSION} \
|
||||
${BCMATH_EXT} \
|
||||
${CURL_EXT} \
|
||||
${COVERAGE_EXTENSION} \
|
||||
-d display_errors=on \
|
||||
-d error_reporting=-1 \
|
||||
-d pcov.directory="${ROOT_DIR}" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user