[PHP] Upgrading PHP versions

2009-11-20 Thread David Stoltz
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 versions

2009-11-20 Thread Bob McConnell
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

2009-11-20 Thread David Stoltz
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

2009-11-20 Thread Brady Mitchell
 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

2009-11-20 Thread Bob McConnell
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



[PHP] Upgrading to PHP5.2.x

2009-08-11 Thread Alberto García Gómez
Dear Fellows:

I want ot upgrade my PHP from 5.1.x to 5.2.x. I want to do using rpm, but any 
time that I going to upgrade the rpm request me more dependencies.

How can I configure my rpm (or other command) to automaticly satisfy my 
dependencies.



Saludos Fraternales
_
Atte.
Alberto García Gómez M:.M:.
Administrador de Redes/Webmaster
IPI Carlos Marx, Matanzas. Cuba.

[PHP] Upgrading from PHP 4 to PHP 5

2006-02-15 Thread Gustafson, Tim
Hello everyone!

I have a very active Apache/PHP 4 server right now that I would like to upgrade 
to PHP 5.  Can anyone give me any personal experiences as far as upgrading to 
the new version goes?  I looked through the upgrade FAQ, and none of the issues 
listed there seem to apply to me.  What I'm looking for really is if anyone has 
come across any SNAFU's that I should know about beforehand.

Thanks!

Tim Gustafson
MEI Technology Consulting, Inc
[EMAIL PROTECTED]
(516) 379-0001 Office
(516) 908-4185 Fax
http://www.meitech.com/ 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Upgrading to 4.4.2

2006-01-22 Thread [EMAIL PROTECTED]
Hello


I've started work for a client who has their own server running PHP 4.1.1.
If I upgrade them to PHP 4.4.2, will there be any issues I'd need to
look out for?

Is there a general process (or checklist) I should follow when
upgrading PHP versions to find where potential the may be potential
code problems?


Thank you for your assistance

Tim

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Upgrading to 4.4.2

2006-01-22 Thread [EMAIL PROTECTED]
Hi Amol,

  On 1/23/06, Amol Hatwar [EMAIL PROTECTED] wrote:
  Just make sure a phpinfo() before and after the upgrade match :)

That _just_ crossed my mind! This will help in making sure I setup all
the settings correctly.

Thanks
Tim

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Upgrading on RH ES3

2005-12-02 Thread Jeff McKeon
I've got a server with RedHat ES3 running.  It has PHP 4.3.2 installed
but for an application I want to install I need a min of 4.3.9.  This
server also runs apache2.0.  

I can't find RPMs for RH ES3 so I downloaded the source for PHP4.4.1
figuring I would just compile myself.  Problem is, the INSTALL file
gives instructions based on the idea that you don't already have Apache2
or an earlier ver of PHP Installed already.  Since Apache2 was installed
via RPM originally the INSTALL instruction for PHP with Apache2 prob
won't work.

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql

It's the:

--with-apxs2=/usr/local/apache2/bin/apxs

Switch that has got me scratching my head.  /usr/local/apache2/ doesn't
exist and I can't find apxs anywhere on the sys.

Can I just configure with ./configure --with-mysql??

Thanks,

Jeff

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Upgrading on RH ES3

2005-12-02 Thread Kristen G. Thorson

Jeff McKeon wrote:


I've got a server with RedHat ES3 running.  It has PHP 4.3.2 installed
but for an application I want to install I need a min of 4.3.9.  This
server also runs apache2.0.  


I can't find RPMs for RH ES3 so I downloaded the source for PHP4.4.1
figuring I would just compile myself.  Problem is, the INSTALL file
gives instructions based on the idea that you don't already have Apache2
or an earlier ver of PHP Installed already.  Since Apache2 was installed
via RPM originally the INSTALL instruction for PHP with Apache2 prob
won't work.

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql

It's the:

--with-apxs2=/usr/local/apache2/bin/apxs

Switch that has got me scratching my head.  /usr/local/apache2/ doesn't
exist and I can't find apxs anywhere on the sys.

Can I just configure with ./configure --with-mysql??

Thanks,

Jeff

 



I believe you need the httpd-devel rpm to get apxs2.


kgt

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Upgrading on RH ES3

2005-12-02 Thread Jeff McKeon
 -Original Message-
 From: Kristen G. Thorson [mailto:[EMAIL PROTECTED]
 Sent: Friday, December 02, 2005 14:50
 To: Jeff McKeon
 Cc: php
 Subject: Re: [PHP] Upgrading on RH ES3
 
 
 Jeff McKeon wrote:
 
 I've got a server with RedHat ES3 running.  It has PHP 4.3.2
 installed
 but for an application I want to install I need a min of
 4.3.9.  This
 server also runs apache2.0.
 
 I can't find RPMs for RH ES3 so I downloaded the source for PHP4.4.1
 figuring I would just compile myself.  Problem is, the INSTALL file 
 gives instructions based on the idea that you don't already have 
 Apache2 or an earlier ver of PHP Installed already.  Since 
 Apache2 was
 installed via RPM originally the INSTALL instruction for PHP with
 Apache2 prob won't work.
 
 ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
 
 It's the:
 
 --with-apxs2=/usr/local/apache2/bin/apxs
 
 Switch that has got me scratching my head.
 /usr/local/apache2/ doesn't
 exist and I can't find apxs anywhere on the sys.
 
 Can I just configure with ./configure --with-mysql??
 
 Thanks,
 
 Jeff
 
   
 
 
 I believe you need the httpd-devel rpm to get apxs2.
 
 
 kgt
 

Interesting.  Would the current ver of php run if I didn't have
httpd-devel installed?  What exactly does the switch
--with-apxs2=/usr/local/apache2/bin/apxs do?

Currently PHP 4.3.2 runs find on this system. 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Upgrading on RH ES3 [SOLVED]

2005-12-02 Thread Jeff McKeon
 -Original Message-
 From: Jeff McKeon 
 Sent: Friday, December 02, 2005 15:18
 To: php
 Subject: RE: [PHP] Upgrading on RH ES3
 
 
  -Original Message-
  From: Kristen G. Thorson [mailto:[EMAIL PROTECTED]
  Sent: Friday, December 02, 2005 14:50
  To: Jeff McKeon
  Cc: php
  Subject: Re: [PHP] Upgrading on RH ES3
  
  
  Jeff McKeon wrote:
  
  I've got a server with RedHat ES3 running.  It has PHP 4.3.2
  installed
  but for an application I want to install I need a min of
  4.3.9.  This
  server also runs apache2.0.
  
  I can't find RPMs for RH ES3 so I downloaded the source 
 for PHP4.4.1 
  figuring I would just compile myself.  Problem is, the 
 INSTALL file 
  gives instructions based on the idea that you don't already have 
  Apache2 or an earlier ver of PHP Installed already.  Since
  Apache2 was
  installed via RPM originally the INSTALL instruction for PHP with 
  Apache2 prob won't work.
  
  ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
  
  It's the:
  
  --with-apxs2=/usr/local/apache2/bin/apxs
  
  Switch that has got me scratching my head.
  /usr/local/apache2/ doesn't
  exist and I can't find apxs anywhere on the sys.
  
  Can I just configure with ./configure --with-mysql??
  
  Thanks,
  
  Jeff
  

  
  
  I believe you need the httpd-devel rpm to get apxs2.
  
  
  kgt
  
 
 Interesting.  Would the current ver of php run if I didn't 
 have httpd-devel installed?  What exactly does the switch 
 --with-apxs2=/usr/local/apache2/bin/apxs do?
 
 Currently PHP 4.3.2 runs find on this system. 
 
 -- 

Kristin was correct, I needed to install the rpm for httpd-devel.

Thanks Kristin!

-Jeff

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Upgrading on RH ES3

2005-12-02 Thread John Nichel

Jeff McKeon wrote:

-Original Message-
From: Kristen G. Thorson [mailto:[EMAIL PROTECTED]
Sent: Friday, December 02, 2005 14:50
To: Jeff McKeon
Cc: php
Subject: Re: [PHP] Upgrading on RH ES3


Jeff McKeon wrote:



I've got a server with RedHat ES3 running.  It has PHP 4.3.2


installed


but for an application I want to install I need a min of


4.3.9.  This


server also runs apache2.0.

I can't find RPMs for RH ES3 so I downloaded the source for PHP4.4.1
figuring I would just compile myself.  Problem is, the INSTALL file 
gives instructions based on the idea that you don't already have 
Apache2 or an earlier ver of PHP Installed already.  Since 


Apache2 was


installed via RPM originally the INSTALL instruction for PHP with
Apache2 prob won't work.

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql

It's the:

--with-apxs2=/usr/local/apache2/bin/apxs

Switch that has got me scratching my head.


/usr/local/apache2/ doesn't


exist and I can't find apxs anywhere on the sys.

Can I just configure with ./configure --with-mysql??

Thanks,

Jeff





I believe you need the httpd-devel rpm to get apxs2.


kgt




Interesting.  Would the current ver of php run if I didn't have
httpd-devel installed?  What exactly does the switch
--with-apxs2=/usr/local/apache2/bin/apxs do?

snip

This allows you to install php (as well as other modules) as dynamic 
modules vs. as a CGI or having to recompile Apache each time you want to 
upgrade something plugged into it.


/snip
Currently PHP 4.3.2 runs find on this system. 


It is either running as a CGI or was compiled in with Apache.

--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
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 on RH ES3

2005-12-02 Thread Rick Emery

Quoting Jeff McKeon [EMAIL PROTECTED]:


-Original Message-
From: Kristen G. Thorson [mailto:[EMAIL PROTECTED]
Sent: Friday, December 02, 2005 14:50
To: Jeff McKeon
Cc: php
Subject: Re: [PHP] Upgrading on RH ES3


Jeff McKeon wrote:

I've got a server with RedHat ES3 running.  It has PHP 4.3.2
installed
but for an application I want to install I need a min of
4.3.9.  This
server also runs apache2.0.

I can't find RPMs for RH ES3 so I downloaded the source for PHP4.4.1
figuring I would just compile myself.  Problem is, the INSTALL file
gives instructions based on the idea that you don't already have
Apache2 or an earlier ver of PHP Installed already.  Since
Apache2 was
installed via RPM originally the INSTALL instruction for PHP with
Apache2 prob won't work.

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql

It's the:

--with-apxs2=/usr/local/apache2/bin/apxs

Switch that has got me scratching my head.
/usr/local/apache2/ doesn't
exist and I can't find apxs anywhere on the sys.

Can I just configure with ./configure --with-mysql??

Thanks,

Jeff




I believe you need the httpd-devel rpm to get apxs2.


kgt



Interesting.  Would the current ver of php run if I didn't have
httpd-devel installed?  What exactly does the switch
--with-apxs2=/usr/local/apache2/bin/apxs do?


If I'm not mistaken (and I very easily could be), apxs is used to 
create the php module for apache. Red Hat/Fedora provide a mod_php rpm, 
and your older version may have had that rpm installed; thus, apxs (and 
the httpd-devel rpm) was not needed on your system to build the module.


Rick
--
Rick Emery

When once you have tasted flight, you will forever walk the Earth
 with your eyes turned skyward, for there you have been, and there
 you will always long to return
  -- Leonardo Da Vinci

--
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

2005-08-17 Thread T.N.Prasad
 
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



[PHP] Upgrading PHP 4.2.3 to PHP 4.3.2

2005-08-16 Thread T.N.Prasad
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.3 to PHP 4.3.2

2005-08-16 Thread Jim Moseby
 -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



Re: [PHP] Upgrading PHP 4.2.3 to PHP 4.3.2

2005-08-16 Thread John Nichel

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

2005-08-16 Thread Torgny Bjers
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

2005-08-16 Thread Tim Burgan

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

2005-08-16 Thread Burhan Khalid

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

2005-08-16 Thread Evert | Rooftop

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

2005-08-16 Thread Evert | Rooftop

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



[PHP] upgrading to php 4.3.11 gets me No input file specified

2005-04-11 Thread Ray
upgrading from 4.3.10 - 4.3.11
test script: ? phpinfo(); ?
OS: Win2000
Server: Website 3.5 
Server API: isapi
php folder C:\php
path includes c:\php
PHPRC = c:\php
C:\WINNT doesn't have any files with php in their name.

installed 4.3.11 by
renamed c:\php to php-4.3.10
unzipped the 4.3.11 file
renamed the 4.3.11 folder to php
copied php-4.3.10\php.ini to c:\php
restarted WebSite
opened up http://server/info.php - No input file specified

switched back to 4.3.10 by
renamed c:\php to php-4.3.11
renamed php-4.3.10 c:\php
restarted WebSite
opened up http://server/info.php - normal info


What did i miss, or how do i get 4.3.11 to work?

-- 
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

2005-01-21 Thread Richard Lynch
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

2005-01-21 Thread Jochem Maas
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


[PHP] Upgrading PHP 4.2.2 on Red Hat 9

2005-01-20 Thread James Butler
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



Re: [PHP] Upgrading PHP 4.2.2 on Red Hat 9

2005-01-20 Thread Bret Hughes
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

snip
 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 SAPI from 4.2.2 to 4.3.6 on RH9 with Apache 2

2004-05-10 Thread Tom
Hi.

I'm trying to upgrade a server (up2date RedHat9) - which is running 
Apache 2 (default!) and PHP 4.2.2 - to PHP 4.3.6. It is the SAPI version 
(running as an Apache module).

I have downloaded the tar.gz, exploded that and run
./configure --disable-cgi --with-apxs2=/var/share/Apache/apxs.pl
However it errors with apxs:Error: 
/home/httpd-win32-msi/apache-1.3.20/httpd not found or not executable

So it seems I have completely the wrong version! I don't seem to be able 
to find apxs.pl for Apache 2 on linux (RH9).

Could anyone point me in the right direction and possibly warn of me of 
the upcoming problems I am bound to face? :)

Thanks.
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Upgrading GD...

2003-10-28 Thread - Edwin -
On Tue, 28 Oct 2003 01:26:05 -0500
Leif K-Brooks [EMAIL PROTECTED] wrote:

 Ryan Thompson wrote:
 
 Just a thought. Try using phpinfo() to find out the compile
 options. Use that and just add the GD compile options after
 upgrading GD. That's usually how I go about adding a new module. I
 can never remember what I've compiled into it.
   
 
 Thing is, I don't know how to get GD, how to compile PHP, or
 anything else. Is there something explaining how somewhere?

  http://www.php.net/manual/en/installation.php

Or, just

1. Download the source. I'm sure you know where to find it. :)
2. Unpack. For example, if you've downloaded the xxx.tar.gz version,
  $ tar -xvzf php-xxx.tar.gz
3. cd to the resulting directory
4. run
  $ ./configure --with-your-options-here
--together-with-additional-options

  NOTE: Find out your present configuration options as stated earlier.

5. run
  $ make
6. change to super user mode (root)
7. then run
  $ make install

That should do it. (Unless, of course, you encounter some configure
or make problems.)

Don't forget to restart your webserver (Apache, I assume).

  $ service httpd restart

And, I assume you're using linux hence the $ sign...

- E -
__
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Upgrading GD...

2003-10-28 Thread Leif K-Brooks
- Edwin - wrote:

That should do it. (Unless, of course, you encounter some configure
or make problems.)
And of course, I did:

configure: error: Cannot find rfc822.h. Please check your IMAP installation.

--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt 
to decrypt it will be prosecuted to the full extent of the law.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Upgrading GD...

2003-10-28 Thread - Edwin -
On Tue, 28 Oct 2003 02:57:08 -0500
Leif K-Brooks [EMAIL PROTECTED] wrote:

 - Edwin - wrote:
 
 That should do it. (Unless, of course, you encounter some
 configure or make problems.)
 
 And of course, I did:
 
 configure: error: Cannot find rfc822.h. Please check your IMAP
 installation.

Okay, the easiest to get around this is of course to remove
--with-imap... ;)

But, if you need it, of course, you need to install it then.

  Some info - http://www.php.net/manual/en/ref.imap.php

Btw, don't forget to run

  $ rm config.cache

before you run ./configure again...

Also, there's another list specifically for php-installation -
php-install (whatever the name is...). Make sure that you write about
your environment (OS, etc.) with specific version numbers, etc.

- E -
__
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Upgrading GD...

2003-10-27 Thread Leif K-Brooks
I need to use imagecreatetruecolor(), but my server is still using GD 
1.6. Is it possible to upgrade GD without having to recompile PHP, etc.? 
I'm still fairly new to Linux administration.

--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt 
to decrypt it will be prosecuted to the full extent of the law.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Upgrading GD...

2003-10-27 Thread Curt Zirzow
* Thus wrote Leif K-Brooks ([EMAIL PROTECTED]):
 I need to use imagecreatetruecolor(), but my server is still using GD 
 1.6. Is it possible to upgrade GD without having to recompile PHP, etc.? 
 I'm still fairly new to Linux administration.

The odds aren't that good, unless the current gd is loaded from a
shared object instead of linked directly to php.

Check your configure command from phpinfo() if it has the option
--with-gd then it was linked directly. Otherwise it is loaded from
an shared object file located in your 'extention_dir'

If it is loaded from extension_dir you can rebuild gd2 module and
replace the old one, and it will use that one instead.

I don't think you can load both into php.

Curt
-- 
My PHP key is worn out

  PHP List stats since 1997: 
http://zirzow.dyndns.org/html/mlists/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Upgrading GD...

2003-10-27 Thread Leif K-Brooks
Curt Zirzow wrote:

The odds aren't that good, unless the current gd is loaded from a
shared object instead of linked directly to php.
Check your configure command from phpinfo() if it has the option
--with-gd then it was linked directly. Otherwise it is loaded from
an shared object file located in your 'extention_dir'
If it is loaded from extension_dir you can rebuild gd2 module and
replace the old one, and it will use that one instead.
I don't think you can load both into php.
 

Crud, looks like it's linked directly in. What would be the most 
painless and easiest way to recompile PHP with GD2?

--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt 
to decrypt it will be prosecuted to the full extent of the law.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Upgrading GD...

2003-10-27 Thread Ryan Thompson
Just a thought. Try using phpinfo() to find out the compile options. Use that 
and just add the GD compile options after upgrading GD. That's usually how I 
go about adding a new module. I can never remember what I've compiled into
it.


On Monday 27 October 2003 20:44, Leif K-Brooks wrote:
 Curt Zirzow wrote:
 The odds aren't that good, unless the current gd is loaded from a
 shared object instead of linked directly to php.
 
 Check your configure command from phpinfo() if it has the option
 --with-gd then it was linked directly. Otherwise it is loaded from
 an shared object file located in your 'extention_dir'
 
 If it is loaded from extension_dir you can rebuild gd2 module and
 replace the old one, and it will use that one instead.
 
 I don't think you can load both into php.

 Crud, looks like it's linked directly in. What would be the most
 painless and easiest way to recompile PHP with GD2?

-- 
Ryan Thompson
[EMAIL PROTECTED]
http://osgw.sourceforge.net
==
A computer scientist is someone who fixes
 things that aren't broken --Unknown

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Upgrading GD...

2003-10-27 Thread Leif K-Brooks
Ryan Thompson wrote:

Just a thought. Try using phpinfo() to find out the compile options. Use that 
and just add the GD compile options after upgrading GD. That's usually how I 
go about adding a new module. I can never remember what I've compiled into
it.
 

Thing is, I don't know how to get GD, how to compile PHP, or anything 
else. Is there something explaining how somewhere?

--
The above message is encrypted with double rot13 encoding.  Any unauthorized attempt 
to decrypt it will be prosecuted to the full extent of the law.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Upgrading GD...

2003-10-27 Thread Ryan Thompson
Off the top of my head I can't think of where to get GD but google should be 
able to tell you. As for PHP just go to 
http://www.php.net/manual/en/install.apache2.php assuming your running Apache 
2.0 is no just change apache2 for apache in the url. The php documentation
has install instructions for almost all supported servers. Read through the 
documentation for your distribution on the make command (or find it at 
gnu.org) It explains some stuff about part of configuration.


On Tuesday 28 October 2003 01:26, Leif K-Brooks wrote:
 Ryan Thompson wrote:
 Just a thought. Try using phpinfo() to find out the compile options. Use
  that and just add the GD compile options after upgrading GD. That's
  usually how I go about adding a new module. I can never remember what
  I've compiled into it.

 Thing is, I don't know how to get GD, how to compile PHP, or anything
 else. Is there something explaining how somewhere?

-- 
Ryan Thompson
[EMAIL PROTECTED]
http://osgw.sourceforge.net
==
A computer scientist is someone who fixes
 things that aren't broken --Unknown

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Upgrading 4.2.2 to 4.3.2

2003-07-14 Thread Dave [Hawk-Systems]
any takers on this?

-Original Message-
From: Dave [Hawk-Systems] [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 11:09 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Upgrading 4.2.2 to 4.3.2


Live server was previously a 4.0.4 install that we upgraded to 4.2.2
Am getting ready to upgrade it again to 4.3.2 and wish to verify some things.

1) any caveats to be aware of?

2) it appears from reading INSTALL that a seperate build isn't required if we
want to run both dynamic and static, just run the dynamic install?

3) if the above (dynamic) is correct, will using an existing config.nice still
work for the upgrade considering the config.nice is from 4.0.4 and freebsd has
been patched and upgraded since then as well. file contained below

config.nice file
#! /bin/sh
#
# Created by configure

./configure \
--with-apxs=/usr/local/sbin/apxs \
--with-config-file-path=/usr/local/etc \
--enable-versioning \
--with-system-regex \
--disable-debug \
--enable-track-vars \
--without-gd \
--disable-pear \
--without-mysql \
--with-gd=/usr/local \
--with-ttf=/usr/local \
--with-zlib \
--with-mcrypt=/usr/local \
--with-mhash=/usr/local \
--with-imap=/usr/local \
--with-mysql=/usr/local \
--with-pgsql=/usr/local/pgsql \
--with-dbase \
--with-ldap=/usr/local \
--with-openssl=/usr \
--with-snmp=/usr/local \
--enable-ucd-snmp-hack \
--with-xml=/usr/local \
--enable-ftp \
--with-curl=/usr/local \
--with-gettext=/usr/local \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-trans-sid \
--prefix=/usr/local \
i386--freebsd4.3 \
$@
/config.nice file

Comments and feedback appreciated.

Dave



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Upgrading 4.2.2 to 4.3.2

2003-07-14 Thread electroteque
all i can say it why not rerun the configure i'm sure it'll come up with
some breakages like library versions and dependancies etc ..

-Original Message-
From: Dave [Hawk-Systems] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2003 9:28 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Upgrading 4.2.2 to 4.3.2


any takers on this?

-Original Message-
From: Dave [Hawk-Systems] [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 11:09 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Upgrading 4.2.2 to 4.3.2


Live server was previously a 4.0.4 install that we upgraded to 4.2.2
Am getting ready to upgrade it again to 4.3.2 and wish to verify some
things.

1) any caveats to be aware of?

2) it appears from reading INSTALL that a seperate build isn't required if
we
want to run both dynamic and static, just run the dynamic install?

3) if the above (dynamic) is correct, will using an existing config.nice
still
work for the upgrade considering the config.nice is from 4.0.4 and freebsd
has
been patched and upgraded since then as well. file contained below

config.nice file
#! /bin/sh
#
# Created by configure

./configure \
--with-apxs=/usr/local/sbin/apxs \
--with-config-file-path=/usr/local/etc \
--enable-versioning \
--with-system-regex \
--disable-debug \
--enable-track-vars \
--without-gd \
--disable-pear \
--without-mysql \
--with-gd=/usr/local \
--with-ttf=/usr/local \
--with-zlib \
--with-mcrypt=/usr/local \
--with-mhash=/usr/local \
--with-imap=/usr/local \
--with-mysql=/usr/local \
--with-pgsql=/usr/local/pgsql \
--with-dbase \
--with-ldap=/usr/local \
--with-openssl=/usr \
--with-snmp=/usr/local \
--enable-ucd-snmp-hack \
--with-xml=/usr/local \
--enable-ftp \
--with-curl=/usr/local \
--with-gettext=/usr/local \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-trans-sid \
--prefix=/usr/local \
i386--freebsd4.3 \
$@
/config.nice file

Comments and feedback appreciated.

Dave



--
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 4.2.2 to 4.3.2

2003-07-10 Thread Dave [Hawk-Systems]
Live server was previously a 4.0.4 install that we upgraded to 4.2.2
Am getting ready to upgrade it again to 4.3.2 and wish to verify some things.

1) any caveats to be aware of?

2) it appears from reading INSTALL that a seperate build isn't required if we
want to run both dynamic and static, just run the dynamic install?

3) if the above (dynamic) is correct, will using an existing config.nice still
work for the upgrade considering the config.nice is from 4.0.4 and freebsd has
been patched and upgraded since then as well. file contained below

config.nice file
#! /bin/sh
#
# Created by configure

./configure \
--with-apxs=/usr/local/sbin/apxs \
--with-config-file-path=/usr/local/etc \
--enable-versioning \
--with-system-regex \
--disable-debug \
--enable-track-vars \
--without-gd \
--disable-pear \
--without-mysql \
--with-gd=/usr/local \
--with-ttf=/usr/local \
--with-zlib \
--with-mcrypt=/usr/local \
--with-mhash=/usr/local \
--with-imap=/usr/local \
--with-mysql=/usr/local \
--with-pgsql=/usr/local/pgsql \
--with-dbase \
--with-ldap=/usr/local \
--with-openssl=/usr \
--with-snmp=/usr/local \
--enable-ucd-snmp-hack \
--with-xml=/usr/local \
--enable-ftp \
--with-curl=/usr/local \
--with-gettext=/usr/local \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-trans-sid \
--prefix=/usr/local \
i386--freebsd4.3 \
$@
/config.nice file

Comments and feedback appreciated.

Dave



-- 
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

2003-06-15 Thread Davy Campano
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 from 4.1.2 to 4.3.0 - can anyone point me to a list ofMUST DO'S

2003-02-13 Thread Brian Tully
I've heard that there are significant changes made between 4.1.2 and 4.3.0
so I need to know what the effects are going to be on our existing sites
running old code.

Is there a document that explains the effects of upgrading to 4.3.0 from
4.1.2 along with the steps I need to take to make my sites compatible with
whatever PHP's new changes are?

I've heard bits and pieces - which may as well be rumours - so I'd like to
be able to find something in writing from the php.net site if possible. so
far no luck.

thanks,
brian


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] upgrading from 4.0.6 to 4.3.0

2003-01-14 Thread gamin
Hi,

I have currently working a Red Hat 7.2 system that installs PHP 4.0.6
from the CD and it works fine. I want to upgrade to ver 4.3.0  what would be
the simplest way to do this without breaking any of the old modules etc. I
wont mind making changes to my scripts in case of changes between versions.

Do i need to remove the old PHP installation before building the new one
?

Would using the configure command that shows in the ? phpinfo() ?
currently (with 4.0.6) work with the ver 4.3.0 ?

Thank you

gamin.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Upgrading to 4.3.0

2003-01-07 Thread PHP List
Hi,
According to the docs, 4.3.0 comes with gd bundled in. Do I still have to use libpng 
and jpg and free type seperately?
Do I still need --with-png-dir= in the configuration of php or is it part of the built 
in gd library?

Thanks for any help.


[PHP] upgrading WAMP environment

2003-01-04 Thread Anders Thoresson
 I've been using Apache, MySQL and PHP under Win2k for a while to learn 
PHP. At the moment, I'm running PHP 4.2.2, MySQL 3.23.39 and Apache 2.0.40.

 During the holidays, I've read about a security hole in MySQL and 
therefore plans to upgrade to 3.23.54a. At the same time, I want to install 
PHP 4.3.0 and Apache 2.0.43.

 But when I started to look for upgrading instructions for each software 
package, I find nothing.

 Therefore, I would like to know how to perform an upgrade of each package?

 Should the MySQL and Apache deamons be stopped first?

 Should I install into my current directories?

 Will my config files be overwritten?

 Does it matter which of the three I upgrade first?

 What more should I keep in mind?

 If questions like these are considered off topic, please let me know.

 Best regards,

   Anders


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] upgrading WAMP environment

2003-01-04 Thread David T-G
Anders --

...and then Anders Thoresson said...
% 
%  I've been using Apache, MySQL and PHP under Win2k for a while to learn 
% PHP. At the moment, I'm running PHP 4.2.2, MySQL 3.23.39 and Apache 2.0.40.

Good for you!  All you have left to do is upgrade to Linux ;-)


% 
%  During the holidays, I've read about a security hole in MySQL and 

I haven't seen this one...  If the list isn't interested, could you at
least send me a pointer?


% therefore plans to upgrade to 3.23.54a. At the same time, I want to install 
% PHP 4.3.0 and Apache 2.0.43.

Sounds like fun.


% 
%  But when I started to look for upgrading instructions for each software 
% package, I find nothing.

Yeah.  Generally just think of it as a fresh install instead of an
upgrade.

If I were you, I would

  - shut down mysqld and httpd

  - make a backup, of course

  - save your configs for each (did you install the utils originally?)

  - remove all three

  - install apache

  - install mysql

  - install php

  - install perl ;-)

I say that because the web server is the base and mysql may tie into it;
then you load mysql so php can see both it and the web server; then you
drop in php (and the same for perl and mod_perl :-)

You should be fine with the installation instructions for each.  When in
doubt, you might try the mailing lists for each, but I know that they are
all supposed to go in together.


HTH  HAND

:-D
-- 
David T-G  * There is too much animal courage in 
(play) [EMAIL PROTECTED] * society and not sufficient moral courage.
(work) [EMAIL PROTECTED]  -- Mary Baker Eddy, Science and Health
http://justpickone.org/davidtg/  Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg91603/pgp0.pgp
Description: PGP signature


[PHP] Upgrading GD to 2.1

2002-12-13 Thread Monty
I've got GD 1.6 installed with PHP 4.2.2 on a Linux server. Is upgrading to
GD 2.1 tricky? I'm very new to Linux and have no clue where to start or how
to do it. My server is remote, so, I access it using Webmin.

I've look for instructions on how to do this online, but, nothing specific
enough for a Linux novice like me. Does anyone know of a good place to find
out how to do this? I'm all Goggled out.

Thanks!

Monty


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Upgrading PHP windows binaries

2002-11-27 Thread Simon Dedeyne


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




[PHP] upgrading script from using GLOBALS

2002-10-02 Thread Nicole Lallande

Hi,

I am trying to upgrade my script which currently uses globals (and 
register_globals=on) to turning that flag off.  The online documentation 
on register globas has the following code recommended by users in order 
to register the variables:

$GLOBALS[dbname] = dbname;

//register globals
foreach ($GLOBALS as $key=$val) {
if ($key !=GLOBALS') {
  eval(\$$key = '$val';);
}
}

I am using the global array to connect to my database.  I find that if I 
insert the code above,  I get an error message that the document 
contains no data.  Can anyone tell me why?  Perhaps I would be better 
off just declaring the variable?  Would that take care of the problem?

$dbname= dbname;

Thanks,

Nicole


-- 

Nicole Lallande
[EMAIL PROTECTED]
760.753.6766




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Upgrading PHP on Redhat

2002-09-09 Thread ing.Martin Prásek


- 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-sysvsem   --enable-sysvshm   --enable-
discard-path   --enable-track-vars   --enable-trans-sid   --enable-yp   --en
able-wddx   --without-oci8   --with-imap=shared   --with-imap-ssl   --with-k
erberos=/usr/kerberos

[PHP] Upgrading PHP on Redhat

2002-09-08 Thread David Yee

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 on Redhat

2002-09-08 Thread Jan Kudrman

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




Re: [PHP] upgrading

2002-08-15 Thread Analysis Solutions

On Tue, Aug 13, 2002 at 02:58:02PM -0400, Alex Shi wrote:
 
 I am currently have PHP 4.0.4p11 and Apache 1.3.19 running 
 on RH Linux 7.1. Now I am thinking of upgrade my PHP to 4.1.2-7 

If you're upgrading, don't waste your time installing very old versions
with significant vulnerabilities in them.  Upgrade Apache to 1.3.26 and
PHP to 4.2.2.

--Dan

-- 
   PHP classes that make web design easier
SQL Solution  |   Layout Solution   |  Form Solution
sqlsolution.info  | layoutsolution.info |  formsolution.info
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] upgrading error

2002-08-14 Thread EdwardSPL

If you want to upgrade php by RPM packages, you may try this site :

http://rpms.arvin.dk/php/source/

Alex Shi wrote:

 I have PHP 4.0.4p11 on RH Linux 7.1. Today I downloaded PHP 4.1.2-7
 rpm packages (10 packages) from RH web site. These packages are
 come with RH Linux 7.3. I don't want to upgrade Linux but just upgrade
 PHP so I tried rpm -Uvh php-4.1.2-7.i386.rpm.

 I got following error message:

 error: failed dependencies:
 libcrypto.so.2   is needed by php-4.1.2-7
 libcurl.so.2   is needed by php-4.1.2-7
 libdb-3.3.so   is needed by php-4.1.2-7
 libltdl.so.3   is needed by php-4.1.2-7
 libmm.so.11   is needed by php-4.1.2-7
 libpspell.so.4   is needed by php-4.1.2-7
 libssl.so.2   is needed by php-4.1.2-7
 libxml2.so.2   is needed by php-4.1.2-7
 php = 4.0.4pl1-9 is needed by php-imap-4.0.4pl1-9
 php = 4.0.4pl1-9 is needed by php-ldap-4.0.4pl1-9
 php = 4.0.4pl1-9 is needed by php-mysql-4.0.4pl1-9
 php = 4.0.4pl1-9 is needed by php-pgsql-4.0.4pl1-9
 php = 4.0.4pl1-9 is needed by php-manual-4.0.4pl1-9

 Any idea? Seems like it is impossible to directly upgrade from 4.0.4
 to 4.1.2-7Please advice. Thanks in advace!

 Alex
 --
 ---
 TrafficBuilder Network:
 http://www.bestadv.net/index.cfm?ref=7029

 --
 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

2002-08-13 Thread Alex Shi

Hi,

I am currently have PHP 4.0.4p11 and Apache 1.3.19 running 
on RH Linux 7.1. Now I am thinking of upgrade my PHP to 4.1.2-7 
(the version come with RH 7.3). I have downloaded all 4.1.2-7 rpm 
packages altogether 10 files. I will stay with RH 7.1 but upgrade
PHP to 4.1.2-7. I am going to do upgrading later today, but hope
to know any advice if any one out there have such experience 
and has something to say abou this. Thanks in advance!

Alex



-
TrafficBuilder Network: 
http://www.bestadv.net/index.cfm?ref=7029


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] upgrading error

2002-08-13 Thread Alex Shi

I have PHP 4.0.4p11 on RH Linux 7.1. Today I downloaded PHP 4.1.2-7
rpm packages (10 packages) from RH web site. These packages are
come with RH Linux 7.3. I don't want to upgrade Linux but just upgrade
PHP so I tried rpm -Uvh php-4.1.2-7.i386.rpm. 

I got following error message:

error: failed dependencies:
libcrypto.so.2   is needed by php-4.1.2-7
libcurl.so.2   is needed by php-4.1.2-7
libdb-3.3.so   is needed by php-4.1.2-7
libltdl.so.3   is needed by php-4.1.2-7
libmm.so.11   is needed by php-4.1.2-7
libpspell.so.4   is needed by php-4.1.2-7
libssl.so.2   is needed by php-4.1.2-7
libxml2.so.2   is needed by php-4.1.2-7
php = 4.0.4pl1-9 is needed by php-imap-4.0.4pl1-9
php = 4.0.4pl1-9 is needed by php-ldap-4.0.4pl1-9
php = 4.0.4pl1-9 is needed by php-mysql-4.0.4pl1-9
php = 4.0.4pl1-9 is needed by php-pgsql-4.0.4pl1-9
php = 4.0.4pl1-9 is needed by php-manual-4.0.4pl1-9

Any idea? Seems like it is impossible to directly upgrade from 4.0.4
to 4.1.2-7Please advice. Thanks in advace!

Alex
-- 
---
TrafficBuilder Network: 
http://www.bestadv.net/index.cfm?ref=7029


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] upgrading error

2002-08-13 Thread @ Edwin
Just a thought...

If you have downloaded 10 packages perhaps you need to upgrade ALL of them 
AT THE SAME TIME.

So, instead of doing:

rpm -Uvh php-4.1.2-7.i386.rpm.

Try this:

1. Put all packages in the same folder
2. rpm -Fvh *.rpm

The "F" (instead of "U") updates all INSTALLED packages only.

I didn't really check but it might work. If not, perhaps, you need to have 
more packages other than the ones you've already downloaded...

- E


I have PHP 4.0.4p11 on RH Linux 7.1. Today I downloaded PHP 4.1.2-7
rpm packages (10 packages) from RH web site. These packages are
come with RH Linux 7.3. I don't want to upgrade Linux but just upgrade
PHP so I tried rpm -Uvh php-4.1.2-7.i386.rpm.

I got following error message:

error: failed dependencies:
 libcrypto.so.2   is needed by php-4.1.2-7
 libcurl.so.2   is needed by php-4.1.2-7
 libdb-3.3.so   is needed by php-4.1.2-7
 libltdl.so.3   is needed by php-4.1.2-7
 libmm.so.11   is needed by php-4.1.2-7
 libpspell.so.4   is needed by php-4.1.2-7
 libssl.so.2   is needed by php-4.1.2-7
 libxml2.so.2   is needed by php-4.1.2-7
 php = 4.0.4pl1-9 is needed by php-imap-4.0.4pl1-9
 php = 4.0.4pl1-9 is needed by php-ldap-4.0.4pl1-9
 php = 4.0.4pl1-9 is needed by php-mysql-4.0.4pl1-9
 php = 4.0.4pl1-9 is needed by php-pgsql-4.0.4pl1-9
 php = 4.0.4pl1-9 is needed by php-manual-4.0.4pl1-9

Any idea? Seems like it is impossible to directly upgrade from 4.0.4
to 4.1.2-7Please advice. Thanks in advace!

Alex
--
---
TrafficBuilder Network:
http://www.bestadv.net/index.cfm?ref=7029


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





_
$B%&%#%k%9%a!<%k!"LBOG%a!<%kBP:v$J$i(B MSN Hotmail http://www.hotmail.com/JA


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] upgrading php...

2002-07-02 Thread Phil Schwarzmann

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...

2002-07-02 Thread Andrew Brampton

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




Re: [PHP] upgrading php...

2002-07-02 Thread Jason Wong

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...

2002-07-02 Thread Lazor, Ed

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...

2002-07-02 Thread Julie Meloni

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




[PHP] upgrading phpmyadmin...

2002-06-25 Thread Phil Schwarzmann

Is it pretty easy to upgrade phpmyadmin from 2.1 to the latest version? 
Anyone run in to any difficulty?



Re: [PHP] upgrading phpmyadmin...

2002-06-25 Thread Devrim GUNDUZ


Hi,

On Tue, 25 Jun 2002, Phil Schwarzmann wrote:

 Is it pretty easy to upgrade phpmyadmin from 2.1 to the latest version? 
 Anyone run in to any difficulty?


Just untar the newest version and edit config.php 

-- 

Devrim GUNDUZ

[EMAIL PROTECTED]
[EMAIL PROTECTED]

Web : http://devrim.oper.metu.edu.tr
-



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Upgrading from libmcrypt 2.2.x to 2.4.x

2002-05-03 Thread Tom Rogers

Hi
Thanks for that info, was just what I needed :)
You can also create $iv with this:

$iv = pack(a.mcrypt_enc_get_iv_size($td),$iv);

I use base64_encode() and base64_decode() to store the result and send via 
the web.
Tom


At 01:02 PM 3/05/2002, Cédric Veilleux wrote:
Hi,

 I had an hard time converting my code from mcrypt 2.2.x to 2.4.x. 
 There is a
big lack of info about the difference between the two and I could not find
anything to help me make the move.

 My problem was not getting things to work with either version of 
 mcrypt,
there are plenty of examples available for both versions. My problem was
getting libmcrypt 2.4.x decrypting the data previously encrypted by 2.2.x.

 Here's some general info for anyone interested. I would have been 
 very
pleased to find this will searching the archive and I didn't, so I am doing
it for anybody else facing the same problem.

1) PHP linked with libmcrypt 2.2.x is not too picky about Initialization
Vectors, but with 2.4.x, it will give a warning message if you don't specify
one with some of the functions or simply wont work with others. Check my
example code below to see what I did.

2) PHP will segfault if you use a key size with the wrong lenght with 2.4.x
and it won't with 2.2.x. Be very careful about the lenght of your key in
2.4.x, what worked previously might not work now.


Decryption under libmcrypt 2.2.x:
-
$clear_text = mcrypt_cbc ($cipher, $key, hex2bin($crypted_text),
MCRYPT_DECRYPT);
-

Encryption under libmcrypt 2.2.x:
-
$crypted_text = bin2hex(mcrypt_cbc ($cipher, $key, $clear_text,
MCRYPT_ENCRYPT));
-


The following code is what I had to do to get a similar (compatible) 
behaviour
under libmcrypt 2.4.x. Note that I create an initialization vector filled
with \0 characters, which is, I believe, the default behavior with
libmcrypt 2.2.x. The PHP manual somewhere recommends to use 0 if you do not
want to use an initialization vector. This did not work for me, as this is
not the default 2.2.x behavior. I think the manual should be modified as it
greatly confiused me.

Encryption under libmcrypt 2.4.x:
-
$td = mcrypt_module_open ($cipher, , MCRYPT_MODE_CBC, );
$i = 0;
while ($i  mcrypt_enc_get_iv_size ($td)) {
 $iv .= \0;
 $i++;
}
mcrypt_generic_init ($td, $key, $iv);
$crypted_text = bin2hex(mcrypt_generic($td, $plain_text));
mcrypt_generic_end ($td);
-

Decryption under libmcrypt 2.4.x:
-
$td = mcrypt_module_open ($cipher, , MCRYPT_MODE_CBC, );
$i = 0;
while ($i  mcrypt_enc_get_iv_size ($td)) {
 $iv .= \0;
 $i++;
}
mcrypt_generic_init ($td, $key, $iv);
$plain_text = mdecrypt_generic($td, hex2bin($crypted_text));
mcrypt_generic_end ($td);
-


In these snippets, $crypted_text is the encrypted data in hexadecimal format.
This allows data to be stored (in DB's for example) or displayed without
problems. You need the following function:

function hex2bin($data) {
 $len = strlen($data);
 return pack(H . $len, $data);
}



Hope this can help someone..


Thank you,

Cedric


--
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 from libmcrypt 2.2.x to 2.4.x

2002-05-03 Thread Cédric Veilleux

Hi,

Thanks for the hint.

Just a small note to let you know that my code to decrypt a string will 
return a string with filled with null characters at the end. You should 
trim() it.

Also, anybody knows how to detect if the PHP build is linked with 2.2 or 2.4? 
I would like my crypt / decrypt functions to detect which mcrypt version is 
used dynamically, so the same code could run with both versions without 
modifications.

Right now the only way I found is to check whether the MCRYPT_RIJNDAEL_128 
constant (or any other cipher type constants) is a number or a string (these 
constants are strings under 2.4.x and numbers under 2.2.x). Any better way of 
doing this?

I've checked the php info functions, they can tell if a certain extension is 
present but this is not very helpful..


Thank you,

Cedric



On May 3, 2002 02:29 am, Tom Rogers wrote:
 Hi
 Thanks for that info, was just what I needed :)
 You can also create $iv with this:

 $iv = pack(a.mcrypt_enc_get_iv_size($td),$iv);

 I use base64_encode() and base64_decode() to store the result and send via
 the web.
 Tom

 At 01:02 PM 3/05/2002, Cédric Veilleux wrote:
 Hi,
 
  I had an hard time converting my code from mcrypt 2.2.x to 2.4.x.
  There is a
 big lack of info about the difference between the two and I could not find
 anything to help me make the move.
 
  My problem was not getting things to work with either version of
  mcrypt,
 there are plenty of examples available for both versions. My problem was
 getting libmcrypt 2.4.x decrypting the data previously encrypted by 2.2.x.
 
  Here's some general info for anyone interested. I would have been
  very
 pleased to find this will searching the archive and I didn't, so I am
  doing it for anybody else facing the same problem.
 
 1) PHP linked with libmcrypt 2.2.x is not too picky about Initialization
 Vectors, but with 2.4.x, it will give a warning message if you don't
  specify one with some of the functions or simply wont work with others.
  Check my example code below to see what I did.
 
 2) PHP will segfault if you use a key size with the wrong lenght with
  2.4.x and it won't with 2.2.x. Be very careful about the lenght of your
  key in 2.4.x, what worked previously might not work now.
 
 
 Decryption under libmcrypt 2.2.x:
 -
 $clear_text = mcrypt_cbc ($cipher, $key, hex2bin($crypted_text),
 MCRYPT_DECRYPT);
 -
 
 Encryption under libmcrypt 2.2.x:
 -
 $crypted_text = bin2hex(mcrypt_cbc ($cipher, $key, $clear_text,
 MCRYPT_ENCRYPT));
 -
 
 
 The following code is what I had to do to get a similar (compatible)
 behaviour
 under libmcrypt 2.4.x. Note that I create an initialization vector filled
 with \0 characters, which is, I believe, the default behavior with
 libmcrypt 2.2.x. The PHP manual somewhere recommends to use 0 if you do
  not want to use an initialization vector. This did not work for me, as
  this is not the default 2.2.x behavior. I think the manual should be
  modified as it greatly confiused me.
 
 Encryption under libmcrypt 2.4.x:
 -
 $td = mcrypt_module_open ($cipher, , MCRYPT_MODE_CBC, );
 $i = 0;
 while ($i  mcrypt_enc_get_iv_size ($td)) {
  $iv .= \0;
  $i++;
 }
 mcrypt_generic_init ($td, $key, $iv);
 $crypted_text = bin2hex(mcrypt_generic($td, $plain_text));
 mcrypt_generic_end ($td);
 -
 
 Decryption under libmcrypt 2.4.x:
 -
 $td = mcrypt_module_open ($cipher, , MCRYPT_MODE_CBC, );
 $i = 0;
 while ($i  mcrypt_enc_get_iv_size ($td)) {
  $iv .= \0;
  $i++;
 }
 mcrypt_generic_init ($td, $key, $iv);
 $plain_text = mdecrypt_generic($td, hex2bin($crypted_text));
 mcrypt_generic_end ($td);
 -
 
 
 In these snippets, $crypted_text is the encrypted data in hexadecimal
  format. This allows data to be stored (in DB's for example) or displayed
  without problems. You need the following function:
 
 function hex2bin($data) {
  $len = strlen($data);
  return pack(H . $len, $data);
 }
 
 
 
 Hope this can help someone..
 
 
 Thank you,
 
 Cedric
 
 
 --
 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 from libmcrypt 2.2.x to 2.4.x

2002-05-02 Thread Cédric Veilleux

Hi,

I had an hard time converting my code from mcrypt 2.2.x to 2.4.x. There is a 
big lack of info about the difference between the two and I could not find 
anything to help me make the move.

My problem was not getting things to work with either version of mcrypt, 
there are plenty of examples available for both versions. My problem was 
getting libmcrypt 2.4.x decrypting the data previously encrypted by 2.2.x.

Here's some general info for anyone interested. I would have been very 
pleased to find this will searching the archive and I didn't, so I am doing 
it for anybody else facing the same problem.

1) PHP linked with libmcrypt 2.2.x is not too picky about Initialization 
Vectors, but with 2.4.x, it will give a warning message if you don't specify 
one with some of the functions or simply wont work with others. Check my 
example code below to see what I did.

2) PHP will segfault if you use a key size with the wrong lenght with 2.4.x 
and it won't with 2.2.x. Be very careful about the lenght of your key in 
2.4.x, what worked previously might not work now.


Decryption under libmcrypt 2.2.x:
-
$clear_text = mcrypt_cbc ($cipher, $key, hex2bin($crypted_text), 
MCRYPT_DECRYPT);
-

Encryption under libmcrypt 2.2.x:
-
$crypted_text = bin2hex(mcrypt_cbc ($cipher, $key, $clear_text, 
MCRYPT_ENCRYPT));
-


The following code is what I had to do to get a similar (compatible) behaviour 
under libmcrypt 2.4.x. Note that I create an initialization vector filled 
with \0 characters, which is, I believe, the default behavior with 
libmcrypt 2.2.x. The PHP manual somewhere recommends to use 0 if you do not 
want to use an initialization vector. This did not work for me, as this is 
not the default 2.2.x behavior. I think the manual should be modified as it 
greatly confiused me.

Encryption under libmcrypt 2.4.x:
-
$td = mcrypt_module_open ($cipher, , MCRYPT_MODE_CBC, );
$i = 0;
while ($i  mcrypt_enc_get_iv_size ($td)) {
$iv .= \0;
$i++;
}
mcrypt_generic_init ($td, $key, $iv);
$crypted_text = bin2hex(mcrypt_generic($td, $plain_text));
mcrypt_generic_end ($td);
-

Decryption under libmcrypt 2.4.x:
-
$td = mcrypt_module_open ($cipher, , MCRYPT_MODE_CBC, );
$i = 0;
while ($i  mcrypt_enc_get_iv_size ($td)) {
$iv .= \0;
$i++;
}
mcrypt_generic_init ($td, $key, $iv);
$plain_text = mdecrypt_generic($td, hex2bin($crypted_text));
mcrypt_generic_end ($td);
-


In these snippets, $crypted_text is the encrypted data in hexadecimal format. 
This allows data to be stored (in DB's for example) or displayed without 
problems. You need the following function:

function hex2bin($data) {
$len = strlen($data);
return pack(H . $len, $data);
}



Hope this can help someone..


Thank you,

Cedric


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Upgrading PHP

2002-02-28 Thread Frank Miller

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 403 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 
412  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 403  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 AM 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://wwwgrisoftcom)
Version: 60325 / Virus Database: 182 - Release Date: 2/19/2002



-- 
PHP General Mailing List (http://wwwphpnet/)
To unsubscribe, visit: http://wwwphpnet/unsubphp


Re: [PHP] Upgrading PHP

2002-02-28 Thread Frank Miller

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 AM 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 AM 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


Re: [PHP] Upgrading PHP

2002-02-28 Thread Michael Kimsal

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 
 1314 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=/apache1314   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://wwwphphelpdeskcom
Taking the ? out of ?php
734-480-9961




-- 
PHP General Mailing List (http://wwwphpnet/)
To unsubscribe, visit: http://wwwphpnet/unsubphp




Re: [PHP] Upgrading PHP

2002-02-28 Thread PHP List

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 AM 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 AM 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

2002-02-28 Thread Jeff Bearer

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 403 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 
 412  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 403  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 AM 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://wwwgrisoftcom)
 Version: 60325 / Virus Database: 182 - Release Date: 2/19/2002
 
 
 

 -- 
 PHP General Mailing List (http://wwwphpnet/)
 To unsubscribe, visit: http://wwwphpnet/unsubphp
-- 
Jeff Bearer, RHCE
Webmaster
PittsburghLIVEcom
2002 EPpy Award, Best Online US Newspaper

-- 
PHP General Mailing List (http://wwwphpnet/)
To unsubscribe, visit: http://wwwphpnet/unsubphp




[PHP] Upgrading to Windows XP Whistler

2001-08-22 Thread Thomas Edison Jr.

I'm gonna be using windows XP whistler home edition.
Can someone tell me if i'll be needing a different
version of PHP4 to download  install and the
installation instructions to go along. So far that
i've heard is that it's the same as Windows 2000, but
i'm muchly new at this thing so it'd be really good if
someone can tell me what is gonna to happen. 
Also, i've been using Apache as the server, will i
have to download a newer version of Apache for my
windows XP?

Thanks.
Thomas Edison jr.

=
Rahul S. Johari (Director)
**
Abraxas Technologies Inc.
Homepage : http://www.abraxastech.com
Email : [EMAIL PROTECTED]
Tel : 91-4546512/4522124
***

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/


-- 
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]


[PHP] upgrading to gd2.0.1

2001-07-05 Thread Mark Maggelet

Hi,
I just upgraded gd to 2.0.1 and recompiled apache1.3.20/php4.06.
when I do phpinfo() it says:
GD Support enabled
GD Version 1.6.2 or higher
WBMP Support enabled

and when i call imagepng() it says:
Warning: ImagePng: No PNG support in this PHP build

any ideas what's going on here?
I removed config.cache before reconfiguring php

thanks,
- Mark


--
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]




[PHP] Upgrading PHP

2001-05-14 Thread Joseph Bannon

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]




[PHP] Upgrading to 4.04 question, but won't stick

2001-01-21 Thread Team JUMP Lists

We've had 4.01 running since July so I thought I'd upgrade to 4.04 from the
tarball last night. Everything went fine w/ the compile, no errors. Install
said all OK, Then i went and HUP'd apache but when I run phpinfo() the old
module is still loaded.

What am I doing wrong?  Where should I look to solve my problem. When I look
in the /modules/ directory the dates on the new modules are yesterday, so
they've all moved correctly, etc. I intentionally tried to break the
phpmodule to see which one I'm actually using by changing the name of the
file but that didn't work.

Linux 6.2, Apache 1.3.12., MySQL, PHP 4.01

Any help appreciated. If someone can just point me to an RPM that'll install
on RH 6.2, I'll just use that. The current RPM's over at RH won't install
because they are for RH 7.

TIA,

Charlie


-- 
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]




Re: [PHP] Upgrading to 4.04 question, but won't stick

2001-01-21 Thread webbie

Quoting Team JUMP Lists [EMAIL PROTECTED]:

 We've had 4.01 running since July so I thought I'd upgrade to 4.04 from
 the
 tarball last night. Everything went fine w/ the compile, no errors.
 Install
 said all OK, Then i went and HUP'd apache but when I run phpinfo() the
 old
 module is still loaded.
 
 What am I doing wrong?  Where should I look to solve my problem. When I
 look
 in the /modules/ directory the dates on the new modules are yesterday,
 so
 they've all moved correctly, etc. I intentionally tried to break the
 phpmodule to see which one I'm actually using by changing the name of
 the
 file but that didn't work.
 
 Linux 6.2, Apache 1.3.12., MySQL, PHP 4.01
 
 Any help appreciated. If someone can just point me to an RPM that'll
 install
 on RH 6.2, I'll just use that. The current RPM's over at RH won't
 install
 because they are for RH 7.

Well, it's my opinion that on an RPM-package based system it is wise to do 
custom package installations via RPM also - so that you don't break the RPM 
dependency checking.

It's not that hard to grab the PHP4 SRPM from RedHat's Rawhide stash, install 
it, replace the tarball with the latest from php.net, and then build the RPM 
and then install it.  It's a bit of extra work, but it keeps RPM functioning 
properly.  If you need things like pdflib, it's not that hard to create the 
spec file and build it, too.

Lee Howard

-- 
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]




Re: [PHP] Upgrading to 4.04 question, but won't stick

2001-01-21 Thread Rasmus Lerdorf

 We've had 4.01 running since July so I thought I'd upgrade to 4.04 from the
 tarball last night. Everything went fine w/ the compile, no errors. Install
 said all OK, Then i went and HUP'd apache but when I run phpinfo() the old
 module is still loaded.

 What am I doing wrong?  Where should I look to solve my problem. When I look
 in the /modules/ directory the dates on the new modules are yesterday, so
 they've all moved correctly, etc. I intentionally tried to break the
 phpmodule to see which one I'm actually using by changing the name of the
 file but that didn't work.

You renamed the library and restarted the server and it still came up with
4.0.1?  If so, you are doing something dumb.  Like perhaps you compiled
4.0.1 statically into your httpd.  Check this by doing "httpd -l".  If you
see php listed you know it was compiled statically into your binary.

If it isn't static, go look at your LoadModule line in your httpd.conf and
see where it is loading the module from.  Make sure this is pointing at
this new module you built.

Also make sure that the web server you restarted is the right one.  I have
seen many people who install Apache and PHP without realizing that they
already have an Apache instance on their server.  And when they do an
apachectl restart the apachectl script actually restarts the wrong server
on them.

-Rasmus


-- 
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]