Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. FROM php:7.3.4-apache
  2.  
  3. # Install v8js
  4. RUN apt-get update && apt-get install -y libv8-3.14.5
  5. RUN pecl install v8js-2.1.0 && docker-php-ext-enable v8js
  6.  
  7. # Install xdebug.
  8. RUN pecl install xdebug-2.7.1 && docker-php-ext-enable xdebug
  9.  
  10. # Turn on mod_rewrite module for Apache.
  11. RUN a2enmod rewrite
  12.  
  13. # Restart Apache.
  14. RUN service apache2 restart
  15.  
  16. # Use the default development configuration.
  17. RUN mv "$PHP_INI_DIR/php.ini-development" "$PHP_INI_DIR/php.ini"
  18.  
  19. ...
  20. checking for V8 Javascript Engine... yes, shared
  21. checking for V8 files in default path... not found
  22. configure: error: Please reinstall the v8 distribution
  23. ERROR: `/tmp/pear/temp/v8js/configure --with-php-config=/usr/local/bin/php-config --with-v8js' failed
  24. ERROR: Service 'web' failed to build: The command '/bin/sh -c pecl install v8js-2.1.0 && docker-php-ext-enable v8js' returned a non-zero code: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement