• 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

Plesk 7.5.4 and PHP5 (again)

is there somebody who try do just this?

put PHP5 module into Apache modules folder and add the module into
httpd.conf configuration file (instead of PHP4) with "LoadModule"
directive, it will be used by Plesk automatically.
 
Originally posted by vangok
is there somebody who try do just this?

put PHP5 module into Apache modules folder and add the module into
httpd.conf configuration file (instead of PHP4) with "LoadModule"
directive, it will be used by Plesk automatically.

i almost built php5 from source on the server but i got this strict CGI warning about security and i know i wouldn't get any modules with it. (no mysql, etc)
 
All i want to know is how to remove "php-domxml" etc without yum trying to remove half of plesk?

Can somebody please provide an exact command? i have searched the forums and google forever.
 
I cleaned up a lot of that in the 5.2.3 release I put out last week. It should take care of the dom/xml issues as well as php-sqlite2 now.
 
Im just using CentOS "Plus" repo's, couldn't find any instructions/howto's/FAQ on atomicrocketturtle.com :(

Appears to be PHP 5.1.6 and Mysql 5.0.. i removed php-domxml manually with "rpm", then ran a "yum upgrade" and it installed php5/mysql5 so i guess all is fine for now.

(that said, thanks very much for replying quickly)
 
Originally posted by atomicturtle
I cleaned up a lot of that in the 5.2.3 release I put out last week. It should take care of the dom/xml issues as well as php-sqlite2 now.

Doesn't seem to be cleaned up :confused:

[root@ldc59 root]# rpm -qa |grep psa-8
psa-8.1.0-rhel4.build81061129.22
[root@ldc59 root]# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 4)
[root@ldc59 root]# up2date -f php*
Fetching Obsoletes list for channel: rhel-i386-es-4...

Fetching Obsoletes list for channel: atomic...

Name Version Rel
----------------------------------------------------------
php 5.2.3 1.el4.art i386
php-bcmath 5.2.3 1.el4.art i386
php-cli 5.2.3 1.el4.art i386
php-common 5.2.3 1.el4.art i386
php-dba 5.2.3 1.el4.art i386
php-devel 5.2.3 1.el4.art i386
php-domxml 4.3.9 3.22.5 i386
php-gd 5.2.3 1.el4.art i386
php-imap 5.2.3 1.el4.art i386
php-ioncube-loader 3.0 2.el4.art i386
php-ldap 5.2.3 1.el4.art i386
php-mbstring 5.2.3 1.el4.art i386
php-mysql 5.2.3 1.el4.art i386
php-ncurses 5.2.3 1.el4.art i386
php-odbc 5.2.3 1.el4.art i386
php-pdo 5.2.3 1.el4.art i386
php-pear 4.3.9 3.22.5 i386
php-pgsql 5.2.3 1.el4.art i386
php-snmp 5.2.3 1.el4.art i386
php-soap 5.2.3 1.el4.art i386
php-xml 5.2.3 1.el4.art i386
php-xmlrpc 5.2.3 1.el4.art i386


Testing package set / solving RPM inter-dependencies...

Downloading headers to solve dependencies...
#######################################
Downloading headers to solve dependencies...
There was a package dependency problem. The message was:

Unresolvable chain of dependencies:
php-domxml-4.3.9-3.22.5 requires php = 4.3.9-3.22.5
php-pear-4.3.9-3.22.5 requires php = 4.3.9-3.22.5


The following packages were added to your selection to satisfy dependencies:
Package Required by
----------------------------------------------------------------------------


Any Ideas?
 
Yeah, up2date cant resolve rpm dependencies to the same caliber that yum can. It's not parsing the Provides tags completely, so either use yum, or you'll have to manually remove those two conflicts.
 
Ok, installed yum and its dependencies from the DAG rpm archive.

now when I do:
[root@ldc592 root]# yum check-update
Warning, could not load sqlite, falling back to pickle
Setting up repositories
Reading repository metadata in from local files
atomic : ################################################## 150/150

mysql.i386 5.0.27-1.el4.art atomic
mysql-devel.i386 5.0.27-1.el4.art atomic
mysql-server.i386 5.0.27-1.el4.art atomic
php.i386 5.2.3-1.el4.art atomic
php-gd.i386 5.2.3-1.el4.art atomic
php-imap.i386 5.2.3-1.el4.art atomic
php-ioncube-loader.i386 1:3.0-2.el4.art atomic
php-mbstring.i386 5.2.3-1.el4.art atomic
php-mysql.i386 5.2.3-1.el4.art atomic
php-pear.noarch 1:1.5.0-5.el4.art atomic
spamassassin.i386 1:3.1.8-1.el4.art atomic


so now all that I need to do is yum update php.....and theoretically all should go well?

I may have to edit httpd.conf and loadmodule php5 and restart. (theroetically)

Thanks.
 
Originally posted by atomicturtle
including fix that sqlite error. Its probably going to come back to haunt you.


The sqlite error is going to haunt me? even if the script fixes it?

And at what point further down the php development cycles, or in the near future?

Sorry those will be my last questions hopefully then I will be performing the upgrade.
 
Back
Top