Skip to content

Instantly share code, notes, and snippets.

@JohnRDOrazio
Created September 2, 2025 21:51
Show Gist options
  • Select an option

  • Save JohnRDOrazio/e7c08bb20c71fbb986e122c0da356c82 to your computer and use it in GitHub Desktop.

Select an option

Save JohnRDOrazio/e7c08bb20c71fbb986e122c0da356c82 to your computer and use it in GitHub Desktop.
PHP 8.4 configure
./configure \
--prefix=$HOME/php-8.4-debug \
--with-config-file-path=$HOME/php-8.4-debug/etc \
--with-config-file-scan-dir=$HOME/php-8.4-debug/etc/conf.d \
--enable-cli \
--enable-debug \
--enable-phpdbg \
--enable-pcntl \
--enable-bcmath \
--enable-calendar \
--enable-mbstring \
--enable-exif \
--enable-ftp \
--enable-intl \
--enable-shmop \
--enable-sockets \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-gd --with-freetype --with-jpeg --with-webp --with-avif \
--with-bz2 \
--with-libedit \
--with-password-argon2 \
--with-sodium \
--with-openssl \
--with-zlib \
--with-mhash \
--with-libxml \
--with-curl \
--with-gettext \
--with-iconv \
--with-pdo-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--with-xsl \
--with-zip \
--with-pear \
--with-readline \
--build=$(dpkg-architecture -qDEB_BUILD_GNU_TYPE) \
--host=$(dpkg-architecture -qDEB_HOST_GNU_TYPE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment