Unix Technical Forum

Re: upgrading Perl, php, and mysql on raq-4i

This is a discussion on Re: upgrading Perl, php, and mysql on raq-4i within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> On Wed, 14 Dec 2005, Craig Dewick wrote: > Also, how can I change the php installation so it ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 09:04 AM
Liam Gretton
 
Posts: n/a
Default Re: upgrading Perl, php, and mysql on raq-4i

On Wed, 14 Dec 2005, Craig Dewick wrote:

> Also, how can I change the php installation so it supports the 'gettext()'
> function? I have a few sites running on my raq-4i using phpBB and the gallery2
> package, and those two packages need to have gettext() available to support
> proper international language support.


gettext can be downloaded from ftp://ftp.mirror.nl/pub/mirror/gnu/gettext
- it's a very simple build.

Once you've built that, you'll need to rebuild PHP, first using the
configure option --with-gettext=<path to gettext>

--
Liam Gretton Leiden, Netherlands
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 09:05 AM
Kralizec Craig
 
Posts: n/a
Default Re: upgrading Perl, php, and mysql on raq-4i

Liam Gretton <news@binliner.demon.nl> writes:

>On Wed, 14 Dec 2005, Craig Dewick wrote:


>> Also, how can I change the php installation so it supports the 'gettext()'
>> function? I have a few sites running on my raq-4i using phpBB and the gallery2
>> package, and those two packages need to have gettext() available to support
>> proper international language support.


>gettext can be downloaded from ftp://ftp.mirror.nl/pub/mirror/gnu/gettext
>- it's a very simple build.


>Once you've built that, you'll need to rebuild PHP, first using the
>configure option --with-gettext=<path to gettext>


Thanks Liam - the php package on the Cobalt server isn't one I built from
source. It came from one of the commercial Cobalt support places that offers
some free security-related upgrade packages to take over from where Sun
stopped.

Craig.
--
SUN RIPENED KERNELS - Surplus Sun Microsystems Equipment, Parts + Accessories
Waterfall, NSW, Australia - Operated by Craig Dewick - Founded in 1996
Main site: www.sunrk.com.au - Ebay Shop: www.ebayshops.com.au/sunripenedkernels
Ph: +612-9520-2547 - Fax: +612-9520-2557 - Mobile: 04-2163-0547 (int. +614)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 09:05 AM
Liam Gretton
 
Posts: n/a
Default Re: upgrading Perl, php, and mysql on raq-4i

On Sun, 18 Dec 2005, Kralizec Craig wrote:

> Thanks Liam - the php package on the Cobalt server isn't one I built from
> source. It came from one of the commercial Cobalt support places that offers
> some free security-related upgrade packages to take over from where Sun
> stopped.


You might be in trouble then, but you could always resort to building your
own PHP.

If you run the phpinfo() function against your current PHP engine, one of
the first items that it will output will show the command used to build
your version of PHP. You can at least use this as a basis for your own
rebuild.

--
Liam Gretton Leiden, Netherlands
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 09:19 AM
Craig Ian Dewick
 
Posts: n/a
Default Re: upgrading Perl, php, and mysql on raq-4i

Liam Gretton <news@binliner.demon.nl> writes:

>On Sun, 18 Dec 2005, Kralizec Craig wrote:


>> Thanks Liam - the php package on the Cobalt server isn't one I built from
>> source. It came from one of the commercial Cobalt support places that offers
>> some free security-related upgrade packages to take over from where Sun
>> stopped.


>You might be in trouble then, but you could always resort to building your
>own PHP.


Well that's easy enough to do, but it'll end up like perl in that even
though I've built and installed perl 5.8.7 in /usr/local, I can't replace
the default /usr/bin/perl because of dependencies that will make other parts
of the system fail to work properly. It's probably something that's
resolvable without too much drama, but so far I haven't found a document
detailing how to replace the vendor-supplied perl packages with a
locally-compiled up to date version.

>If you run the phpinfo() function against your current PHP engine, one of
>the first items that it will output will show the command used to build
>your version of PHP. You can at least use this as a basis for your own
>rebuild.


Thanks Liam that's a good tip.

Craig.
--
Craig Dewick (craig@poison.lios.apana.org.au). http://lios.apana.org.au/~craig
APANA Sydney Deputy Regional Co-ordinator. Operator of Jedi (APANA Sydney POP)
Always striving for a secure long-term future in an insecure short-term world
Have you exported a crypto system today? Do your bit to undermine the NSA.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:13 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com