GithubHelp home page GithubHelp logo

mpolr / dev-server Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 57 KB

Local development server (Docker, Traefik, Nginx, MySQL, PHP)

Home Page: https://mpolr.ru/blog/post/31

License: GNU General Public License v3.0

Dockerfile 88.22% PHP 11.78%
docker mysql nginx php7 traefik-v2

dev-server's People

Contributors

mpolr avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

dev-server's Issues

Error on building regarding php modules

#0 80.01 Build process completed successfully
#0 80.01 Installing '/usr/local/lib/php/extensions/no-debug-non-zts-20180731/redis.so'
#0 80.07 install ok: channel://pecl.php.net/redis-5.3.7
#0 80.07 configuration option "php_ini" is not set to php.ini location
#0 80.07 You should add "extension=redis.so" to php.ini
#0 80.15 error: 'xdebug' does not exist
#0 80.15
#0 80.15 usage: /usr/local/bin/docker-php-ext-enable [options] module-name [module-name ...]
#0 80.15    ie: /usr/local/bin/docker-php-ext-enable gd mysqli
#0 80.16        /usr/local/bin/docker-php-ext-enable pdo pdo_mysql
#0 80.16        /usr/local/bin/docker-php-ext-enable --ini-name 0-apc.ini apcu apc
#0 80.16
#0 80.16 Possible values for module-name:
#0 80.16 opcache.so redis.so sodium.so
#0 80.16
#0 80.16 Some of the above modules are already compiled into PHP; please check
#0 80.16 the output of "php -i" to see which modules are already loaded.
------
failed to solve: executor failed running [/bin/sh -c apk update         && apk add --no-cache --virtual .persistent-deps                                                                                                 autoconf cmake file g++ gcc git libc-dev pcre-dev make pkgconf re2c     php-bcmath     freetype-dev     libpng-dev      libjpeg-turbo-dev     libxslt-dev     icu-dev     postgresql-dev     libxml2-dev     freetype-dev     libpng-dev     libjpeg-turbo-dev     bzip2-dev     libintl gettext-dev libxslt     nodejs npm     bash nano zip unzip     && apk add --no-cache git mysql-client curl libmcrypt libmcrypt-dev g++ make autoconf libzip-dev     && docker-php-source extract    && docker-php-ext-configure gd         --with-gd         --with-freetype-dir=/usr/include/         --with-png-dir=/usr/include/         --with-jpeg-dir=/usr/include/     && docker-php-ext-configure bcmath --enable-bcmath     && docker-php-ext-configure intl --enable-intl     && docker-php-ext-configure pcntl --enable-pcntl     && docker-php-ext-configure mysqli --with-mysqli     && docker-php-ext-configure pdo_mysql --with-pdo-mysql     && docker-php-ext-configure mbstring --enable-mbstring     && docker-php-ext-configure soap --enable-soap     && docker-php-ext-configure opcache --enable-opcache     && pecl install xdebug redis     && docker-php-ext-enable xdebug redis     && docker-php-source delete     && docker-php-ext-install -j$(nproc)
gd         bcmath         intl         pcntl         mysqli         pdo_mysql         pdo_pgsql         mbstring         soap         iconv         bz2         calendar         exif         gettext         shmop         sockets         sysvmsg         sysvsem         sysvshm         wddx         xsl              zip         opcache                                                                                                      && echo -e "opcache.memory_consumption=128\nopcache.interned_strings_buffer=8\nopcache.max_accelerated_files=4000\nopcache.revalidate_freq=60\nopcache.fast_shutdown=1\nopcache.enable_cli=1\nopcache.enable=1\n" > /usr/local/etc/php/conf.d/opcache.ini     && echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini     && echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini     && echo "xdebug.remote_port=9001" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini     && echo "xdebug.remote_handler=dbgp" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini     && echo "xdebug.remote_connect_back=0" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini     && echo "xdebug.idekey=mertblog.net" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini     && echo "xdebug.remote_host=docker.for.mac.localhost" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini     && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer     && rm -rf /tmp/*]: exit code: 1```

Hi there, would you be so kind to assist me with this error? I've tried building with multiple versions, and googling this error, but with no result

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.