Skip to content

Instantly share code, notes, and snippets.

# Compiling PHP from source

# https://github.com/docker-library/php/blob/3dc9a6988d478fae0f0b8b871d10e611b50e3d0c/7.4/buster/cli/Dockerfile
# https://php.watch/articles/compile-php-ubuntu

sudo apt-get install make clang build-essential autoconf libtool bison re2c

# SQL Server for unixODBC development headers
sudo apt-get install unixodbc-dev
@olavocneto
olavocneto / awesome-dfe-proto.md
Last active January 25, 2020 15:04
awesome-dfe-proto.md

awesome-dfe

Awesome

Uma lista de projetos e conteúdos sobre Documentos Fiscais Eletrônicos.

Conteúdo

; Xdebug 2
; Ubuntu
[xdebug]
zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20190902/xdebug.so
xdebug.remote_enable=1
xdebug.remote_autostart=1
xdebug.remote_port=9000
xdebug.remote_connect_back=true
; Windows WSL
#!/usr/bin/env bash
# https://sharats.me/posts/shell-script-best-practices/
set -o errexit
set -o nounset
set -o pipefail
if [[ "${TRACE-0}" == "1" ]]; then
set -o xtrace
fi
@olavocneto
olavocneto / asdf-php.md
Last active November 25, 2022 12:36
asdf-php
asdf plugin remove php

asdf plugin add php https://github.com/olavocneto/asdf-php.git

asdf install php latest

asdf global php 8.1.13

pecl install xdebug