How do I upgrade php version?

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: How do I upgrade php version?

Unread post by breun »

webfeatus wrote:ssh2
- I know that this is required for Plesk 11 upgrade.
- But I have no knowledge except it looks important :?
I've never had the ssh2 PHP module on any of our Plesk servers and most of them are running Plesk 11. I'm sure it's not required for any version of Plesk.

For starters, what PHP packages do you have currently installed (rpm -qa | grep -i php). Did you ever build PHP modules from source? (If you'd like your server cleaned up and maintained by us, give us a shout at the address below.)
Lemonbit Internet Dedicated Server Management
User avatar
webfeatus
Forum Regular
Forum Regular
Posts: 196
Joined: Wed Jan 13, 2010 9:11 am
Location: Bali

Re: How do I upgrade php version?

Unread post by webfeatus »

I only ever install using yum update
But I took the atomic.repo out about 12 months ago.
And only used the asl.repo and the centos.repos
Recently re-added the atomic.repo

See attached output file.
Attachments
output.zip
output file
(8.7 KiB) Downloaded 524 times
Last edited by webfeatus on Fri Feb 01, 2013 9:12 am, edited 1 time in total.
They say that good intentions, pave the road to hell;
If a thing is not worth doing, it's not worth doing well.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: How do I upgrade php version?

Unread post by breun »

webfeatus wrote:I only ever install using yum update
But I took the atomic.repo out about 12 months ago.
If you ever stop using a repository, make sure you longer have any packages from that repository installed, or you'll be stuck with packages that don't get updated anymore and might leave you vulnerable when exploits are discovered.
webfeatus wrote:

Code: Select all

# locate ssh2
/root/libssh2-1.2.4
(...)
Seems like someone downloaded a source package to me. :) I'm not sure this is also the source for a PHP module though.
webfeatus wrote:

Code: Select all

/usr/lib/php/modules/ssh2.so
What does rpm -qf /usr/lib/php/modules/ssh2.so report as the owning package of this file?
webfeatus wrote:

Code: Select all

/usr/local/include/libssh2.h
/usr/local/include/libssh2_sftp.h
/usr/local/lib/libssh2.a
/usr/local/lib/libssh2.la
/usr/local/lib/libssh2.so
/usr/local/lib/libssh2.so.1
/usr/local/lib/libssh2.so.1.0.1
/usr/local/lib/pkgconfig/libssh2.pc
(...)
That does look like an install from source to me. Or does rpm -qf /usr/local/lib/libssh2.so return an owning package?
webfeatus wrote:

Code: Select all

# rpm -qa
(...)
Woah, just the PHP-related packages would have been fine. :) (Or please at least pipe this list through sort next time.)

Anyway, installed PHP packages look fine. I guess some PHP modules were installed without using package management. What does rpm -qf /usr/lib*/php/modules/* return?
Lemonbit Internet Dedicated Server Management
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: How do I upgrade php version?

Unread post by scott »

@webfeatus - Dont spam the forums like that.
User avatar
webfeatus
Forum Regular
Forum Regular
Posts: 196
Joined: Wed Jan 13, 2010 9:11 am
Location: Bali

Re: How do I upgrade php version?

Unread post by webfeatus »

Sorry about that.
The post has been edited.
They say that good intentions, pave the road to hell;
If a thing is not worth doing, it's not worth doing well.
Post Reply