sid2006 Posted March 1, 2006 Share Posted March 1, 2006 I have been trying to get the php.ini file to be recognized by phpinfo and have had no luck.PHP Version 4.3.4Solaris 2.8GCC compiler 3.3.2Initially, when I ran configure I used these options:./configure --with-mysql --with-apxs2=/usr/local/apache2.0.54/bin/apxs --with-gd --with-png-dir=/usr/local/lib --with-jpeg-dir=/usr/local/lib --with-zlib-dir=/usr/local/libThe Config file piece of the ouput of the phpinfo page is:Configuration File (php.ini) Path /usr/local/lib/CLI actually shows the path and file name:# ./original.php -i|morephpinfo()PHP Version => 4.3.4System => SunOS umgwww4 5.8 Generic_108528-29 sun4uBuild Date => Feb 28 2006 19:20:00Configure Command => './configure' '--with-mysql' '--with-apxs2=/usr/local/apache2.0.54/bin/apxs' '--with-gd' '--with-png-dir=/usr/local/lib' '--with-jpeg-dir=/usr/local/lib' '--with-zlib-dir=/usr/local/lib' 'Server API => Command Line InterfaceVirtual Directory Support => disabledConfiguration File (php.ini) Path => /usr/local/lib/php.iniPHP API => 20020918PHP Extension => 20020429Zend Extension => 20021010Debug Build => noThread Safety => disabledRegistered PHP Streams => php, http, ftp, compress.zlib I have another system that is identical and works fine. I tried copying over the php CLI and entire /usr/local/lib/php directories and the libphp4.so apache module and then restarted. Still didn;t workI then tried a compile with:--with-config-file-path=/usr/local/lib/php.ini (even though you are only suppose to use the path)Still didn't work.Any ideas?thanks,sid Link to comment https://forums.phpfreaks.com/topic/3851-phpini-is-not-recognized/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.