• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

PHP 5.2.3 installation....

S

sathtek

Guest
Hello....
How can i install php 5.2.3 on plesk 8.2, currently i have php5.1.6, kindly guide me how to update php to version 5.2.3 through plwsk 8.2 control panel...
 
Sir...
This article is related to OS Centos and if my current version is 4.3.x

but my OS is Fedore core 6
and my currnet php version is 5.1.6

kindly tell me if it is possible to do through my plesk 8.2 control panel....
 
Hi

I have the same problem (trying to upgrade php from 5.1.6 to 5.2.3 on Plesk 8.2.0), but I am using CentOS 5.

How can I do this?

Cheers
 
Originally posted by atomicturtle
Same way outlined above

You said you only make packages for CentOS 3/4, surely it wont work with CentOS 5?
 
I followed the wiki from ART. I get the following after "yum install php-pear"

Error: Missing Dependency: php = 4.3.9-3.22.9 is needed by package php-pear
Error: Missing Dependency: php-common = 5.2.3-1.el4.art is needed by package php-xml
Error: Missing Dependency: php-common = 5.2.3-4.el4.art is needed by package php-pdo

Not sure what I'm missing or need to do.
 
bash-3.00# rpm -qa |grep ^php-

php-domxml-4.3.9-3.18.1.swsoft
php-mbstring-4.3.9-3.18.1.swsoft
php-pear-4.3.9-3.18.1.swsoft
php-sqlite2-1.0.2-200611091324
php-gd-4.3.9-3.18.1.swsoft
php-mysql-4.3.9-3.18.1.swsoft
php-pgsql-4.3.9-3.18.1.swsoft
php-ioncube-loader-3.0-06101816
php-4.3.9-3.18.1.swsoft
php-imap-4.3.9-3.18.1.swsoft
php-ncurses-4.3.9-3.18.1.swsoft
php-snmp-4.3.9-3.18.1.swsoft
php-devel-4.3.9-3.18.1.swsoft
php-ldap-4.3.9-3.18.1.swsoft
php-odbc-4.3.9-3.18.1.swsoft
php-xmlrpc-4.3.9-3.18.1.swsoft
 
I removed all the packages listed. When I went to run the yum it failed because it wanted the php-4.3... I found a copy of php-4.3. I tried to install it but it complained about needint php-pear. I found a copy of it and installed it using rpm -ivh --nodeps. Finally I was able to do the yum install php-pear. Restarted http and works fine.

Now I have the following installed.

bash-3.00# rpm -q|grep ^php-
rpmq: no arguments given for query
-bash-3.00# rpm -qa|grep ^php-
php-cli-5.2.3-5.el4.art
php-common-5.2.3-5.el4.art
php-pear-1.5.0-5.el4.art
php-5.2.3-5.el4.art

How do I get the correct version of these other extensions that I removed?

Also, what is the best way to update mysql?

-bash-3.00# rpm -qa|grep mysql-
dummymysql-2-1.swsoft
mysql-4.1.20-1.RHEL4.1
mysql-4.1.20-1.RHEL4.1
mysql-devel-4.1.20-1.RHEL4.1
libdbi-dbd-mysql-0.6.5-10.RHEL4.1
mysql-server-4.1.20-1.RHEL4.1
psa-ruby-mysql-2.7-200703301206

Thanks!
 
hi guys, in my centos 4.2 server I had the same problem with yum

Code:
[goofy ~]# rpm -qa |grep ^php-
php-4.3.9-3.22.9
php-mysql-5.2.3-4.el4.art
php-pdo-5.2.3-4.el4.art
php-domxml-4.3.9-3.22.9
php-imap-4.3.9-3.22.9
php-common-5.2.3-4.el4.art
php-pgsql-4.3.9-3.22.9
php-gd-4.3.9-3.22.9
php-ioncube-loader-3.0-06101212
php-mbstring-4.3.9-3.22.9
php-pear-4.3.9-3.22.9

[goofy ~]# rpm -e php --nodeps

[goofy ~]# yum install php
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php.i386 0:5.2.3-4.el4.art set to be updated
--> Running transaction check
--> Processing Dependency: php-cli = 5.2.3-4.el4.art for package: php
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package php-cli.i386 0:5.2.3-4.el4.art set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 php                     i386       5.2.3-4.el4.art  atomic            3.7 M
Installing for dependencies:
 php-cli                 i386       5.2.3-4.el4.art  atomic            2.6 M

Transaction Summary
=============================================================================
Install      2 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 6.3 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): php-5.2.3-4.el4.ar 100% |=========================| 3.7 MB    00:03
(2/2): php-cli-5.2.3-4.el 100% |=========================| 2.6 MB    00:02
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: php-cli                      ######################### [1/2]
  Installing: php                          ######################### [2/2]

Installed: php.i386 0:5.2.3-4.el4.art
Dependency Installed: php-cli.i386 0:5.2.3-4.el4.art
Complete!

but now i got this
Code:
[goofy ~]# rpm -qa |grep ^php-
php-mysql-5.2.3-4.el4.art
php-pdo-5.2.3-4.el4.art
php-domxml-4.3.9-3.22.9
php-imap-4.3.9-3.22.9
php-common-5.2.3-4.el4.art
php-cli-5.2.3-4.el4.art
php-pgsql-4.3.9-3.22.9
php-gd-4.3.9-3.22.9
php-ioncube-loader-3.0-06101212
php-mbstring-4.3.9-3.22.9
php-pear-4.3.9-3.22.9
php-5.2.3-4.el4.art
[goofy ~]#

and it is not working the mysql interfase... HELPª
 
yep, I read that link too....

searching the /etc/httpd/conf.d/php.conf.rpmnew
 
I didnt get those last file, in my web server i got this:


Code:
Database Error: Unable to connect to the database:The MySQL adapter "mysql" is not available.

mysql 5 was updated fine before php... :eek:
 
where does that error come from?

Does running this work?
mysql -uadmin -p`cat /etc/psa/.psa.shadow`

Those are ` (next to the 1 key) and not '
 
Back
Top