You are not logged in.
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
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
Offline
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
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
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