This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
# varnish: | |
# # keopx/varnish available tags: latest, 5.1, 5.0, ${VARNISH_VERSION}. | |
# image: keopx/varnish:${VARNISH_VERSION} | |
# ports: | |
# - "${VARNISH_BACKEND_PORT}:80" | |
# - "${VARNISH_ADMIN_PORT}:6082" | |
# volumes: | |
# - ./config/varnish/${VARNISH_VERSION}/default.vcl:/etc/varnish/default.vcl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## General | |
#COMPOSE_PROJECT_NAME=daixo | |
# ${} | |
### Varnish {5.2|5.1|5.0|4.0} | |
## Niteman file: https://github.com/NITEMAN/varnish-bites/blob/master/varnish4/drupal-base.vcl | |
## mattiasgeniar file: https://github.com/mattiasgeniar/varnish-4.0-configuration-templates | |
# Varnish version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
# varnish: | |
# # keopx/varnish available tags: latest, 5.1, 5.0, ${VARNISH_VERSION}. | |
# image: keopx/varnish:${VARNISH_VERSION} | |
# ports: | |
# - "${VARNISH_BACKEND_PORT}:80" | |
# - "${VARNISH_ADMIN_PORT}:6082" | |
# volumes: | |
# - ./config/varnish/${VARNISH_VERSION}/default.vcl:/etc/varnish/default.vcl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## General | |
#COMPOSE_PROJECT_NAME=tu_proyecto | |
# ${} | |
### Varnish {5.2|5.1|5.0|4.0} | |
## Niteman file: https://github.com/NITEMAN/varnish-bites/blob/master/varnish4/drupal-base.vcl | |
## mattiasgeniar file: https://github.com/mattiasgeniar/varnish-4.0-configuration-templates | |
# Varnish version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
web_1 | /usr/bin/apache2-foreground: line 8: /etc/php/7.2/apache2/conf.d/zzz-docker-php.ini: No such file or directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This file is included very early. See autoload.files in composer.json and | |
* https://getcomposer.org/doc/04-schema.md#files | |
*/ | |
use Dotenv\Dotenv; | |
use Dotenv\Exception\InvalidPathException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$query = \Drupal::entityQuery('cub'); | |
$result = $query->execute(); | |
$entidades = array_values($result); | |
// object $entidad con todas los registros guardasdos de cub | |
$entidad = entity_load_multiple('cub', $entidades); | |
?> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#https://askubuntu.com/questions/761713/how-can-i-downgrade-from-php-7-to-php-5-6-on-ubuntu-16-04 | |
Switch PHP version: | |
From php5.6 to php7.0: | |
Apache: | |
sudo a2dismod php5.6 ; sudo a2enmod php7.0 ; sudo service apache2 restart | |
CLI: | |
sudo update-alternatives --set php /usr/bin/php7.0 | |
From php7.0 to php5.6: | |
Apache: |
NewerOlder