💻 Software
Nginx can't find PCRE library on Ubuntu Server
Fresh5 days ago
Mar 15, 202610068 viewsConfidence Score0%
0%
Problem
I have been trying to get a Passenger and Nginx setup to work with php files but I am having problems with the PCRE regular expressions library. Install all went fine so I'm assuming it found the libraries at that point but now when I include a regex for PHP files in my nginx.conf file, I get the f…
Error Output
nginx: [emerg] using regex "\.php$" requires PCRE library in /home/dev/nginx/conf/nginx.conf:59
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Nginx can't find PCRE library on Ubuntu Server
Low Risk
The problem occurs because pcre was not installed on your system before you compiled nginx. Now that you have it the proper libraries, you should be able to recompile the nginx and run with no pcre related errors.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix