php vs libphp5.so shows different ./configure options
Posted: Tue Nov 15, 2011 11:13 am
Hi, I try to troubleshoot a hosting setup I built on Centos6 with php packages from Atomic Rocket Turtle (I needed to have php 5.2.17 so I used these instead of stock CentOS php version )
Now I notice while comparing a phpinfo output from command line (php -f phpinfo.php) and one from my browser (interpreted by httpd using libphp5.so) that the configure command section shows differences ('--without-unixODBC' '--disable-pdo' on my browser, --enable-pdo=shared --with-pdo-odbc=shared,unixODBC,/usr --with-pdo-mysql=shared,/usr --with-pdo-pgsql=shared,/usr --with-pdo-sqlite=shared,/usr --with-pdo-dblib=shared,/usr --with-unixODBC=shared,/usr from the command line) there may be other differences I didn't notice, but these options are important to me so it caught my attention first.
Any clue why is that ? Any test I should do or complementary information I should provide ?
Now I notice while comparing a phpinfo output from command line (php -f phpinfo.php) and one from my browser (interpreted by httpd using libphp5.so) that the configure command section shows differences ('--without-unixODBC' '--disable-pdo' on my browser, --enable-pdo=shared --with-pdo-odbc=shared,unixODBC,/usr --with-pdo-mysql=shared,/usr --with-pdo-pgsql=shared,/usr --with-pdo-sqlite=shared,/usr --with-pdo-dblib=shared,/usr --with-unixODBC=shared,/usr from the command line) there may be other differences I didn't notice, but these options are important to me so it caught my attention first.
Any clue why is that ? Any test I should do or complementary information I should provide ?