• 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

how to update apache and php

Loic66

New Pleskian
Can somebody tell me the command to update apache and php to the last version. I have updated php but seems that apache 2.2 is not compatible ...


root@sd-49300:/usr/lib/php5/20090626# service apache2 start
* Starting web server apache2 apache2: Syntax error on line 210 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: undefined symbol: ap_unixd_config
Action 'start' failed.
 
Apache is OS vendor package:

[root@ppu12-0 ~]# rpm -qi httpd
Name : httpd Relocations: (not relocatable)
Version : 2.2.15 Vendor: CentOS
Release : 47.el6.centos Build Date: Mon 24 Aug 2015 11:51:22 PM NOVT
Install Date: Mon 31 Aug 2015 08:32:47 AM NOVT Build Host: c6b8.bsys.dev.centos.org
Group : System Environment/Daemons Source RPM: httpd-2.2.15-47.el6.centos.src.rpm
Size : 2919589 License: ASL 2.0
Signature : RSA/SHA1, Tue 25 Aug 2015 12:20:54 AM NOVT, Key ID 0946fca2c105b9de
Packager : CentOS BuildSystem <http://bugs.centos.org>

So, use OS package manager and OS vendor's repository for updating Apache.
Regarding PHP update on Plesk - there are a lot of information. Just try to use search, google, etc.
 
So, use OS package manager and OS vendor's repository for updating Apache.
What are the exact ssh command for that?
Thanks,
 
So, use OS package manager and OS vendor's repository for updating Apache.
What are the exact ssh command for that?
Thanks,
Use yum for CentOS or apt-get OS package manager if you have Debian or Ububntu. More details you can find in any Linux administration guides.
 
Back
Top