diff --git a/apps/php-unofficial/8.1.34/.env.sample b/apps/php-unofficial/8.1.34/.env.sample deleted file mode 100644 index a63bae7ce..000000000 --- a/apps/php-unofficial/8.1.34/.env.sample +++ /dev/null @@ -1,3 +0,0 @@ -CONTAINER_NAME="php8.1.17" -PANEL_APP_PORT_HTTP="9002" -SITE_PATH="/opt/1panel/apps/openresty/OpenResty/www" \ No newline at end of file diff --git a/apps/php-unofficial/8.1.34/Dockerfile b/apps/php-unofficial/8.1.34/Dockerfile deleted file mode 100644 index af18c4801..000000000 --- a/apps/php-unofficial/8.1.34/Dockerfile +++ /dev/null @@ -1,93 +0,0 @@ -#Reference Links :https://github.com/docker-library/php/issues/926#issuecomment-567230723 - -FROM php:8.1.34-fpm-bookworm - -ARG UNAME=www-data -ARG UGROUP=www-data -ARG UID=1000 -ARG GID=1000 - -RUN usermod --uid $UID $UNAME -RUN groupmod --gid $GID $UGROUP - -# define timezone -RUN echo "Asia/Shanghai" > /etc/timezone -RUN dpkg-reconfigure -f noninteractive tzdata -RUN /bin/echo -e "LANG=\"en_US.UTF-8\"" > /etc/default/local - -# install dependencies -RUN apt-get update && apt-get install -y --no-install-recommends \ - curl \ - unzip \ - build-essential \ - libxml2-dev \ - libssl-dev \ - libbz2-dev \ - libcurl4-openssl-dev \ - libjpeg-dev \ - libpng-dev \ - libwebp-dev \ - libfreetype6-dev \ - libxpm-dev \ - libgmp-dev \ - libmcrypt-dev \ - libreadline-dev \ - libxslt1-dev \ - libonig-dev \ - libzip-dev \ - libc-client-dev \ - libkrb5-dev \ - libmemcached-dev \ - libmagickwand-dev --no-install-recommends \ - libicu-dev && \ - rm -rf /var/lib/apt/lists/* - - - -# memcached -RUN pecl install memcached -RUN docker-php-ext-enable memcached - -# mcrypt -RUN pecl install mcrypt -RUN docker-php-ext-enable mcrypt - -# redis -RUN pecl install redis -RUN docker-php-ext-enable redis - -#pecl temporarily does not support PHP8.1 api installation rar -#Reference Links :https://stackoverflow.com/questions/73564424/error-while-installing-php-rar-extension-on-ubuntu-server -# rar -#RUN pecl install rar -#RUN docker-php-ext-enable rar - -# configure -RUN docker-php-ext-configure gd --enable-gd --with-freetype --with-jpeg --with-webp \ -&& docker-php-ext-configure intl \ -&& docker-php-ext-configure mysqli --with-mysqli=mysqlnd \ -&& docker-php-ext-configure pdo_mysql --with-pdo-mysql=mysqlnd \ -&& docker-php-ext-configure zip \ -&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl \ -&& docker-php-ext-install -j "$(nproc)" \ - gd \ - intl \ - mysqli \ - pdo_mysql \ - zip \ - imap \ - fileinfo \ - xsl \ - bcmath \ - gettext \ - exif \ - curl \ - mbstring - -# install imagick -RUN pecl install imagick -RUN docker-php-ext-enable imagick - -RUN echo "extension=redis.so" >> /usr/local/etc/php/php.ini - -WORKDIR /www diff --git a/apps/php-unofficial/8.4.17/.env.sample b/apps/php-unofficial/8.4.17/.env.sample deleted file mode 100644 index a63bae7ce..000000000 --- a/apps/php-unofficial/8.4.17/.env.sample +++ /dev/null @@ -1,3 +0,0 @@ -CONTAINER_NAME="php8.1.17" -PANEL_APP_PORT_HTTP="9002" -SITE_PATH="/opt/1panel/apps/openresty/OpenResty/www" \ No newline at end of file diff --git a/apps/php-unofficial/8.4.17/Dockerfile b/apps/php-unofficial/8.4.17/Dockerfile deleted file mode 100644 index e720aff27..000000000 --- a/apps/php-unofficial/8.4.17/Dockerfile +++ /dev/null @@ -1,93 +0,0 @@ -#Reference Links :https://github.com/docker-library/php/issues/926#issuecomment-567230723 - -FROM php:8.4.17-fpm-bookworm - -ARG UNAME=www-data -ARG UGROUP=www-data -ARG UID=1000 -ARG GID=1000 - -RUN usermod --uid $UID $UNAME -RUN groupmod --gid $GID $UGROUP - -# define timezone -RUN echo "Asia/Shanghai" > /etc/timezone -RUN dpkg-reconfigure -f noninteractive tzdata -RUN /bin/echo -e "LANG=\"en_US.UTF-8\"" > /etc/default/local - -# install dependencies -RUN apt-get update && apt-get install -y --no-install-recommends \ - curl \ - unzip \ - build-essential \ - libxml2-dev \ - libssl-dev \ - libbz2-dev \ - libcurl4-openssl-dev \ - libjpeg-dev \ - libpng-dev \ - libwebp-dev \ - libfreetype6-dev \ - libxpm-dev \ - libgmp-dev \ - libmcrypt-dev \ - libreadline-dev \ - libxslt1-dev \ - libonig-dev \ - libzip-dev \ - libc-client-dev \ - libkrb5-dev \ - libmemcached-dev \ - libmagickwand-dev --no-install-recommends \ - libicu-dev && \ - rm -rf /var/lib/apt/lists/* - -# memcached -RUN pecl install memcached && \ - docker-php-ext-enable memcached - -# mcrypt -RUN pecl install mcrypt && \ - docker-php-ext-enable mcrypt - -# redis -RUN pecl install redis && \ - docker-php-ext-enable redis - -# imap -RUN pecl install imap && \ - docker-php-ext-enable imap - -#pecl temporarily does not support PHP8.1 api installation rar -#Reference Links :https://stackoverflow.com/questions/73564424/error-while-installing-php-rar-extension-on-ubuntu-server -# rar -#RUN pecl install rar -#RUN docker-php-ext-enable rar - -# configure -RUN docker-php-ext-configure gd --enable-gd --with-freetype --with-jpeg --with-webp \ -&& docker-php-ext-configure intl \ -&& docker-php-ext-configure mysqli --with-mysqli=mysqlnd \ -&& docker-php-ext-configure pdo_mysql --with-pdo-mysql=mysqlnd \ -&& docker-php-ext-configure zip \ -&& docker-php-ext-install -j "$(nproc)" \ - gd \ - intl \ - mysqli \ - pdo_mysql \ - zip \ - fileinfo \ - xsl \ - bcmath \ - gettext \ - exif \ - curl \ - mbstring - -# install imagick -RUN pecl install imagick -RUN docker-php-ext-enable imagick - -RUN echo "extension=redis.so" >> /usr/local/etc/php/php.ini - -WORKDIR /www