RE: [PHP] Upgrading PHP versions
You may be right, I keep thinking of the bugs that were dropped out of 6.0, like magic quotes and register globals. They're only deprecated in 5.3. bm -Original Message- From: David Stoltz [mailto:dsto...@shh.org] Sent: Friday, November 20, 2009 10:59 AM To: Bob McConnell; php-general@lists.php.net Subject: RE: [PHP] Upgrading PHP versions Bob - I checked the changelog - 99% of it are bug fixes I don't see anything about 5.2.x features not being available as you suggest. But thanks for the reply. -Original Message- From: Bob McConnell [mailto:r...@cbord.com] Sent: Friday, November 20, 2009 10:50 AM To: David Stoltz; php-general@lists.php.net Subject: RE: [PHP] Upgrading PHP versions Assumption 2 is invalid. You need to take a close look at the change log. Many "features" from 5.2 are no longer available and will break code that depends on them. Bob McConnell -Original Message- From: David Stoltz [mailto:dsto...@shh.org] Sent: Friday, November 20, 2009 10:50 AM To: php-general@lists.php.net Subject: [PHP] Upgrading PHP versions Hi, We are currently using PHP version 5.2.6. in production, and I'd like to upgrade to the latest 5.3.1 My Assumptions: - I can simply download the Windows binary file, and install it. - None of the 5.2.6 code will break Will there be a momentary interruption of web services during the install? Will the current PHP applications stop working during the upgrade? Thanks for any info. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Upgrading PHP versions
> We are currently using PHP version 5.2.6. in production, and I'd like to > upgrade to the latest 5.3.1 Before upgrading production, upgrade your staging server and do QA. Any big changes like this should be tested in staging before being pushed to production. Also take a look at http://php.net/ChangeLog-5.php to be sure you know what has changed between 5.2.6 and 5.3.1. > My Assumptions: > - I can simply download the Windows binary file, and install it. I don't use PHP on Windows, but I would never make this assumption. Things never seem to be as easy as I expect them to be. Try on a staging server before making a change like this in production. > - None of the 5.2.6 code will break That's a big assumption. The only way I know of to test it is running the code on a box with 5.3.1 and test it. > Will there be a momentary interruption of web services during the > install? Will the current PHP applications stop working during the > upgrade? I've never used IIS, so I may not be helpful here. If you're using Apache on Windows you'll need to restart Apache is generally a very fast operation. Brady -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Upgrading PHP versions
Bob - I checked the changelog - 99% of it are bug fixes I don't see anything about 5.2.x features not being available as you suggest. But thanks for the reply. -Original Message- From: Bob McConnell [mailto:r...@cbord.com] Sent: Friday, November 20, 2009 10:50 AM To: David Stoltz; php-general@lists.php.net Subject: RE: [PHP] Upgrading PHP versions Assumption 2 is invalid. You need to take a close look at the change log. Many "features" from 5.2 are no longer available and will break code that depends on them. Bob McConnell -Original Message- From: David Stoltz [mailto:dsto...@shh.org] Sent: Friday, November 20, 2009 10:50 AM To: php-general@lists.php.net Subject: [PHP] Upgrading PHP versions Hi, We are currently using PHP version 5.2.6. in production, and I'd like to upgrade to the latest 5.3.1 My Assumptions: - I can simply download the Windows binary file, and install it. - None of the 5.2.6 code will break Will there be a momentary interruption of web services during the install? Will the current PHP applications stop working during the upgrade? Thanks for any info. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Upgrading PHP versions
Assumption 2 is invalid. You need to take a close look at the change log. Many "features" from 5.2 are no longer available and will break code that depends on them. Bob McConnell -Original Message- From: David Stoltz [mailto:dsto...@shh.org] Sent: Friday, November 20, 2009 10:50 AM To: php-general@lists.php.net Subject: [PHP] Upgrading PHP versions Hi, We are currently using PHP version 5.2.6. in production, and I'd like to upgrade to the latest 5.3.1 My Assumptions: - I can simply download the Windows binary file, and install it. - None of the 5.2.6 code will break Will there be a momentary interruption of web services during the install? Will the current PHP applications stop working during the upgrade? Thanks for any info. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Upgrading PHP versions
Hi, We are currently using PHP version 5.2.6. in production, and I'd like to upgrade to the latest 5.3.1 My Assumptions: - I can simply download the Windows binary file, and install it. - None of the 5.2.6 code will break Will there be a momentary interruption of web services during the install? Will the current PHP applications stop working during the upgrade? Thanks for any info. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Upgrading PHP 4.2.3 to PHP 4.3.2
Hi Torgny & All, Thanks for all the responses & suggestions. Thanks TNP Professional Services ZUSTEK INDIA -Original Message- From: Torgny Bjers [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 16, 2005 6:51 PM To: T.N.Prasad Cc: php-general@lists.php.net Subject: Re: [PHP] Upgrading PHP 4.2.3 to PHP 4.3.2 T.N.Prasad wrote: >HI All, > >Our company servers are being upgraded from 4.2.3 to 4.3.2. > >Is there any special care that I should take (as far as my scripts are >concerned)? > >Plz help me. I'm new to PHP. > Hello, You don't have to worry at all. Nothing have changed between those versions that break compatibility with older scripts. If you were to downgrade from 4.3.2 to 4.2.3 instead, that would pose problems if you for instance were using internal functions such as file_get_contents() which appeared in 4.3.0. :) Regards, Torgny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Upgrading PHP 4.2.3 to PHP 4.3.2
T.N.Prasad wrote: HI All, Our company servers are being upgraded from 4.2.3 to 4.3.2. Is there any special care that I should take (as far as my scripts are concerned)? Plz help me. I'm new to PHP. Thanks TNP Professional Services ZUSTEK INDIA Just wondering, Why arent you upgrading to PHP 4.4 or PHP 5.0.4? Right now you are upgrading from a very old version to an old verion. Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Upgrading PHP 4.2.3 to PHP 4.3.2
Burhan Khalid wrote: Tim Burgan wrote: Can I extend this.. On a live server I have PHP 4.1. If I upgrade to PHP 5, is something likely to stop working? 99% yes. Especially if you really mean 4.1.0 -- that's quite old. I'd say 90% no :) Evert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Upgrading PHP 4.2.3 to PHP 4.3.2
Tim Burgan wrote: Can I extend this.. On a live server I have PHP 4.1. If I upgrade to PHP 5, is something likely to stop working? 99% yes. Especially if you really mean 4.1.0 -- that's quite old. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Upgrading PHP 4.2.3 to PHP 4.3.2
Can I extend this.. On a live server I have PHP 4.1. If I upgrade to PHP 5, is something likely to stop working? I've been putting off upgrading for months because of the unknown of something going wrong. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Upgrading PHP 4.2.3 to PHP 4.3.2
T.N.Prasad wrote: >HI All, > >Our company servers are being upgraded from 4.2.3 to 4.3.2. > >Is there any special care that I should take (as far as my scripts are >concerned)? > >Plz help me. I'm new to PHP. > Hello, You don't have to worry at all. Nothing have changed between those versions that break compatibility with older scripts. If you were to downgrade from 4.3.2 to 4.2.3 instead, that would pose problems if you for instance were using internal functions such as file_get_contents() which appeared in 4.3.0. :) Regards, Torgny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Upgrading PHP 4.2.3 to PHP 4.3.2
T.N.Prasad wrote: HI All, Our company servers are being upgraded from 4.2.3 to 4.3.2. Is there any special care that I should take (as far as my scripts are concerned)? Plz help me. I'm new to PHP. In theory, no. However, theory can get you into trouble. Check the change log, and if possible, install 4.3.2 on a non-production box to test your scripts there. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Upgrading PHP 4.2.3 to PHP 4.3.2
> -Original Message- > From: T.N.Prasad [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 16, 2005 9:00 AM > To: php-general@lists.php.net > Subject: [PHP] Upgrading PHP 4.2.3 to PHP 4.3.2 > Importance: High > > > HI All, > > Our company servers are being upgraded from 4.2.3 to 4.3.2. > > Is there any special care that I should take (as far as my scripts are > concerned)? > > Plz help me. I'm new to PHP. Greetings, You are the only one who knows how your scripts are written, so you will have to answer that question for yourself. I don't know of any specific problems between those versions, but you can see ALL the things that have changed between them here: http://www.php.net/ChangeLog-4.php Cheers! JM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Upgrading PHP 4.2.3 to PHP 4.3.2
HI All, Our company servers are being upgraded from 4.2.3 to 4.3.2. Is there any special care that I should take (as far as my scripts are concerned)? Plz help me. I'm new to PHP. Thanks TNP Professional Services ZUSTEK INDIA
Re: [PHP] Upgrading PHP 4.2.2 on Red Hat 9
Richard Lynch wrote: James Butler wrote: My main issue is that libdb-4.0.so is needed by existing installations of curl, python, pam, cyrus, webalizer, db4, perl, postfix, sendmail, perl-DB_File and on and on. And that's not even close to the end of the old program dependencies list. Upgrading via rpm is going to be a humongous pain if I have to upgrade every program listed in the dependencies (rpm -Uvh --test), even if I can figure out which order they need to be done in. One of the things I liked about RH9 was they FINALLY got up2date to actually work. Or, at least, that was the first time *I* was able to just use it and it worked. RH8 was only so-so, for awhile, before up2date got too confused to be any use. I dunno if that will get you the versions you want, or if it's any more or less secure than what you've got, but at least it makes the nightmare of RPM dependencies go away. My RH9 box is behind a firewall, locked in a cabinet, and has no untrusted users, so is less at-risk than most... I have one word to say in regard to redhat: DEBIAN. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Upgrading PHP 4.2.2 on Red Hat 9
James Butler wrote: > My main issue is that libdb-4.0.so is needed by existing installations > of curl, python, pam, cyrus, webalizer, db4, perl, postfix, sendmail, > perl-DB_File and on and on. And that's not even close to the end of the > old program dependencies list. > > Upgrading via rpm is going to be a humongous pain if I have to upgrade > every program listed in the dependencies (rpm -Uvh --test), even if I > can figure out which order they need to be done in. One of the things I liked about RH9 was they FINALLY got up2date to actually work. Or, at least, that was the first time *I* was able to just use it and it worked. RH8 was only so-so, for awhile, before up2date got too confused to be any use. I dunno if that will get you the versions you want, or if it's any more or less secure than what you've got, but at least it makes the nightmare of RPM dependencies go away. My RH9 box is behind a firewall, locked in a cabinet, and has no untrusted users, so is less at-risk than most... -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Upgrading PHP 4.2.2 on Red Hat 9
On Thu, 2005-01-20 at 18:12, James Butler wrote: > Greetings, > > Has anyone successfully upgraded a PHP 4.2.2 installation on a > Red Hat 9 machine to a more secure version? > > I just want any more-secure version of PHP than 4.2.2, but it's looking > like I'll have to use Fedora or Gentoo or Mandrake or something in order > Thanks in advance for ANY help at all. > Redhat used to do a pretty good job of backporting security issues and I am assuming that fedoralegacy.org is still doing it. There are php rpms out there dated October so I it looks like to me they are trying to keep up. http://download.fedoralegacy.org/redhat/9/updates/i386/ you might take a look at the changelog to see if the fix you are worried about is there. Bret -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Upgrading PHP 4.2.2 on Red Hat 9
Greetings, Has anyone successfully upgraded a PHP 4.2.2 installation on a Red Hat 9 machine to a more secure version? I just want any more-secure version of PHP than 4.2.2, but it's looking like I'll have to use Fedora or Gentoo or Mandrake or something in order to be successful. Of course, this means arranging for a different host/dedicated server ... My main issue is that libdb-4.0.so is needed by existing installations of curl, python, pam, cyrus, webalizer, db4, perl, postfix, sendmail, perl-DB_File and on and on. And that's not even close to the end of the old program dependencies list. Upgrading via rpm is going to be a humongous pain if I have to upgrade every program listed in the dependencies (rpm -Uvh --test), even if I can figure out which order they need to be done in. Building from source kills my httpd process so that it cannot be restarted. Last two times I tried that I had to restore from my Apache backup files, clean out the more recent PHP install and reinstall v.4.2.2 in order to get everything up and running again. And that was an attempt to get up to 4.3.10! Forget about v.5.0.3! PHP.net says to "be sure to upgrade" ... but there's no indication of what that means, or how to do it, or in what order all of the dependent programs should be upgraded (if neccessary). I can find no step-by-step upgrading instructions in any PHP or Linux newsgroup, forum, or doc. There's no 4.2.2 to 4.3.x patch. I understand that there are manymany upgrade details that are machine-and-OS-dependent, but I could use ANY kind of help with this at all besides "be sure to upgrade". So I come here. (php.install hasn't had an entry for a long time, and php.migration ended in 2001) I'll post data, config settings, whatever you think might be helpful. I'm hoping for someone to say "First, do this ...; then, do this ...", if at all possible. I'll even take "Here's how I did it ..." Thanks in advance for ANY help at all. James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Upgrading PHP 4.1.2 to Current
I am pretty new to Linux and I was wondering if someone can point me in the right direction on upgrading packages. Right now, I am looking to upgrade PHP but actually I would just like to understand how to do any upgrades. Do I have to recompile??? If so, how do I do this? Thanks for any help!
[PHP] Upgrading PHP windows binaries
Hi, I want to see if I can use PHP 4.3.0RC1, and downloaded the windows binaries. Currently I'm using PHP 4.2.3 on a Win NT and XP OS, I've made the installation with the phpdev package from firepages. My question. What files do I have to change so I don't have to reinstall my Apache and Mysql? Is it just copying the Files from the Win PHP 4.3 ORC1 to my current php directory, and then altering the php.ini file or are there other files (such as httpd.conf) that should be reconfigured? If so, which files? Thanks! Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Upgrading PHP on Redhat
- Original Message - From: "David Yee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, September 08, 2002 10:59 PM Subject: [PHP] Upgrading PHP on Redhat > Hi all. What's the correct procedure to upgrade PHP (in this case 4.0.6) on > a Red Hat system? Usually I just get the PHP tarball compile it myself but > for this particular machine I just want to upgrade the Redhat PHP that's on > the system. As you guys know Redhat puts its PHP (and Apache) files in > different locations- e.g. php.ini is in /etc. I looked for some RPMs but I > kept getting failed dependencies when trying to install them- e.g.: > > # rpm -Uvh php-4.1.2-7.2.4.i386.rpm > error: failed dependencies: > php = 4.0.6-15 is needed by php-manual-4.0.6-15 > php = 4.0.6-15 is needed by php-imap-4.0.6-15 > php = 4.0.6-15 is needed by php-ldap-4.0.6-15 > php = 4.0.6-15 is needed by php-mysql-4.0.6-15 > php = 4.0.6-15 is needed by php-odbc-4.0.6-15 > php = 4.0.6-15 is needed by php-pgsql-4.0.6-15 > > I'm not an expert in using rpm so I'm probably doing something completely > wrong??? > > David > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > This is a small script with step by step guide to recompile php from php source tarball, to be full suitable for your distribution (RH 7.3 in my case) cut here --- # config_php.sh # This is simple 11 step guide to recompile PHP from tarball,suitable # for your distro (RedHat 7.3 im my case, users of other distributions/versions should follow steps in comment and create your own script... ) # # (assuming, you have php tarball installed, of course,and that you read the small notes on the end of this file) # # 1: Get you PHP configuration Create script, that calls phpinfo() and see its output # in the 3rd line you could see "Configure command". Copy it all down to your clipboard # 2: create shell script config_php.sh, insert there content of prevoiusly stored clipboard, # remove all apostrofs ( ' ), make sure, that everything is on one single line. # (Yes, this is the way, how this script was created) # 3: get your distro CDs, ie that contain RPMs # 4: copy the script config_php.sh in the top level of your php sourcecode tree and run it. # 5: If you see any error like "extension blabla not found" you have to chose if you need it or not # 6: if you need it, just get your distros CD and instal blablabla-devel.versionnumer.machine.rpm # Maybe you should install some other rpms too, to solve the dependencies, # probably it take a lot of disk space # 7: if you don't need the particular extension , edit your config_php.sh script , #deleting from ./configure line "--with-blabla=something" and run your script config_php.sh again # 8: once script ended with no errors, you can do a standard MAKE procedure # 9: make # 10: make install # 11 restart your system or just the affected things (db engines, web servers etc) # and finito. This is called ZAVES (zadny velky srani) in czech # # A small note 1. Sometimes make_install may not overwrite your old extensions and create other directory # whwere extensions lives. You must copy the extensions where they should be manually . ie # /usr/lib/2002xxx contain something like extension_name.so and all content of that directory # MUST be copied by hand to /usr/lib/php4 # A small note 2: You MUST have apache-devel installed to have core feature - "apxs", # that allow you to recompile PHP (and any other apache modules) without recompilling apache itself echo "Redhat PHP configconfig " ./configure i386-redhat-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --included ir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localsta tedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir =/usr/share/info --prefix=/usr --with-config-file-path=/etc --enable-f orce-cgi-redirect --disable-debug --enable-dbg=shared --with-dbg-profi ler --enable-pic --disable-rpath --enable-inline-optimization --with -bz2 --with-db3 --with-curl --with-dom=/usr --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --with-gd --enable-gd- native-ttf --with-ttf --with-gdbm --with-gettext --with-ncurses -- with-gmp --with-iconv --with-jpeg-dir=/usr --with-mm --with-openssl --with-png --with-pspell --with-regex=system --with-xml --with-exp at-dir=/usr --with-zlib --with-layout=GNU --enable-bcmath --enable-d ebugger --enable-exif --enable-ftp --enable-magic-quotes --enable-sa fe-mode --enable-sockets --enable-s
Re: [PHP] Upgrading PHP on Redhat
Hi David, you should start by checking your current php instalation: # rpm - qa | grep php This will show you all packages which contains "php". It will be something like following: php-4.1.2-7.2.4 php-manual-4.0.6-15 php-imap-4.0.6-15 php-ldap-4.0.6-15 php-mysql-4.0.6-15 php-odbc-4.0.6-15 php-pgsql-4.0.6-15 Now you know what packages you have installed on your system. Now go to Red Hat web site to find all this packages - you should to upgrade all of them. If you have Red Hat Linux 7.2, go to http://rhn.redhat.com/errata/RHSA-2002-102.html and find all of this packages and download them. Be sure you are downloading rpms for your version (ie. 7.2). If you will have all these files downloaded, write the folowwing rpm command whitch will update all of packages: # rpm -Uv php-4.1.2-7.2.4.i386.rpm php-manual-4.1.2-7.2.4.i386.rpm \ php-imap-4.1.2-7.2.4.i386.rpm php-ldap-4.1.2-7.2.4.i386.rpm \ php-mysql-4.1.2-7.2.4.i386.rpm php-odbc-4.1.2-7.2.4.i386.rpm \ php-pgsql-4.1.2-7.2.4.i386.rpm All the packages are on the one line. Something like following: # rpm - UV package_1 package_2 ... packege_n By this way you will update all the packages and there shouldn't be any "dependencies" error. If yes, please let me know. I'm not an expert for Red Hat Linux but I am yousind this distribution and I am doing it by this way... and it's works for me. Best regards, Jan - Original Message - From: "David Yee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, September 08, 2002 10:59 PM Subject: [PHP] Upgrading PHP on Redhat > Hi all. What's the correct procedure to upgrade PHP (in this case 4.0.6) on > a Red Hat system? Usually I just get the PHP tarball compile it myself but > for this particular machine I just want to upgrade the Redhat PHP that's on > the system. As you guys know Redhat puts its PHP (and Apache) files in > different locations- e.g. php.ini is in /etc. I looked for some RPMs but I > kept getting failed dependencies when trying to install them- e.g.: > > # rpm -Uvh php-4.1.2-7.2.4.i386.rpm > error: failed dependencies: > php = 4.0.6-15 is needed by php-manual-4.0.6-15 > php = 4.0.6-15 is needed by php-imap-4.0.6-15 > php = 4.0.6-15 is needed by php-ldap-4.0.6-15 > php = 4.0.6-15 is needed by php-mysql-4.0.6-15 > php = 4.0.6-15 is needed by php-odbc-4.0.6-15 > php = 4.0.6-15 is needed by php-pgsql-4.0.6-15 > > I'm not an expert in using rpm so I'm probably doing something completely > wrong??? > > David > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Upgrading PHP on Redhat
Hi all. What's the correct procedure to upgrade PHP (in this case 4.0.6) on a Red Hat system? Usually I just get the PHP tarball compile it myself but for this particular machine I just want to upgrade the Redhat PHP that's on the system. As you guys know Redhat puts its PHP (and Apache) files in different locations- e.g. php.ini is in /etc. I looked for some RPMs but I kept getting failed dependencies when trying to install them- e.g.: # rpm -Uvh php-4.1.2-7.2.4.i386.rpm error: failed dependencies: php = 4.0.6-15 is needed by php-manual-4.0.6-15 php = 4.0.6-15 is needed by php-imap-4.0.6-15 php = 4.0.6-15 is needed by php-ldap-4.0.6-15 php = 4.0.6-15 is needed by php-mysql-4.0.6-15 php = 4.0.6-15 is needed by php-odbc-4.0.6-15 php = 4.0.6-15 is needed by php-pgsql-4.0.6-15 I'm not an expert in using rpm so I'm probably doing something completely wrong??? David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] upgrading php...
PS> Currently I'm using php 4.0.5 on Win98/apachedo you think it's worth PS> my time and trouble to upgrade to a newer version of PHP? yes. It should take about 15 minutes, unless your download connection is slow. :) PS> Is this hard to do? No. Download zip file. Extract contents. Move appropriate files. Make changes to php.ini. Make changes (if necessary for path names) to httpd.conf. Restart apache. "Upgrade" on windows means "delete old files and install new ones". Basically. It's all in the manual. Or, I have tutorials here: http://www.thickbook.com/extra/index.html?t=in There are other installation tutorials in many places. - Julie --> Julie Meloni --> [EMAIL PROTECTED] --> www.thickbook.com Find "Sams Teach Yourself MySQL in 24 Hours" at http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] upgrading php...
I think there were security updates in the newer version that you'll benefit from, so it's worth your time. Check the README file for the new download. There are notes on upgrading. -Original Message- Currently I'm using php 4.0.5 on Win98/apachedo you think it's worth my time and trouble to upgrade to a newer version of PHP? Is this hard to do? Any links to info on how to upgrade ?? Thanks! This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message. Thank you very much. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] upgrading php...
On Wednesday 03 July 2002 02:10, Phil Schwarzmann wrote: > Currently I'm using php 4.0.5 on Win98/apachedo you think it's worth I was going to say php 4.0.5 has a vulnerability, but then you're using Win98 :) > my time and trouble to upgrade to a newer version of PHP? Before you upgrade to a newer version of PHP, DO read the release notes. > Is this hard to do? Any links to info on how to upgrade ?? It shouldn't be hard, with Windows, I should imagine it's just a case of download, then click, click, click ... -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Three o'clock in the afternoon is always just a little too late or a little too early for anything you want to do. -- Jean-Paul Sartre */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] upgrading php...
Takes the time of the download + 5minutes Download the full version of php... extract the zip file to where php is currently... then copy the new versions of php.ini and php4ts.dll into your c:\windows\ directory... Then make any minor changes you need to to the php.ini and voila all done (don't forget to restart apache for good measures) Andrew - Original Message - From: "Phil Schwarzmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 02, 2002 7:10 PM Subject: [PHP] upgrading php... > Currently I'm using php 4.0.5 on Win98/apachedo you think it's worth > my time and trouble to upgrade to a newer version of PHP? Is this hard > to do? Any links to info on how to upgrade ?? > > Thanks! > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] upgrading php...
Currently I'm using php 4.0.5 on Win98/apachedo you think it's worth my time and trouble to upgrade to a newer version of PHP? Is this hard to do? Any links to info on how to upgrade ?? Thanks!
Re: [PHP] Upgrading PHP
One issue I've come across is if you have a site up and running, make php and install php and make and install apache, php won't be upgraded. You need to stop apache before you install the new apache so. after you make apache, stop the running apache, install apache, and then start apache up again. On Thu, 2002-02-28 at 16:32, Frank Miller wrote: > All, > I have a question about upgrading php. With the CERT > advisory coming yesterday and the quick response from the PHP website I > thought today would be a good day to upgrade my PHP. I initially > installed the php 4.03 src in /usr/src and built it as an apache module > DSO. To upgrade I deleted the old source still in /usr/src and untarred php > 4.1.2 . I then configured it and ran make and make install. Everything went > well until I run the phpinfo() test script I made, I did stop and start > Apache. It still shows me as using PHP 4.0.3 . Can someone tell me what I > need to do to get rid of the older version of PHP and upgrade to the new? > > Thanks in advance - Frank > > Frank Miller > Computer Specialist and Webmaster > Technology and Distance Education > Texas A&M University-Texarkana > 2600 North Robison Rd > Texarkana, Texas 75501 > > Phone: 903-223-3156 > Fax: 903-223-3139 > Office: 165 > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.325 / Virus Database: 182 - Release Date: 2/19/2002 > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com 2002 EPpy Award, Best Online U.S. Newspaper -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Upgrading PHP
Yes, you have to re-compile php because php compile and install a module under apache_1.3.xx/src/modules > Thanks for the reply. I have another question. If I have to recompile > Apache can I take this opportunity to upgrade it as well. I'm using 1.3.14 > but would like to upgrade to a more recent version. Also, I remember when > I compiled PHP the first time I had to have the Apache source and when I > compiled PHP one of the configure parameters was > --with-apache=../apache1.3.14 . Since I didn't do that for this recent > compile of PHP will I have to compile PHP over again? > > TIA - Frank > > At 03:37 PM 2/28/2002, you wrote: > > >Frank, > > > >Using PHP as an Apache module requires you recompile apache as a whole. > >It's still using the php4.0.3 module, and when you recompile with the new > >php it will register the 4.1.2 module. > > > >Mike > >- Original Message - > >From: "Frank Miller" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Thursday, February 28, 2002 4:32 PM > >Subject: [PHP] Upgrading PHP > > > > > > > All, > > > I have a question about upgrading php. With the CERT > > > advisory coming yesterday and the quick response from the PHP website I > > > thought today would be a good day to upgrade my PHP. I initially > > > installed the php 4.03 src in /usr/src and built it as an apache module > > > DSO. To upgrade I deleted the old source still in /usr/src and untarred > >php > > > 4.1.2 . I then configured it and ran make and make install. Everything > >went > > > well until I run the phpinfo() test script I made, I did stop and start > > > Apache. It still shows me as using PHP 4.0.3 . Can someone tell me what I > > > need to do to get rid of the older version of PHP and upgrade to the new? > > > > > > Thanks in advance - Frank > > > > > > Frank Miller > > > Computer Specialist and Webmaster > > > Technology and Distance Education > > > Texas A&M University-Texarkana > > > 2600 North Robison Rd > > > Texarkana, Texas 75501 > > > > > > Phone: 903-223-3156 > > > Fax: 903-223-3139 > > > Office: 165 > > > > > > > > >--- - > > > > > > > > > > > > --- > > > Outgoing mail is certified Virus Free. > > > Checked by AVG anti-virus system (http://www.grisoft.com). > > > Version: 6.0.325 / Virus Database: 182 - Release Date: 2/19/2002 > > > > > > > > > > > >--- - > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > >--- > >Incoming mail is certified Virus Free. > >Checked by AVG anti-virus system (http://www.grisoft.com). > >Version: 6.0.325 / Virus Database: 182 - Release Date: 2/19/2002 > > Frank Miller > Computer Specialist and Webmaster > Technology and Distance Education > Texas A&M University-Texarkana > 2600 North Robison Rd > Texarkana, Texas 75501 > > Phone: 903-223-3156 > Fax: 903-223-3139 > Office: 165 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.325 / Virus Database: 182 - Release Date: 2/19/2002 > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Upgrading PHP
Frank Miller wrote: > Thanks for the reply. I have another question. If I have to recompile > Apache can I take this opportunity to upgrade it as well. I'm using > 1.3.14 but would like to upgrade to a more recent version. Also, I > remember when I compiled PHP the first time I had to have the Apache > source and when I compiled PHP one of the configure parameters was > --with-apache=../apache1.3.14 . Since I didn't do that for this recent > compile of PHP will I have to compile PHP over again? > > TIA - Frank > If you didn't put the '--with-apache' in, PHP compiled itself as a CGI binary executable. Yes, you'll need to recompile PHP over again. You may want to take this opportunity to investigate Apache's DSO system (dynamic shared object). You can recreate a new PHP 'module' for Apache without having to recompile Apache again in the future. It's apparently a small performance hit, but I've not been able to notice any sizable decrease in performance on production servers we work with using the DSO system. Hope that helps. -- Michael Kimsal http://www.phphelpdesk.com Taking the ? out of http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Upgrading PHP
Thanks for the reply. I have another question. If I have to recompile Apache can I take this opportunity to upgrade it as well. I'm using 1.3.14 but would like to upgrade to a more recent version. Also, I remember when I compiled PHP the first time I had to have the Apache source and when I compiled PHP one of the configure parameters was --with-apache=../apache1.3.14 . Since I didn't do that for this recent compile of PHP will I have to compile PHP over again? TIA - Frank At 03:37 PM 2/28/2002, you wrote: >Frank, > >Using PHP as an Apache module requires you recompile apache as a whole. >It's still using the php4.0.3 module, and when you recompile with the new >php it will register the 4.1.2 module. > >Mike >- Original Message - >From: "Frank Miller" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Thursday, February 28, 2002 4:32 PM >Subject: [PHP] Upgrading PHP > > > > All, > > I have a question about upgrading php. With the CERT > > advisory coming yesterday and the quick response from the PHP website I > > thought today would be a good day to upgrade my PHP. I initially > > installed the php 4.03 src in /usr/src and built it as an apache module > > DSO. To upgrade I deleted the old source still in /usr/src and untarred >php > > 4.1.2 . I then configured it and ran make and make install. Everything >went > > well until I run the phpinfo() test script I made, I did stop and start > > Apache. It still shows me as using PHP 4.0.3 . Can someone tell me what I > > need to do to get rid of the older version of PHP and upgrade to the new? > > > > Thanks in advance - Frank > > > > Frank Miller > > Computer Specialist and Webmaster > > Technology and Distance Education > > Texas A&M University-Texarkana > > 2600 North Robison Rd > > Texarkana, Texas 75501 > > > > Phone: 903-223-3156 > > Fax: 903-223-3139 > > Office: 165 > > > > > > > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.325 / Virus Database: 182 - Release Date: 2/19/2002 > > > > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.325 / Virus Database: 182 - Release Date: 2/19/2002 Frank Miller Computer Specialist and Webmaster Technology and Distance Education Texas A&M University-Texarkana 2600 North Robison Rd Texarkana, Texas 75501 Phone: 903-223-3156 Fax: 903-223-3139 Office: 165 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.325 / Virus Database: 182 - Release Date: 2/19/2002 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Upgrading PHP
All, I have a question about upgrading php. With the CERT advisory coming yesterday and the quick response from the PHP website I thought today would be a good day to upgrade my PHP. I initially installed the php 4.03 src in /usr/src and built it as an apache module DSO. To upgrade I deleted the old source still in /usr/src and untarred php 4.1.2 . I then configured it and ran make and make install. Everything went well until I run the phpinfo() test script I made, I did stop and start Apache. It still shows me as using PHP 4.0.3 . Can someone tell me what I need to do to get rid of the older version of PHP and upgrade to the new? Thanks in advance - Frank Frank Miller Computer Specialist and Webmaster Technology and Distance Education Texas A&M University-Texarkana 2600 North Robison Rd Texarkana, Texas 75501 Phone: 903-223-3156 Fax: 903-223-3139 Office: 165 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.325 / Virus Database: 182 - Release Date: 2/19/2002 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Upgrading PHP
Does anyone know of instructions on upgrading PHP? J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]