Yeah it's on centOS 5.6 and only one php installed which I built myself. I am using php over fastcgi with nginx/lighttpd So I am 100% it's the correct binary. It's really strange as I do this very often on similar systems and I never had such a strange problem.
In the end it doesn't matter. It's just weird Sent from my iPhone Am 31.05.2011 um 20:45 schrieb "Keith Roberts" <ke...@karsites.net>: > On Tue, 31 May 2011, Philipp Schuler wrote: > >> To: "php-install@lists.php.net" <php-install@lists.php.net> >> From: Philipp Schuler <philipp.schu...@booming.de> >> Subject: [PHP-INSTALL] Configure Command from ./php -i incorrect? >> >> Hi all, >> >> I wanted to check one of my php installations, a php-5.3.5 >> . On php -i it only shows a part of the configure command >> I used, however everything I wanted to configure/compile >> in _IS_ working. For example --enable-calendar, doesnt >> show up in the configure command but it DOES work and >> shows up as "enabled" in the rest of the php -i >> >> Is there any reason why the configure command outputted by >> php-i isnt complete ? > > Hi Phil, > > What you need to remember is that when you compile php from > source, you get 3 types of executable php files. > > (On Centos 5.6 packages) > > First there's the command line versions > > /usr/bin/php > /usr/bin/php-cgi > > > Then there's the apache php module, called > /usr/lib/httpd/modules/libphp5.so that gets loaded once into > memory as an apache loadable module, when apache first > starts. > > It sounds to me like you have compiled php yourself, and > installed the apache module libphp5.so for the version you > just compiled. > > If you restat apache and load a php page with this in it: > > <?php > phpinfo(); > ?> > > That should show the options you compiled your version of > php with. > > Now, if you still have the old previous version of php > installed, and do # php -i from the command line, you will > not see the same compile options as the version you > compiled. > > If you are going to compile php yourself from source, it's > best to uninstall any previous versions that are on your > system. Start with a clean slate, so to speak. > > HTH > > Kind Regards, > > Keith Roberts > > ----------------------------------------------------------------- > Websites: > http://www.karsites.net > http://www.php-debuggers.net > http://www.raised-from-the-dead.org.uk > > All email addresses are challenge-response protected with > TMDA [http://tmda.net] > -----------------------------------------------------------------