Gallery 1.4 claims newer PHP version

2004-02-10 Thread Arlequín
Hi, there.

I have a Woody properly installed, which runs PHP v. 4.1.2.

That's enough for me, but apparently it's not enough for the folks from 
Gallery, a web based photo album generator 
http://gallery.menalto.com/index.php.

Please, take a look at this post:
http://gallery.menalto.com/index.php?name=PNphpBB2file=viewtopicp=61813#61813
What should I do?

Recompile from source?
I don't want to loose the excellent deps tree control Debian have only 
because I have to upgrade my PHP version.

--
Arlequín _o)
amahoro_AT_adinet_DOT_com_DOT_uy / \\
http://counter.li.org/ _(___V
Linux Registered User  #207262
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Gallery 1.4 claims newer PHP version

2004-02-10 Thread Timo Railo
I have a Woody properly installed, which runs PHP v. 4.1.2.

That's enough for me, but apparently it's not enough for the folks  
from Gallery, a web based photo album generator  
http://gallery.menalto.com/index.php.

Please, take a look at this post:
http://gallery.menalto.com/index.php? 
name=PNphpBB2file=viewtopicp=61813#61813

What should I do?

Recompile from source?
I don't want to loose the excellent deps tree control Debian have only  
because I have to upgrade my PHP version.

In terms of PHP, 4.1.2 really is a quite old version. You could try php  
from unstable tree (edit /etc/apt/sources.list, adding unstable there)  
then do apt-get install php. Just remember to change back your  
sources.list.

Cheers,

Timo

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Gallery 1.4 claims newer PHP version

2004-02-10 Thread Jacob S.
On Tue, 10 Feb 2004 12:05:21 -0300
Arlequín [EMAIL PROTECTED] wrote:

 Hi, there.
 
 I have a Woody properly installed, which runs PHP v. 4.1.2.
 
 That's enough for me, but apparently it's not enough for the folks
 from Gallery, a web based photo album generator 
 http://gallery.menalto.com/index.php.
 
 Please, take a look at this post:
 http://gallery.menalto.com/index.php?name=PNphpBB2file=viewtopicp=
 61813#61813
 
 What should I do?
 
 Recompile from source?
 I don't want to loose the excellent deps tree control Debian have only
 
 because I have to upgrade my PHP version.

Do you really need version 1.4 of gallery? There's a (slightly older)
version of Gallery in Debian Woody. apt-get install gallery. Then not
only would you not need to upgrade php, but even gallery would take
advantage of Debian's advanced package management system.

HTH  HAND,
Jacob

- 
GnuPG Key: 1024D/16377135

Microsoft is not the answer.
Microsoft is the question.
Linux is the answer.


pgp0.pgp
Description: PGP signature


Re: Gallery 1.4 claims newer PHP version

2004-02-10 Thread Arlequín
Timo Railo wrote:

In terms of PHP, 4.1.2 really is a quite old version. You could try 
php from unstable tree (edit /etc/apt/sources.list, adding unstable 
there) then do apt-get install php. Just remember to change back your
 sources.list.

Cheers,

Timo
Thanks, but

I wonder if that way I  broke the deps tree... because at this moment, I
have php4 installed in my Woody box and a couple of packages involving 
php4 (posgresql, mysql modules, et cetera).

Woody was installed using 7 CD-ROMS, I have no http lines in my atp 
sources.list, just the one for security updates... :-\

--
Arlequín _o)
amahoro_AT_adinet_DOT_com_DOT_uy / \\
http://counter.li.org/ _(___V
Linux Registered User  #207262
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Gallery 1.4 claims newer PHP version

2004-02-10 Thread Jacob S.
On Tue, 10 Feb 2004 13:15:59 -0300
Arlequín [EMAIL PROTECTED] wrote:

 Timo Railo wrote:
 
  
  In terms of PHP, 4.1.2 really is a quite old version. You could try 
  php from unstable tree (edit /etc/apt/sources.list, adding unstable 
  there) then do apt-get install php. Just remember to change back
  your
   sources.list.
snip

 I wonder if that way I  broke the deps tree... because at this moment,
 I have php4 installed in my Woody box and a couple of packages
 involving php4 (posgresql, mysql modules, et cetera).
 
 Woody was installed using 7 CD-ROMS, I have no http lines in my atp 
 sources.list, just the one for security updates... :-\

Probably not. PHP version 4.1.2-6woody3 is the latest release in Debian
Woody. It's the age old debate about whether Debian Stable is current
enough.

HTH,
Jacob

- 
GnuPG Key: 1024D/16377135

Have you ever noticed that at trade shows Microsoft is always the one
giving away stress balls? 


pgp0.pgp
Description: PGP signature


Re: Gallery 1.4 claims newer PHP version

2004-02-10 Thread Arlequín
Jacob S. wrote:

On Tue, 10 Feb 2004 13:15:59 -0300
Arlequín [EMAIL PROTECTED] wrote:

Timo Railo wrote:


In terms of PHP, 4.1.2 really is a quite old version. You could try 
php from unstable tree (edit /etc/apt/sources.list, adding unstable 
there) then do apt-get install php. Just remember to change back
your
sources.list.
snip

I wonder if that way I  broke the deps tree... because at this moment,
I have php4 installed in my Woody box and a couple of packages
involving php4 (posgresql, mysql modules, et cetera).
Woody was installed using 7 CD-ROMS, I have no http lines in my atp 
sources.list, just the one for security updates... :-\


Probably not. PHP version 4.1.2-6woody3 is the latest release in Debian
Woody. It's the age old debate about whether Debian Stable is current
enough.
HTH,
Jacob
Well.. I've added a backport from

http://www.apt-get.org/search.php?query=php4submit=arch%5B%5D=i386arch%5B%5D=all

deb http://www.heydon.com.au/debian unstable/
deb-src http://www.heydon.com.au/debian unstable/
deb http://www.heydon.com.au/debian stable/
deb-src http://www.heydon.com.au/debian stable/
And the php4 package now is 4.3.3 but phpinfo() still shows 4.1.2

I think I'm about to start a messy situation here   :_(



- 
GnuPG Key: 1024D/16377135

Have you ever noticed that at trade shows Microsoft is always the one
giving away stress balls? 


--
Arlequín _o)
amahoro_AT_adinet_DOT_com_DOT_uy / \\
http://counter.li.org/ _(___V
Linux Registered User  #207262
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Gallery 1.4 claims newer PHP version

2004-02-10 Thread Rob Weir
On Tue, Feb 10, 2004 at 01:44:17PM -0300, Arlequ?n said
 Well.. I've added a backport from
 
 http://www.apt-get.org/search.php?query=php4submit=arch%5B%5D=i386arch%5B%5D=all
 
 deb http://www.heydon.com.au/debian unstable/
 deb-src http://www.heydon.com.au/debian unstable/

Uh, why do you have these?

 And the php4 package now is 4.3.3 but phpinfo() still shows 4.1.2

Did you restart apache?

-- 
Rob Weir [EMAIL PROTECTED] | [EMAIL PROTECTED]  |  Do I look like I want a CC?
Words of the day:   Comirex ammunition Ermes NWO AMEMB South Africa FTS2000


signature.asc
Description: Digital signature


Re: Gallery 1.4 claims newer PHP version

2004-02-10 Thread Arlequín
Rob Weir wrote:

On Tue, Feb 10, 2004 at 01:44:17PM -0300, Arlequ?n said

Well.. I've added a backport from

http://www.apt-get.org/search.php?query=php4submit=arch%5B%5D=i386arch%5B%5D=all

deb http://www.heydon.com.au/debian unstable/
deb-src http://www.heydon.com.au/debian unstable/


Uh, why do you have these?


And the php4 package now is 4.3.3 but phpinfo() still shows 4.1.2


Did you restart apache?

Jacob S. wrote:

 Yes, backports can be if you're not familiar with what you're doing. For
 starters, I recommend you keep a list written somewhere of what packages
 you've installed from backports... just in case you need to downgrade
 and get back to tracking only Debian Stable.

 First you'll need to check /etc/apache/httpd.conf and see if the newer
 php4 package added a LoadModule line in the appropriate place. If it
 didn't, you may need to add one. (If you add one, make sure you delete
 the LoadModule line from php 4.1.2!)

 Now restart Apache and see if it gives you any errors. If it doesn't,
 try phpinfo() again and see if it's not the newer php version.

 Also, if this works, don't forget that you'll also need to install
 backports for any other php packages you have - such as php4-mysql,
 php4-pear, php4-imap, etc.

 HTH,
 Jacob

Everything is fine...

phpinfo() shows 4.3.3 now...
Upgraded the php4-mysql, php4-pear, php4-imap, php4-pgqsl packages and then
dkpg-reconfigure php4-mysql
dkpg-reconfigure php4-pgsql
dkpg-reconfigure php4-pear
dkpg-reconfigure php4-imap
Restarted apache, LoadModule line: added.

But now I can't run phpMyAdmin

It seems the extensions for MySQL / PostgreSQL aren't recognized, but 
the php.ini file has them...

Just in case
How can I downgrade???!!!
--
Arlequín _o)
amahoro_AT_adinet_DOT_com_DOT_uy / \\
http://counter.li.org/ _(___V
Linux Registered User  #207262
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Gallery 1.4 claims newer PHP version

2004-02-10 Thread David Dyer-Bennet
Jacob S. [EMAIL PROTECTED] writes:

 Do you really need version 1.4 of gallery? There's a (slightly older)
 version of Gallery in Debian Woody. apt-get install gallery. Then not
 only would you not need to upgrade php, but even gallery would take
 advantage of Debian's advanced package management system.

It's very often this level of package that ends up driving system
upgrades, in my experience.  End-users are very sensitive to
features.  Gallery is moving forward fairly fast.  I certainly
wouldn't want to downgrade from 1.4 myself. 

I'm curious how Gallery works as a package; on my system it's
installed in at least 3 separate directories that I know of (you need
to do that to have multiple galleries on the server).  
-- 
David Dyer-Bennet, mailto:[EMAIL PROTECTED], http://www.dd-b.net/dd-b/
RKBA: http://noguns-nomoney.com http://www.dd-b.net/carry/
Photos: dd-b.lighthunters.net  Snapshots: www.dd-b.net/dd-b/SnapshotAlbum/
Dragaera/Steven Brust: http://dragaera.info/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Gallery 1.4 claims newer PHP version

2004-02-10 Thread Arlequín
Jacob S. wrote:

On Tue, 10 Feb 2004 14:31:09 -0300 Arlequín [EMAIL PROTECTED]
wrote:

Everything is fine...

phpinfo() shows 4.3.3 now... Upgraded the php4-mysql, php4-pear,
php4-imap, php4-pgqsl packages and then dkpg-reconfigure php4-mysql
 dkpg-reconfigure php4-pgsql dkpg-reconfigure php4-pear 
dkpg-reconfigure php4-imap

Restarted apache, LoadModule line: added.


Good!


But now I can't run phpMyAdmin  :(

It seems the extensions for MySQL / PostgreSQL aren't recognized,
but the php.ini file has them...


hmm... phpMyadmin seems pretty basic. I can't imagine why it wouldn't
 run. It seems like there should be something basic to fix that, but
I don't know off hand. I'd suggest posting back to debian-user and
see if anyone else has had that problem before.
Fatal error: Call to undefined function: mysql_get_client_info() in
/var/www/phpMyAdmin/libraries/defines.lib.php on line 47
Line 47 states:
$client_api = explode('.', mysql_get_client_info());
I suppose it's a problem with the php4-mysql package which extends php 
in order to use mysql...

--
Arlequín _o)
amahoro_AT_adinet_DOT_com_DOT_uy / \\
http://counter.li.org/ _(___V
Linux Registered User  #207262
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Gallery 1.4 claims newer PHP version

2004-02-10 Thread Jacob S.
On Tue, 10 Feb 2004 12:32:55 -0600
David Dyer-Bennet [EMAIL PROTECTED] wrote:

 Jacob S. [EMAIL PROTECTED] writes:
 
  Do you really need version 1.4 of gallery? There's a (slightly
  older) version of Gallery in Debian Woody. apt-get install
  gallery. Then not only would you not need to upgrade php, but even
  gallery would take advantage of Debian's advanced package management
  system.
 
 It's very often this level of package that ends up driving system
 upgrades, in my experience.  End-users are very sensitive to
 features.  Gallery is moving forward fairly fast.  I certainly
 wouldn't want to downgrade from 1.4 myself. 
 
 I'm curious how Gallery works as a package; on my system it's
 installed in at least 3 separate directories that I know of (you need
 to do that to have multiple galleries on the server).  

True. In my case I was fortunate enough that my users didn't know what
they were missing - they were just glad that I had software that could
do that sort of thing at all. (In my case, this is mainly for family and
friends. I know this doesn't work in a lot of business environments.
I'm fairly sure it would not work for any of my customers.)

Gallery installs itself to work with the default domain for a stock
Apache install. To get it working on multiple domains, you have to copy
and reconfigure some stuff (I've never tried this myself, so I may be
making it sound much simpler than it actually is.)

If all else fails, you could always use equivs to tell dpkg and apt that
you have a newer version installed.

Jacob

- 
GnuPG Key: 1024D/16377135

Slight disorientation after prolonged system uptime is normal for new
Linux users. Please do not adjust your browser. 


pgp0.pgp
Description: PGP signature