Skip to content
Linux Server Support
  • Home
  • HowTo
    • Cpanel
    • Mail
    • MySQL
    • Nginx
    • Apache
    • CloudLinux
    • Ubuntu
    • WordPress
    • Magento
  • Tools
  • Hire Me

pcre

configure: error: Couldn’t find pcre.h, try installing the libpcre

June 26, 2021 by Yujin Boby
Linux

When installing PHP OAuth, I get the following error configure: error: Couldn’t find pcre.h, try installing the libpcre development/headers package ERROR: `/tmp/pear/temp/oauth/configure –with-php-config=/usr/bin/php-config’ failed To fix, install libpcre3-dev apt install libpcre3-dev See Errors

Categories Linux Tags errors, pcre Leave a comment
© 2026 Linux Server Support • Built with GeneratePress