So I'm setting up a new workstation for myself that's purely Linux. I'm trying to get all our stuff working as configured without having to create containers just to run our app. I'm having a problem getting the correct ini file to load. What's confusing me, is when I look at the configure command, it shows the config path as being what I expect, but when I use php --ini it doesn't match the path in the configure command. (see below) Also of note is that the scan dir doesn't seem to be correct either. Any ideas why these wouldn't match, or more specifically what I need to do to make it correct?
08:02:32 {master} ~/repositories/repository$ php --ini
Configuration File (php.ini) Path: /usr/local/apache-php//lib
Loaded Configuration File: (none)
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none)
08:02:52 {master} ~/repositories/repository$ php -i | grep configure
Configure Command => './configure' '--prefix=/usr/local' '--with-libdir=lib64' '--with-gd' '--with-curl' '--with-freetype-dir=/usr/include/freetype2' '--enable-wddx' '--enable-ftp' '--without-sqlite' '--without-pdo-sqlite' '--with-pdo-mysql=mysqlnd' '--with-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--with-jpeg-dir=/usr/lib64' '--with-png-dir=/usr/lib64' '--with-zlib-dir=/usr/lib64' '--enable-zip' '--with-config-file-path=/usr/local/apache-php/conf/''--with-config-file-scan-dir=/etc/php.d' '--enable-sockets' '--enable-pcntl' '--enable-soap' '--enable-mbstring' '--with-xsl' '--with-apxs2=/usr/local/apache-php/bin/apxs'