easy.h should be in <curl-dir>/include/curl/

Output

# WARNING: curl extension might be required for fetching data.
===> phpbrew will now build 7.1.3
===> Loading and resolving variants...
Checking distribution checksum...
Checksum matched: 1306085cf74ba682dbcbfb4dff67b650
===> Distribution file was successfully extracted, skipping...
Found existing Makefile, running make clean to ensure everything will be rebuilt.
You can append --no-clean option after the install command if you don't want to rebuild.
===> Running make clean: /usr/bin/make -C '/home/max/.phpbrew/build/php-7.1.3' --quiet 'clean'
===> Checking patches...
Checking patch for replace apache php module name with custom version name
Found existing build.log, renaming it to /home/max/.phpbrew/build/php-7.1.3/build.log.1492332124
===> Configuring 7.1.3...


Use tail command to see what's going on:
   $ tail -F /home/max/.phpbrew/build/php-7.1.3/build.log


Error: Configure failed:
The last 5 lines in the log file:
checking whether to enable ctype functions... yes

checking for cURL support... yes

checking for cURL in default path... not found

configure: error: Please reinstall the libcurl distribution -

    easy.h should be in <curl-dir>/include/curl/

Please checkout the build log file for more details:
	 tail /home/max/.phpbrew/build/php-7.1.3/build.log

Expected Result

php-7.1.3 installed

Command

phpbrew install php-7.1.3 +dbs +mb +default

Build Log

https://gist.github.com/MaxHogervorst/1108ae9ce1a4d4a39d1f8bdd29dbb59e

Platform

OS:

Ubuntu 17.04

Running PHP: 7.1.0

Installing PHP: 7.1.3

This happens with anyversion i try

i've tried installing sudo apt-get install libcurl4-gnutls-dev and all the other versions of libcurl4