You are not logged in.

#1 2016-01-07 18:23:12

kde35
Member
Registered: 2015-04-13
Posts: 71

OpenSSL module disappeared after php, php-apache upgrade [solved]

Hi again.  I upgraded php, php-apache etc with pacman -Syu, I restarted Apache server, then I got this error

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/openssl.so' - /usr/lib/php/modules/openssl.so: cannot open shared object file: No such file or directory in Unknown on line 0

As a matter of fact, /etc/php/php.ini.pacnew doesn't even contain the line

:extension=openssl.so

(commented out or not)!
This is similar to my other post https://bbs.archlinux.org/viewtopic.php?pid=1589897 , except that reinstalling php doesn't give me back the shared object file. 
I even downgraded php-related package, but I still have no openssl module, and I can't run apache with php.  Would there be any solution other than restoring backed-up system?

(The only packages I upgraded to break apache were dcadec, php, php-apache, php-gd.  I suppose dcadec is irrelevant, and I already downgraded three other packages...)

Last edited by kde35 (2016-01-08 19:10:52)

Offline

#2 2016-01-07 19:05:47

hoerbert
Member
Registered: 2013-04-03
Posts: 87

Re: OpenSSL module disappeared after php, php-apache upgrade [solved]

Hi kde35,

in the news [0] it says that openssl now is built into php directly. Are you sure you need the .so-file?

Greetings,

Torben

[0] https://www.archlinux.org/news/php-70-p … -released/

Offline

#3 2016-01-07 21:02:56

smirky
Member
From: Bulgaria
Registered: 2013-02-23
Posts: 277
Website

Re: OpenSSL module disappeared after php, php-apache upgrade [solved]

He probably added it manually or he's using an old php.ini
openssl.so doesn't exist anymore, it's integrated into php so you don't need to do anything to enable it (since php 7).


Personal spot  ::  https://www.smirky.net/  ::  Try not to get lost!

Offline

#4 2016-01-07 21:04:17

kde35
Member
Registered: 2015-04-13
Posts: 71

Re: OpenSSL module disappeared after php, php-apache upgrade [solved]

Hi Torben,  you are probably right. So update to 7.0.1-5 yesterday already got rid of .so file.  So why am I having problem running apache with php and openssl since the update
to 7.0.2-1 today?  Incompatibility issue with my /etc/php/php.ini?

Offline

#5 2016-01-08 06:58:02

kde35
Member
Registered: 2015-04-13
Posts: 71

Re: OpenSSL module disappeared after php, php-apache upgrade [solved]

Finally, it was a very stupid "mistake" of mine.  I had to change 5 to 7 in the line

LoadModule php5_module modules/libphp5.so

of httpd.conf

Offline

Board footer

Powered by FluxBB