php upgrading
| From: | Chris Hewitt | Date: | Thu, 21 Mar 2002 12:32:22 +0000 |
| Subject: | php upgrading | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6433@lists.php.net to get a copy of this message | ||
Robert,
I have not used --disable-static so my knowledge here may be running out. I'm posting this to the list as someone else may be able to help before I can come up with an answer.
Regards
Chris
Robert Abbate wrote:
Thanks for your suggestions. I did try to use with and without apxs, but still nothing. Check out the phpinfo on this: http://performancehosting.net/php.php It says it was compiled with "disable-static" which I assume means it's installed as a Shared Object. So, I don't know what to do here. Thanks Robert "Chris Hewitt" <g0pae@manordat.demon.co.uk> <mailto:g0pae@manordat.demon.co.uk> wrote in message news: <3C98FBB9.4010200@manordat.demon.co.uk> <mailto:3C98FBB9.4010200@manordat.demon.co.uk> ...Robert, I stand to be corrected, but the way I see it... You have compiled --with-apxs but the 4.0.6 version on your site was compiled without it. If your apache has mod_so (do a "httpd -l" tofindout) then if you put the entries into httpd.conf then I would have thought it would work. Compiled as the 4.0.6 was I think it is astaticmodule but --with-apache was not present so I'm not sure. Hmm. Not much help I'm afraid but it may give you some pointers. I'm not sure how the Apache-AdvancedExtraNet Server differs from the ordinary apache so there may be something there. Hope this helps (a bit). Regards Chris Robert Abbate wrote:Hi. I'm upgrading my Mandrake 8.1 box (which came with the standard 4.0.6 RPM distribution of PHP) to the new source distribution of PHP 4.1.2 When I do configure, make and make install, it seems to install w/o any problems, but it doesn't overwrite 4.0.6! I even tried uninstalling the PHP RPMs for 4.0.6, but that doesn't work either. Here is what I am doing: ./configure --with-apxs --disable-static --enable-pic --enable-inline-optim ization --prefix=/usr --with-config-file-path=/etc --enable-magic-quotes -- enable-debugger--enable-track-vars --enable-safe-mode --with-exec-dir=// usr// bin --with-regex=system --enable-sysvsem --with-mod_charset --with-mm --enab le-trans-sid --enable-yp --enable-ftp --with-xml --with-gettext --with-curl= /usr/bin/curl --enable-sockets --enable-shmop --with-png-dir=/usr/lib --wit h-tiff-dir=/usr/lib --with-imap --with-jpeg-dir=/usr/lib --with-postgresql - -with-openssl --with-gd --with-mhash --with-mcrypt --with-zlib-dir=/usr/loc al/lib --with-mysql here's the php page: http://performancehosting.net/php.php I assume that I should install it as a DSO and not static module. Should I change it to a static? Any suggestions on what to look for? Thanks, Robert