• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 404
  • Last Modified:

Upgrade php solaris 10 x86

Hi,

I would need some help with upgrading php 5.2.13 to 5.3.15 on a Solaris 10 x86 platform.
We are using it for our apache2 web-server.
0
richpers
Asked:
richpers
  • 4
  • 3
1 Solution
 
arnoldCommented:
Do you usually compile your own, or do you use sunfreeware.com packages?

Do you have a test system where you can upgrade the php and test the site's functionality?
php -m will provide info on compiled modules that would need to be included in your compilation of the new version.
0
 
richpersAuthor Commented:
I have never upgraded php before.
But when i upgrade install other parts, so am i usually using sunfreeware.

I have a test system, so i will install the new php, and perform some tests, to verify that eveyrthing is working as it should.
0
 
arnoldCommented:
Pkgrm the current php, and install the new one.

Make sure to use the same install I.e. if your current one is in /opt make sure to get the new one that uses /opt as the install path.
Likely you have the /usr/local package.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
richpersAuthor Commented:
I've requested that this question be deleted for the following reason:

I have found a solution.
0
 
arnoldCommented:
Could you post the solution so others who may run into the same issue will have information.
0
 
richpersAuthor Commented:
I removed the php package from the global zone and keept the old one in the zone were i wanted to upgrade php.

After that so did i install the upgraded php in the global-zone.
I stopped apache and pointed apache to use php from the global zone instead.

And so far is it working.
0
 
richpersAuthor Commented:
I performed a couple of tests to get this working, and the solution presented did work.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now