Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pecl/xdebug requires PHP (version >= 8.0.0, version <= 8.2.99), installed version is 7.3.33 #40

Open
veikoon opened this issue Jan 4, 2023 · 0 comments

Comments

@veikoon
Copy link
Contributor

veikoon commented Jan 4, 2023

FROM php:7.3-apache-buster

Build process completed successfully
Installing '/usr/local/lib/php/extensions/no-debug-non-zts-20180731/apcu.so'
Installing '/usr/local/include/php/ext/apcu/apc_iterator.h'
Installing '/usr/local/include/php/ext/apcu/apc_api.h'
Installing '/usr/local/include/php/ext/apcu/apc_sma.h'
Installing '/usr/local/include/php/ext/apcu/apc_globals.h'
Installing '/usr/local/include/php/ext/apcu/apc.h'
Installing '/usr/local/include/php/ext/apcu/apc_lock_api.h'
Installing '/usr/local/include/php/ext/apcu/php_apc_legacy_arginfo.h'
Installing '/usr/local/include/php/ext/apcu/apc_cache.h'
Installing '/usr/local/include/php/ext/apcu/apc_arginfo.h'
Installing '/usr/local/include/php/ext/apcu/apc_serializer.h'
Installing '/usr/local/include/php/ext/apcu/apc_stack.h'
Installing '/usr/local/include/php/ext/apcu/apc_cache_api.h'
Installing '/usr/local/include/php/ext/apcu/apc_mutex.h'
Installing '/usr/local/include/php/ext/apcu/php_apc.h'
Installing '/usr/local/include/php/ext/apcu/apc_sma_api.h'
Installing '/usr/local/include/php/ext/apcu/apc_lock.h'
install ok: channel://pecl.php.net/apcu-5.1.19
configuration option "php_ini" is not set to php.ini location
You should add "extension=apcu.so" to php.ini
+ pecl clear-cache
reading directory /tmp/pear/cache
8 cache entries cleared
+ docker-php-ext-enable apcu
+ pecl install xdebug
pecl/xdebug requires PHP (version >= 8.0.0, version <= 8.2.99), installed version is 7.3.33
No valid packages found
install failed
ERROR: Service 'votix' failed to build : The command '/bin/sh -c set -eux;     buildDeps="         libicu-dev         zlib1g-dev         libzip-dev         libonig-dev     ";     apt-get update;     apt-get install -y --no-install-recommends         $buildDeps         ca-certificates         git         openssh-client         libzip4         unzip         gnupg     ;         docker-php-ext-install opcache mbstring intl zip;         pecl install apcu-$APCU_VERSION;     pecl clear-cache;     docker-php-ext-enable apcu;         pecl install xdebug;         curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -;     echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list;     apt-get update;     apt-get install -y yarn nodejs;         apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false -o APT::AutoRemove::SuggestsImportant=false $buildDeps;     apt-get clean;     rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*;         mkdir -p /srv/public;     chown -R www-data:www-data /srv;     a2enmod rewrite;         curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer;         {         echo "short_open_tag=off";         echo "date.timezone=UTC";         echo "opcache.memory_consumption=256";         echo "opcache.max_accelerated_files=20000";         echo "realpath_cache_size=4096K";         echo "realpath_cache_ttl=600";     } | tee /usr/local/etc/php/conf.d/symfony.ini;     {         echo "<VirtualHost *:8000>";         echo "    DocumentRoot /srv/public";         echo "    DirectoryIndex index.php";         echo "    <Directory /srv/public>";         echo "        AllowOverride All";         echo "        Require all granted";         echo "    </Directory>";         echo "    ErrorLog /proc/self/fd/1";         echo "    CustomLog /proc/self/fd/2 combined";         echo "</VirtualHost>";     } | tee /etc/apache2/sites-available/000-default.conf;     echo "Listen 8000" > /etc/apache2/ports.conf;     mkdir -p /mnt/cache_yarn /mnt/cache_composer;     echo "disable-self-update-check true" > /.yarnrc' returned a non-zero code: 1

Passage sur une docker php:8.0-apache-buster à envisager ?

veikoon added a commit that referenced this issue Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant