Skip to content

Instantly share code, notes, and snippets.

Rafael Soufraz Soufraz

Block or report user

Report or block Soufraz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:24ea0cf4c02c106418e22f098e1a057a
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):
@Soufraz
Soufraz / gist:8b67ec04bfe0744b2db1849376faec95
Created Aug 28, 2017
errors trying to install php packages
View gist:8b67ec04bfe0744b2db1849376faec95
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'
@Soufraz
Soufraz / file.php
Created Sep 8, 2014
Estudando manipulações de arquivos
View file.php
<?php
//Nome do arquivo
$filename = "filetobeused.txt";
//Verifica se o arquivo existe
if(!file_exists($filename)){
die("Arquivo não existe");
}
You can’t perform that action at this time.