This file contains hidden or 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
RSCOHROS | |
cohros@chr023:/home/cohros/Projects/rscohros git:(alpha*) $ docker-compose up -d | |
Starting rscohros-php-fpm | |
Starting rscohros-memcached | |
Starting rscohros-mysql | |
Starting rscohros-webserver | |
SIGEP | |
cohros@chr023:/home/cohros/Projects/sigep27 git:(alpha*) $ docker-compose up -d | |
Traceback (most recent call last): |
This file contains hidden or 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
apt-get install libapache2-mod-fastcgi php5.6-fpm php5.6 php5.6-dev php5.6-mcrypt php5.6-mbstring php5.6-mysql php5.6-zip php5.6-gd php5.6-xml php7.1-fpm libapache2-mod-fastcgi php7.1-fpm php7.1 php7.1-dev php7.1-mbstring php7.1-mysql php7.1-zip php7.1-gd php7.1-xml php7.1-curl php7.1-intl php7.1-json php7.1-mcrypt | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
Note, selecting 'php5.6-tokenizer' for regex 'php5.6' | |
Note, selecting 'php5.6-posix' for regex 'php5.6' | |
Note, selecting 'php5.6-iconv' for regex 'php5.6' | |
Note, selecting 'php5.6-mysqlnd' for regex 'php5.6' | |
Note, selecting 'php5.6-pdo' for regex 'php5.6' | |
Note, selecting 'php5.6-pdo-mysql' for regex 'php5.6' |
This file contains hidden or 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 | |
//Nome do arquivo | |
$filename = "filetobeused.txt"; | |
//Verifica se o arquivo existe | |
if(!file_exists($filename)){ | |
die("Arquivo não existe"); | |
} |