File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM ubuntu:20.04
1+ FROM php:8.2-cli
22
3- RUN export DEBIAN_FRONTEND=noninteractive \
4- && apt update \
5- && apt install -y php7.4-cli php7.4-dev php7.4-mbstring php7.4-curl php7.4-intl git zip unzip libicu-dev
3+ RUN apt update && apt install -y \
4+ git \
5+ zip \
6+ unzip \
7+ libicu-dev \
8+ libcurl4-openssl-dev \
9+ libonig-dev
610
7- RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
11+ RUN docker-php-ext-install intl mbstring curl
12+
13+ RUN pecl install xdebug && docker-php-ext-enable xdebug
814
9- RUN mkdir -p /xdebug && git clone https://github.com/xdebug/xdebug.git --recursive --branch 3.1.0 /xdebug
10- RUN cd /xdebug \
11- && phpize \
12- && ./configure --enable-xdebug \
13- && make \
14- && make install \
15- && echo 'zend_extension=xdebug' > /etc/php/7.4/cli/conf.d/99-xdebug.ini
15+ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
1616
1717RUN php -v
1818
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ It is strongly recommended to:
2626## Installation
2727
2828##### System requirements:
29- * PHP >= __ 7 .2__ (old versions supports __ 5.4+ __ )
29+ * PHP >= __ 8 .2__
3030* php-curl
3131* php-mbstring
3232* Open port __ 43__ in firewall
@@ -45,7 +45,7 @@ composer require xternalsoft/php-whois
4545or composer.json:
4646````
4747"require": {
48- "xternalsoft/php-whois": "^4 .0"
48+ "xternalsoft/php-whois": "^1 .0"
4949}
5050````
5151
You can’t perform that action at this time.
0 commit comments