• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

Php 5.2 on plesk 8.2

G

ggillon

Guest
How can I install php 5.2 or 5.1 on a plesk 8.2 server ... I'm a complete noob ... so i really need a step by step stuf :)
 
If you don't mention what distribution and version you're running I don't think a lot of people will be able to help you.
 
I Just did a fresh install of PLesk 8.2.1 on my CentOS5-Server

Now, I have as php version 5.1.6, how can i upgrade this to 5.2.4 without breaking the stuff?:)

I know there is atomicrocketturtle, but some guidance on this specific platform would be appreciated...
 
Is there any specific reason you need PHP 5.2? If not, I'd just stay with the distibution's own packages.
 
yes there is, i need some functions of php which only work in 5.2.x

Otherwise I would leave it like it is, but I need 5.2
 
Well, it's pretty easy to enable Atomic Rocket Turtle's atomic yum channel using his installer:

Code:
wget -q -O - [url]http://www.atomicorp.com/installers/atomic.sh[/url] | sh

After that you'll be able to upgrade to PHP 5.2 using yum.

For more ART related questions there's also ART's forum.
 
***update. fixed by installing

python-elementtree
python-sqlite
python-urlgrabber

anyone run into this on a virtuozzo vps when using art

-bash-3.1# yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

/usr/lib/python2.4/site-packages/cElementTree.so: wrong ELF class: ELFCLASS32

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.4.3 (#1, Oct 23 2006, 14:19:45)
[GCC 4.1.1 20060525 (Red Hat 4.1.1-1)]
 
what distro and cpu architecture are you on?

You should not have to do any of that, the atomic installer should be doing that for you. Is there any chance you had yum or some other components already installed, or modified from source on that system?
 
redhat enterprise 4 as on virtuozzo, i386

yum was not installed beforehand, usually have to install python with yum also.

Originally posted by atomicturtle
what distro and cpu architecture are you on?

You should not have to do any of that, the atomic installer should be doing that for you. Is there any chance you had yum or some other components already installed, or modified from source on that system?
 
Yeah same here, I rolled that up into the atomic script. It was just too annoying running that down all the time. I have a routine in there that tries to figure out what packages are missing, heres the whole list (from atomic.sh):

RHEL4:
YUMDEPS="python-elementtree python-sqlite python-urlgrabber yum sqlite"

RHEL5:
YUMDEPS="python-elementtree python-sqlite python-urlgrabber yum sqlite m2crypto"
 
when I run

su -c 'yum update php'

or

yum update php

the output is:


[root@www ~]# yum update php
Repository extras is listed more than once in the configuration
Repository updates-released is listed more than once in the configuration
Repository base is listed more than once in the configuration
Setting up Update Process
Setting up repositories
base 100% |=========================| 1.1 kB 00:00
atomic 100% |=========================| 951 B 00:00
updates-released 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php.x86_64 0:5.2.3-4.fc4.art set to be updated
--> Running transaction check
--> Processing Dependency: php = 5.0.4-10.5 for package: php-devel
--> Processing Dependency: php = 5.0.4-10.5 for package: php-mysql
--> Processing Dependency: php = 5.0.4-10.5 for package: php-gd
--> Processing Dependency: php = 5.0.4-10.5 for package: php-bcmath
--> Processing Dependency: php-common = 5.2.3-4.fc4.art for package: php
--> Processing Dependency: php = 5.0.4-10.5 for package: php-xml
--> Processing Dependency: php = 5.0.4-10.5 for package: php-pear
--> Processing Dependency: php = 5.0.4-10.5 for package: php-dba
--> Processing Dependency: php-cli = 5.2.3-4.fc4.art for package: php
--> Processing Dependency: php = 5.0.4-10.5 for package: php-xmlrpc
--> Processing Dependency: php = 5.0.4-10.5 for package: php-ncurses
--> Processing Dependency: php = 5.0.4-10.5 for package: php-imap
--> Processing Dependency: php = 5.0.4-10.5 for package: php-mbstring
--> Processing Dependency: php = 5.0.4-10.5 for package: php-soap
--> Processing Dependency: /usr/bin/php for package: psa-horde
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package php-devel.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-xmlrpc.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-mysql.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-xml.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-cli.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-common.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-soap.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-bcmath.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-gd.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-imap.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-mbstring.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-ncurses.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package php-dba.x86_64 0:5.2.3-4.fc4.art set to be updated
--> Running transaction check
--> Processing Dependency: php-pdo for package: php-mysql
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: php-mysql
--> Processing Dependency: php = 5.0.4-10.5 for package: php-pear
--> Processing Dependency: automake for package: php-devel
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: php-mysql
--> Processing Dependency: autoconf for package: php-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package automake.noarch 0:1.9.5-1 set to be updated
---> Package mysql.x86_64 0:5.0.27-1.fc4.art set to be updated
---> Package php-pdo.x86_64 0:5.2.3-4.fc4.art set to be updated
---> Package autoconf.noarch 0:2.59-5 set to be updated
--> Running transaction check
--> Processing Dependency: libmysqlclient.so.14()(64bit) for package: mysql-server
--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14)(64bit) for package: psa
--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14)(64bit) for package: cs-gs
--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14)(64bit) for package: mysql-server
--> Processing Dependency: libmysqlclient_r.so.14()(64bit) for package: mysql-server
--> Processing Dependency: php = 5.0.4-10.5 for package: php-pear
--> Processing Dependency: libmysqlclient.so.14()(64bit) for package: psa-qmail
--> Processing Dependency: libmysqlclient.so.14()(64bit) for package: psa-courier-imap-add
--> Processing Dependency: mysql = 4.1.20-1.FC4.1 for package: mysql-server
--> Processing Dependency: libmysqlclient_r.so.14(libmysqlclient_14)(64bit) for package: mysql-server
--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14)(64bit) for package: psa-qmail
--> Processing Dependency: libmysqlclient.so.14(libmysqlclient_14)(64bit) for package: psa-courier-imap-add
--> Processing Dependency: libmysqlclient.so.14()(64bit) for package: psa
--> Processing Dependency: libmysqlclient.so.14()(64bit) for package: perl-DBD-MySQL
--> Processing Dependency: libmysqlclient.so.14()(64bit) for package: cs-gs
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package mysqlclient14.x86_64 0:4.1.22-2.fc4.art set to be updated
---> Package mysql-server.x86_64 0:5.0.27-1.fc4.art set to be updated
--> Running transaction check
--> Processing Dependency: php = 5.0.4-10.5 for package: php-pear
--> Finished Dependency Resolution
Error: Missing Dependency: php = 5.0.4-10.5 is needed by package php-pear


it complains about Error: Missing Dependency: php = 5.0.4-10.5 is needed by package php-pear? How do I by pass this? any idea?

here is some info about my runtime env:

Operating system Linux 2.6.16.27-061216a
Plesk version psa v8.2.1_build82070918.10 os_FedoraCore 4

Thanks,
- dave
 
This thread was extremely helpful to me, thanks everyone. I installed the atomic channel, and followed the instructions on the wiki and am good to go. And I'm even using FC4. Thanks again.
 
I wouldn't be too proud running FC4 when even FC6 will no longer receive security updates soon.
 
Back
Top