title: configure error: Package requirements (sqlite3 > 3.7.4) were not met
body: <p>I'm trying to install php on Centos 7 following instructions from: <a href="https://www.php.net/manual/en/install.unix.nginx.php" rel="nofollow noreferrer">https://www.php.net/manual/en/install.unix.nginx.php</a>.
  My nginx version: nginx/1.19.0</p>
  
  <p>I downloaded php-7.4.6.tar.gz from <a href="https://www.php.net/downloads" rel="nofollow noreferrer">https://www.php.net/downloads</a> 
  but 
  at the step:</p>
  
  <pre><code>./configure --enable-fpm --with-mysqli
  </code></pre>
  
  <p>I got this error: </p>
  
  <pre><code>checking for sqlite3 &gt; 3.7.4... no
  configure: error: Package requirements (sqlite3 &gt; 3.7.4) were not met:
  
  No package 'sqlite3' found
  
  Consider adjusting the PKG_CONFIG_PATH environment variable if you
  installed software in a non-standard prefix.
  
  Alternatively, you may set the environment variables SQLITE_CFLAGS
  and SQLITE_LIBS to avoid the need to call pkg-config.
  See the pkg-config man page for more details.
  </code></pre>
  
  <p>I do have sqlite3 up and running: </p>
  
  <pre><code># sqlite3
  SQLite version 3.7.17
  </code></pre>
  
  <p>So, how should I set the environment variable (in configure file?)?
  Thanks!</p>