/usr/include/php5/ext/pcre/php_pcre.h fatal error: pcre.h: No such file or directory

When you install oauth server in Ubuntu by the following command

apt-get update
apt-get installphp-pear php5-dev

you may face issue like

/usr/include/php5/ext/pcre/php_pcre.h:29:18: fatal error: pcre.h: No such file or directory #include "pcre.h" ^ compilation terminated. make: *** [phalcon.lo] Erreur 1

to resolve this install following lib

sudo apt-get install libpcre3-dev

after that try installing ouath again

Advertisements