Re: Version 4.2.0 - phpinfo() shows the old build information after rebuild

From: Date: Sun, 19 May 2002 22:18:22 +0000
Subject: Re: Version 4.2.0 - phpinfo() shows the old build information after rebuild
References: 1  Groups: php.install php.qa 
Request: Send a blank email to php-qa+get-5440@lists.php.net to get a copy of this message
Hi, more important is, were the new extension included or not? If just the build old it may be an unwanted side effect. - Markus On Sun, May 19, 2002 at 04:12:35PM -0400, Deniz wrote : > System Linux 2.4.5 #4 Wed Jun 13 20:36:40 UTC 2001 i586 > Original configuration > Apache_1.3.24 (with openSSL and modssl) > php-4.2.0 > MySQL Ver 11.17 Distrib 3.23.49a > > This configuration is working fine since the original installation. > Php was configured with: > ./configure --with-mysql=/usr/local/mysql --with-xml --with-apache=../apache > _1.3.24 --enable-track-vars > > So, > I decided to enable sockets and add IMAP support > so I extracted the source and I built imap with > >make slx > > Until here everything worked and built totally fine without errors. > The problem started with my attempt to rebuild PHP > I am almost about to give up this whole thing. > > I tried acouple of things and they didn't work. And from the mailing lists > that I've read I guess the following should be the error proof one. (Which > unfortunately doesn't work for me I still get the original configuration > information with the phpinfo()) > > :stop Apache service > >/usr/local/apache/bin/apachectl stop > > :remove old lib file > >rm /usr/loca/apache/libexec/libphp4.so > > :go to source file directory > >cd /download/php-4.2.0 > > :run configure with new options > >./configure --with-mysql --with-xml --with-imap=/usr/local/imap-2001a/c-cli > ent --enable-sockets --enable-track-vars --with-apxs=/usr/local/apache/bin/a > pxs > > :No errors! So continue with make > >make clean > >make > >make install > > :everything finishes without errors, copy the new php.ini > >cp php.ini-dist /usr/local/lib/php.ini > > :run httpd -l to double check > /usr/local/apache/bin# ./httpd -l > Compiled-in modules: > http_core.c > mod_env.c > mod_log_config.c > mod_mime.c > mod_negotiation.c > mod_status.c > mod_include.c > mod_autoindex.c > mod_dir.c > mod_cgi.c > mod_asis.c > mod_imap.c > mod_actions.c > mod_userdir.c > mod_alias.c > mod_access.c > mod_auth.c > mod_so.c > mod_setenvif.c > mod_php4.c > suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec > > :It seems ok! > :Start apache service > /usr/local/apache/bin/apachectl startssl > > :It started successfully > > Now When I check with the phpinfo(), and I delete all browser cache files > bla bla bla, check with 3 different broswers (IE, Netscape, lynx) and > everytime I check I get the original installation information with the > previous "Build Date" something like this (Lynx output) > > PHP Version 4.2.0 > > System Linux marvin 2.4.5 #4 Wed Jun 13 20:36:40 UTC 2001 i586 > GenuineIntel > Build Date May 2 2002 16:53:30 > Configure Command './configure' '--with-mysql=/usr/local/mysql' > '--with-xml' '--with-apache=../apache_1.3.24' > '--enable-track-vars' > Server API Apache > Virtual Directory Support disabled > Configuration File (php.ini) Path /usr/local/lib/php.ini > Debug Build no > Thread Safety disabled > > Zend logo This program makes use of the Zend Scripting Language Engine: > Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend Technologies > ============================================================ > Please, any idea will be appreciated! > I am new to linux/unix environment so I am kinda stuck without any ideas. > > Thank you > > > > -- > PHP Quality Assurance Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php -- Please always Cc to me when replying to me on the lists. GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc --------------------------------------------------------- "I mean "When in doubt, blame mcrypt" is more often right than wrong :)" "Always right, never wrong :)" - Two PHP developers who want to remain unnamed

« previous php.qa (#5440) next »