Help - Search - Members - Calendar
Full Version: Apache and PHP Upgrade Problems
The Planet Forums > Control Panels > Plesk
Ky Kiske
I have been trying to upgrade my server for the past two months and I have no idea what do. I tried to install with the guide in this forum but I am lost on what to do. I can't find where PHP is running or Apache. Also I tried the /usr/sbin/httpd and it said it isn't a directory. I found etc/httpd it has
CODE
conf  conf.d  logs  modules  run
in it but why would this say Apache is running in /usr/sbin/httpd? I also fun phpinfo.ini in /etc/ and /etc/php.d/ that has
CODE
imap.ini  ldap.ini  mysql.ini  odbc.ini  pgsql.ini
What am I suppose to do? How do I upgrade the packages with this?





CODE
# ps -ef



UID        PID  PPID  C STIME TTY          TIME CMD



root         1     0  0 Sep09 ?        00:00:09 init



root     27299     1  0 Sep09 ?        00:00:02 syslogd -m 0



named    27682     1  0 Sep09 ?        00:00:22 /usr/sbin/named -u named -c /etc



root     28355     1  0 Sep09 ?        00:00:02 /usr/sbin/sshd



root     28834     1  0 Sep09 ?        00:00:00 xinetd -stayalive -pidfile /var/



root     30819     1  0 Sep09 ?        00:00:00 /bin/sh /usr/bin/safe_mysqld --d



mysql    32099 30819  0 Sep09 ?        00:04:34 /usr/libexec/mysqld --defaults-f



root      2177     1  0 Sep09 ?        00:00:01 /usr/bin/spamd -d -c -a -m5 -H  



popuser   3105     1  0 Sep09 ?        00:00:01 /usr/bin/spamd --username=popuse



popuser   3394     1  0 Sep09 ?        00:00:01 /usr/bin/spamd --username=popuse



root      3410     1  0 Sep09 ?        00:00:41 /usr/sbin/httpd



postgres  4545     1  0 Sep09 ?        00:00:02 /usr/bin/postmaster -p 5432



postgres  4611  4545  0 Sep09 ?        00:00:00 postgres: stats buffer process  



postgres  4647  4611  0 Sep09 ?        00:00:00 postgres: stats collector proces



root      7492     1  0 Sep09 ?        00:00:17 /usr/local/psa/admin/bin/httpsd



drweb    10113     1  0 Sep09 ?        00:00:01 /opt/drweb/drwebd



root     10433     1  0 Sep09 ?        00:00:01 crond



root     10785     1  0 Sep09 ?        00:00:00 smbd -D



root     10086  3410  0 Sep13 ?        00:00:00 /usr/sbin/httpd



psaadm   23370  7492  0 Sep14 ?        00:00:00 /usr/local/psa/admin/bin/httpsd



psaadm   23396  7492  0 Sep14 ?        00:00:00 /usr/local/psa/admin/bin/httpsd



psaadm   23427  7492  0 Sep14 ?        00:00:00 /usr/local/psa/admin/bin/httpsd



psaadm   23456  7492  0 Sep14 ?        00:00:00 /usr/local/psa/admin/bin/httpsd



psaadm   23525  7492  0 Sep14 ?        00:00:00 /usr/local/psa/admin/bin/httpsd



psaadm   25794  7492  0 Sep14 ?        00:00:00 /usr/local/psa/admin/bin/httpsd



root     27012 28355  0 Sep14 ?        00:00:00 /usr/sbin/sshd



10006    28772 27012  0 Sep14 ?        00:00:00 /usr/sbin/sshd



10006    28801 28772  0 Sep14 ?        00:00:00 /usr/libexec/openssh/sftp-server



10006    25568 28772  0 Sep14 pts/0    00:00:00 -bash



root      4158 25568  0 Sep14 pts/0    00:00:00 su



root      5440  4158  0 Sep14 pts/0    00:00:00 bash



apache   16417  3410  0 00:04 ?        00:00:00 /usr/sbin/httpd



apache   16901  3410  0 00:04 ?        00:00:00 /usr/sbin/httpd



apache   17634  3410  0 00:04 ?        00:00:01 /usr/sbin/httpd



apache   26561  3410  0 00:04 ?        00:00:01 /usr/sbin/httpd



apache    6533  3410  0 00:06 ?        00:00:00 /usr/sbin/httpd



root     31780  5440  0 00:07 pts/0    00:00:00 ps -ef
NightStorm
The easiest way to upgrade php, and Apache with Plesk is to use AtomicRocketTurtle's Repository and yum.
http://www.atomicrocketturtle.com
Once you set up yum to use his files, you just type in:

yum update php* httpd*

And let it go. You can use it for MySQL as well. Very clean, simple, and complete.
Ky Kiske
I am a pretard. Where is yum?
NightStorm
Assuming you have Redhat ES3:

Log into your server with SSH and su to root (or log in direct, if you have not disabled that)

CODE
rpm -Uhvhttp://www.atomicrocketturtle.com/atomic/art/3ES/RPMS/yum-2.0.7-1.rhel3.art.noarch.rpm

CODE
vi /etc/yum.conf
Place a # infront of the repositories that are there (comment it out), and paste this in:
CODE
[atomic]

name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS

baseurl=http://3es.atomicrocketturtle.com/atomic/art/$releasever/

baseurl=http://www.atomicrocketturtle.com/atomic/art/$releasever/



[psa-7.5]

name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 7.5 RPMS

baseurl=http://3es.atomicrocketturtle.com/atomic/psa-7.5/$releasever/

baseurl=http://www.atomicrocketturtle.com/atomic/psa-7.5/$releasever/
Then, close vi (ESC, then :wq to save) and type in
CODE
yum update php* httpd*
Ky Kiske
CODE
warning: /var/tmp/rpm-xfer.e6z7Y4: V3 DSA signature: NOKEY, key ID 5ebd2744

error: Failed dependencies:

       libxml2-python is needed by yum-2.0.7-1.rhel3.art

       rpm-python is needed by yum-2.0.7-1.rhel3.art


I get this. How can I fix that?

CODE
CPU GenuineIntel, Intel(R) Xeon(TM) CPU 2.40GHz

Version psa v7.5.2_build75050204.16 os_RedHat 9

OS Linux 2.4.20-021stab022.11.777-enterprise
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.