Configure pipe directly in php