Bug 1039179 - php version mismatch with httpd ?
Summary: php version mismatch with httpd ?
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: php
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Joe Orton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-06 20:33 UTC by Donald Cohen
Modified: 2014-02-25 06:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-29 17:00:16 UTC
Type: Bug


Attachments (Terms of Use)

Description Donald Cohen 2013-12-06 20:33:45 UTC
Description of problem:
I did
 yum install phpMyAdmin 
and after dependecy resolution this installed the following (from yum.log)

Dec 06 11:23:46 Installed: apr-1.4.6-6.fc19.x86_64 
Dec 06 11:23:47 Installed: apr-util-1.4.1-8.fc19.x86_64 
Dec 06 11:23:48 Installed: httpd-tools-2.4.6-2.fc19.x86_64 
Dec 06 11:23:52 Installed: httpd-2.4.6-2.fc19.x86_64 
Dec 06 11:23:53 Installed: libmcrypt-2.5.8-13.fc19.x86_64 
Dec 06 11:23:53 Installed: libzip-0.10.1-6.fc19.x86_64 
Dec 06 11:23:54 Installed: php-process-5.5.6-1.fc19.x86_64 
Dec 06 11:23:54 Installed: php-xml-5.5.6-1.fc19.x86_64 
Dec 06 11:23:55 Installed: php-cli-5.5.6-1.fc19.x86_64 
Dec 06 11:23:56 Installed: 1:php-pear-1.9.4-20.fc19.noarch 
Dec 06 11:23:57 Installed: php-common-5.5.6-1.fc19.x86_64 
Dec 06 11:23:58 Installed: php-pecl-jsonc-1.3.2-2.fc19.x86_64 
Dec 06 11:23:58 Installed: php-mbstring-5.5.6-1.fc19.x86_64 
Dec 06 11:23:59 Installed: php-php-gettext-1.0.11-7.fc19.noarch 
Dec 06 11:24:00 Installed: php-5.5.6-1.fc19.x86_64 
Dec 06 11:24:01 Installed: php-pdo-5.5.6-1.fc19.x86_64 
Dec 06 11:24:01 Installed: php-mysqlnd-5.5.6-1.fc19.x86_64 
Dec 06 11:24:04 Installed: php-mcrypt-5.5.6-1.fc19.x86_64 
Dec 06 11:24:04 Installed: t1lib-5.1.2-12.fc19.x86_64 
Dec 06 11:24:05 Installed: php-gd-5.5.6-1.fc19.x86_64 
Dec 06 11:24:08 Installed: phpMyAdmin-3.5.8.2-1.fc19.noarch 

After that I noticed that ssl is still missing, so ...
Dec 06 11:55:25 Installed: 1:mod_ssl-2.4.6-2.fc19.x86_64 

Now I try to start httpd and it fails with this in /var/log/messages:
Dec  6 12:01:51 localhost systemd[1]: Starting The Apache HTTP Server... 
Dec  6 12:01:51 localhost httpd[13999]: httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Synta
x error on line 6 of /etc/httpd/conf.modules.d/10-php.conf: Cannot load modules/libphp5.so into server: /et
c/httpd/modules/libphp5.so: symbol SSLeay_version, version OPENSSL_1.0.1 not defined in file libcrypto.so.1
0 with link time reference 
Dec  6 12:01:51 localhost systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE 
Dec  6 12:01:51 localhost httpd[14001]: httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Synta
x error on line 6 of /etc/httpd/conf.modules.d/10-php.conf: Cannot load modules/libphp5.so into server: /et
c/httpd/modules/libphp5.so: symbol SSLeay_version, version OPENSSL_1.0.1 not defined in file libcrypto.so.1
0 with link time reference 
Dec  6 12:01:51 localhost systemd[1]: httpd.service: control process exited, code=exited status=1 
Dec  6 12:01:51 localhost systemd[1]: Failed to start The Apache HTTP Server. 
Dec  6 12:01:51 localhost systemd[1]: Unit httpd.service entered failed state. 

line 6 of /etc/httpd/conf.modules.d/10-php.conf is
  LoadModule php5_module modules/libphp5.so

Comment 1 Donald Cohen 2013-12-06 22:13:13 UTC
yum update openssl 
seems to solve the problem.
It seems that this ought to be done by the yum install.

Comment 2 Joe Orton 2014-01-29 17:00:16 UTC
I think this was a case where OpenSSL update didn't apply symbol versioning quite correctly; annoying but hard to detect & avoid.  A "yum update" to the latest packages should work in those cases anyway.  Sorry!

Comment 3 Kishwer 2014-02-25 06:34:45 UTC
Follow the steps for respective OS from the given below links. Make sure, you do not have removed all previous installation for httpd. use 'yum list package-name' to find the list of installed package and use 'yum remove package-name' for removal. After that, run command 'yum clean all', then follow steps on given below links.

http://www.if-not-true-then-false.com/2010/lamp-linux-apache-mysql-php-on-fedora-centos-red-hat-rhel/


Note You need to log in before you can comment on or make changes to this bug.