FS#57148 - [php-apache] php-apache is allowed to install with php71

Attached to Project: Arch Linux
Opened by John Random (opalinsp) - Friday, 19 January 2018, 00:53 GMT
Last edited by Eli Schwartz (eschwartz) - Friday, 19 January 2018, 00:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
It is possible to install php-apache and php71 packages at the same time. Installing both breaks php extension modules - they fail to start with various errors, i.e.:
PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli.so' (tried: /usr/lib/php/modules/mysqli.so (/usr/lib/php/modules/mysqli.so: undefined symbol: vspprintf), /usr/lib/php/modules/pdo_mysql.so.so (/usr/lib/php/modules/pdo_mysql.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

All is fixed upon installing php71-apache.
Long-term fix: php-apache should not allowed to install alongside php71


Additional info:
* package version(s) 7.2.1-1
* config and/or log files etc. N/A


Steps to reproduce:
Install packages: php71 php-apache
Configure php and apache according to wiki
Start/restart httpd running php71
Errors can be seen in /var/log/httpd/error_log
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Friday, 19 January 2018, 00:57 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#57068 

Loading...