soap not loading - php 5.3

Support/Development for PHP
davew34
Forum User
Forum User
Posts: 7
Joined: Tue Jan 15, 2013 2:02 pm
Location: United States

soap not loading - php 5.3

Unread post by davew34 »

soap not loading. Not sure what to do here.
Update Zend, PHP, or ?
Edit php.ini file.



Need to install SOAP.
Running Magento on website.
-----------------------

Steps to install:
[ etc]# uname -i
i386

[ etc]# cat /etc/redhat-release
CentOS release 5.5 (Final)

PHP Version => 5.3.3

[ etc]# yum install php53-soap.i386
Package php53-soap is obsoleted by php-soap, trying to install php-soap-5.3.20-13.el5.art.i386 instead
Resolving Dependencies
--> Running transaction check
---> Package php-soap.i386 0:5.3.20-13.el5.art set to be updated
--> Processing Dependency: php-common = 5.3.20-13.el5.art for package: php-soap
--> Running transaction check
--> Processing Dependency: php-common = 5.3.15-7.el5.art for package: php-mcrypt
---> Package php-common.i386 0:5.3.20-13.el5.art set to be updated
--> Running transaction check
---> Package php-mcrypt.i386 0:5.3.20-13.el5.art set to be updated
--> Finished Dependency Resolution


Restarted apache

[ etc]# php -i | grep soap
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/soap.so' - /usr/lib/php/modules/soap.so: undefined symbol: zval_property_ctor in Unknown on line 0

[ etc]# php -i | grep 'PHP Version'
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/soap.so' - /usr/lib/php/modules/soap.so: undefined symbol: zval_property_ctor in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/fileinfo.so' - /usr/lib/php/modules/fileinfo.so: undefined symbol: zval_property_ctor in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/soap.so' - /usr/lib/php/modules/soap.so: undefined symbol: zval_property_ctor in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/zip.so' - /usr/lib/php/modules/zip.so: undefined symbol: zval_property_ctor in Unknown on line 0

Before the yum soap install, I was getting the same error message when I grep search for the php.ini file.
[ ~]# php -i | grep ini
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/fileinfo.so' - /usr/lib/php/modules/fileinfo.so: undefined symbol: zval_property_ctor in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/zip.so' - /usr/lib/php/modules/zip.so: undefined symbol: zval_property_ctor in Unknown on line 0

Thoughts? Next steps?
Thanks in advance.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: soap not loading - php 5.3

Unread post by scott »

You should probably upgrade from php53 to php 5.3.20 first
davew34
Forum User
Forum User
Posts: 7
Joined: Tue Jan 15, 2013 2:02 pm
Location: United States

Re: soap not loading - php 5.3

Unread post by davew34 »

Okay.
I'm looking around to find what the upgrade might do to our plesk panel install 10.4.4.

Will this allow selection of correct php 5.3.20 package:
wget -q -O - http://www.atomicorp.com/installers/atomic | sh

Thanks.
davew34
Forum User
Forum User
Posts: 7
Joined: Tue Jan 15, 2013 2:02 pm
Location: United States

Re: soap not loading - php 5.3

Unread post by davew34 »

Reading over the PHP wiki I am not clear once I enter the "yum upgrade" that I'll be able to select the 5.3.20 package.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: soap not loading - php 5.3

Unread post by breun »

I think you might have a mix of packages from different PHP distributions installed. What is the output of rpm -qa | grep ^php | sort?
Lemonbit Internet Dedicated Server Management
davew34
Forum User
Forum User
Posts: 7
Joined: Tue Jan 15, 2013 2:02 pm
Location: United States

Re: soap not loading - php 5.3

Unread post by davew34 »

# rpm -qa | grep ^php | sort

php53-5.3.3-13.el5_8
php53-cli-5.3.3-13.el5_8
php53-gd-5.3.3-13.el5_8
php53-imap-5.3.3-13.el5_8
php53-mbstring-5.3.3-13.el5_8
php53-mysql-5.3.3-13.el5_8
php53-pdo-5.3.3-13.el5_8
php53-sqlite2-5.3.2-11070811
php53-xml-5.3.3-13.el5_8
php5-ioncube-loader-4.0.7-11031509
php-common-5.3.20-13.el5.art
php-mcrypt-5.3.20-13.el5.art
php-soap-5.3.20-13.el5.art
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: soap not loading - php 5.3

Unread post by breun »

You're mixing php53* packages from the EL5 base repository with php* packages from the Atomic repository. That's not going to work. Choose one or the other and make sure all of your PHP packages are from the same version and repository.
Lemonbit Internet Dedicated Server Management
davew34
Forum User
Forum User
Posts: 7
Joined: Tue Jan 15, 2013 2:02 pm
Location: United States

Re: soap not loading - php 5.3

Unread post by davew34 »

Thanks for the information.
Learning as I go.

I've just installed these:
  • php-common-5.3.20-13.el5.art
    php-mcrypt-5.3.20-13.el5.art
    php-soap-5.3.20-13.el5.art
To get a clean set of files what do you suggest?
And if you recommend removing them, not sure about ssh commands. Any suggestions are appreciated.

[Edit]
yum remove php-common-5.3.20-13.el5.art
And continue down the list of the 3 above?
Would this work? Suggested?

Next item is how to tell server where to pull packages from.
I typed in # yum install php53-soap.i386.
I seem to have gone to the atomicorp.com repository.
Not sure why.
davew34
Forum User
Forum User
Posts: 7
Joined: Tue Jan 15, 2013 2:02 pm
Location: United States

Re: soap not loading - php 5.3

Unread post by davew34 »

Taking a few steps forward and a few back.
Have successfully removed the "php-soap-5.3.20-13.el5.art" with "yum remove php-soap-5.3.20-13.el5.art"

Found the package php53-soap.
Issued yum install command and it says it's obsolete and trys to reinstall the previous 5.3.20 version of soap that I just removed. See below.



# yum install php53-soap
addons | 1.9 kB 00:00
addons/primary_db | 1.1 kB 00:00
atomic | 1.9 kB 00:00
atomic/primary_db | 692 kB 00:00
base | 1.1 kB 00:00
base/primary | 967 kB 00:00
base 2725/2725
c5-testing | 1.9 kB 00:00
c5-testing/primary_db | 1.5 MB 00:00
extras | 2.1 kB 00:00
extras/primary_db | 166 kB 00:00
updates | 1.9 kB 00:00
updates/primary_db | 91 kB 00:00
Reducing CentOS-5 Testing to included packages only
Finished
Setting up Install Process
Package php53-soap is obsoleted by php-soap, trying to install php-soap-5.3.20-13.el5.art.i386 instead
Resolving Dependencies
--> Running transaction check
---> Package php-soap.i386 0:5.3.20-13.el5.art set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================== ================================================== ==================================================
Package Arch Version Repository Size
================================================== ================================================== ==================================================
Installing:
php-soap i386 5.3.20-13.el5.art atomic 280 k

Transaction Summary
================================================== ================================================== ==================================================
Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 280 k
Is this ok [y/N]: n
Exiting on user Command
Complete!
[root@]#
davew34
Forum User
Forum User
Posts: 7
Joined: Tue Jan 15, 2013 2:02 pm
Location: United States

Re: soap not loading - php 5.3

Unread post by davew34 »

Did the research and a few "hail marys".

Uninstalled packages that were inconsistent.
Used the atomic repo for the php 5.3.20 install/upgrade.

Had a few plesk related items that are documented here: http://kb.parallels.com/en/111630

Had to install soap & mcrypt for magento installation.

Safe Mode was on. Commented it out in php.ini file.

All seems to be working.
These boards are invaluable and always appreciate your help.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: soap not loading - php 5.3

Unread post by breun »

davew34 wrote:Found the package php53-soap.
It's in the default OS repository, so yumdownloader php53-soap should have downloaded it for you.
davew34 wrote:Issued yum install command and it says it's obsolete and trys to reinstall the previous 5.3.20 version of soap that I just removed. See below.
The php-soap package from the Atomic repository apparently says it obsoletes php53-soap. I don't know if the other php* packages in the Atomic repository do the same thing for their php53* counterparts, but if they do then a yum upgrade should have updated all of your PHP packages to 5.3.20 from Atomic.

But it seems you already managed to sort it out manually. :)
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: soap not loading - php 5.3

Unread post by scott »

They're all tagged "Obsoletes", this to allow for transitions from php53 -> php through yum in one step. Otherwise you'd have to remove php53 before upgrading to php. (And Im sure you know removing php53 through yum would also remove psa!)
Post Reply