• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Php 5.2.8

P

Pyromanci

Guest
Ok,

I am running into a few problems. I have a API for our email marketing server that requires php 5.2.6 or greater. I am trying to avoid any conflicts with Plesk during this update or if plesk will support it.

I am currently running Plesk 9.0.0 on a CentOS 5 server.
 
5.2.6 is fine to use, and so is 5.2.8 if you find the packages that fix the memory leaks. Stay away from 5.2.7 though it is full of problems.
 
This works for installing PHP-5.2.6 on Centos 5

http://192.168.0.252/WIKI2/index.php/Centos_5_-_PHP-5.2
You basically get the source RPMS from fedora10, and rebuild them for your machine.

You can safely do this by removing all existing 5.1.6 PHP rpms using yum.

To install, use rpm -Uvh php* with the files that are created.

You will not be able to use yum again for php related files, unless you want to use the CentOS testing repository.
Or create your own repository with the files built

Good luck.
 
I am running 5.28 and httpd 2.2.11

Scott from atomicrocketurtle.com has php 5.28 packages if you can't build your own rpms.
 
Thank you everyone for your input. I added the atomic turtle into my yum repository list and updated that way. Everything seems to be working great.
 
Hi,
I've got a problem with this tips.
no problems but the php stay in 5.1.6

(CentOS 5 Plesk 9.0.1)

see the logs.

wget -q -O - http://www.atomicorp.com/installers/atomic |sh

Atomic Archive installer, version 1.0.14
Configuring the [atomic] yum archive for this system

Installing the Atomic GPG key: OK
Downloading atomic-release-1.0-10.el5.art.noarch.rpm: OK

Would you like to add the Plesk yum repository to the system?

Enable Plesk repository? (y/n) [Default: n]: y

Plesk 8.6 and 9.0 repositories are available:
NOTE: Plesk 9 repos are only available for rhel/centos 4 and 5

Enable Plesk 8.6 or 9.0? (8/9) [Default: 8]: 9


The Atomic Rocket Turtle archive has now been installed and configured for your system
The following channels are available:
atomic - [ACTIVATED] - contains the stable tree of ART packages
atomic-testing - [DISABLED] - contains the testing tree of ART packages
atomic-bleeding - [DISABLED] - contains the development tree of ART packages


[root@xxxxxxxxxx ~]# yum upgrade php
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* plesk: 3es.atomicrocketturtle.com
* extras: ftp.pasteur.fr
* updates: ftp.pasteur.fr
* base: ftp.pasteur.fr
* addons: ftp.pasteur.fr
plesk 100% |=========================| 951 B 00:00
Excluding Packages from Plesk Server Administrator
Finished
Setting up Upgrade Process
Could not find update match for php
No Packages marked for Update
[root@xxxxxxxxxx ~]# php -v
PHP 5.1.6 (cli) (built: Jul 16 2008 19:53:00)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with the ionCube PHP Loader v3.1.16, Copyright (c) 2002-2006, by ionCube Ltd.


:( what is wrong ???

thanks for help...
 
Are you using a customized version of yum by any chance? That site ftp.pasteur.fr doesnt look right at all, like maybe someone hard coded different paths
 
no,
i just do a "yum update yum"

how define "good sources" ?
or how to be sure to have a classical version of yum.

in /etc/yum.repos.d/
i'v got 3 files :

1/ CentOS-Base.repo
::::::::::::::
CentOS-Base.repo
::::::::::::::
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

2/ CentOS-Media.repo
::::::::::::::
CentOS-Media.repo
::::::::::::::
# CentOS-Media.repo
#
# This repo is used to mount the default locations for a CDROM / DVD on
# CentOS-5. You can use this repo and yum to install items directly off the
# DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
# yum --enablerepo=c5-media [command]
#
# or for ONLY the media repo, do this:
#
# yum --disablerepo=\* --enablerepo=c5-media [command]

[c5-media]
name=CentOS-$releasever - Media
baseurl=file:///media/CentOS/
file:///media/cdrom/
file:///media/cdrecorder/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-beta

3/ plesk.repo
::::::::::::::
plesk.repo
::::::::::::::
[plesk]
name=Plesk Server Administrator
mirrorlist=http://www.atomicorp.com/mirrorlist/plesk/9/centos-$releasever-$basearch
gpgcheck=0
enabled=1
# Plesk RPM bug
exclude=psa-mail-qc-driver*


Is it ok ?
thks.

EDIT :
I clean the yum cache ... but nothing change :(
yum clean all
Loading "fastestmirror" plugin
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@ycorpfriends yum.repos.d]# yum upgrade yum
Loading "fastestmirror" plugin
Determining fastest mirrors
* plesk: 3es.atomicrocketturtle.com
* extras: ftp.free.fr
* updates: ftp.free.fr
* base: ftp.free.fr
* addons: ftp.free.fr
plesk 100% |=========================| 951 B 00:00
primary.xml.gz 100% |=========================| 73 kB 00:00
plesk : ################################################## 189/189
extras 100% |=========================| 1.1 kB 00:00
primary.xml.gz 100% |=========================| 90 kB 00:00
extras : ################################################## 295/295
updates 100% |=========================| 951 B 00:00
primary.xml.gz 100% |=========================| 374 kB 00:00
updates : ################################################## 805/805
base 100% |=========================| 1.1 kB 00:00
primary.xml.gz 100% |=========================| 853 kB 00:00
base : ################################################## 2458/2458
addons 100% |=========================| 951 B 00:00
primary.xml.gz 100% |=========================| 157 B 00:00
Excluding Packages from Plesk Server Administrator
Finished
Setting up Upgrade Process
Could not find update match for yum
No Packages marked for Update
[root@xxxxxxxxxxxxx yum.repos.d]# yum upgrade php
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* plesk: 3es.atomicrocketturtle.com
* extras: ftp.free.fr
* updates: ftp.free.fr
* base: ftp.free.fr
* addons: ftp.free.fr
Excluding Packages from Plesk Server Administrator
Finished
Setting up Upgrade Process
Could not find update match for php
No Packages marked for Update
[root@xxxxxxxx yum.repos.d]# php -v
PHP 5.1.6 (cli) (built: Jul 16 2008 19:53:00)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with the ionCube PHP Loader v3.1.16, Copyright (c) 2002-2006, by ionCube Ltd.
 
Last edited by a moderator:
Looks like the atomic repo isnt active, you should check your configs to see why its not in there. The installer does set it up for you, but if you edit the /etc/yum.repo.d/atomic.repo (or move it) it would disable the channel
 
Back
Top