httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Bates <4ec...@nottheoilrig.com>
Subject [users@httpd] Conditionally LoadModule?
Date Tue, 15 Nov 2016 02:40:40 GMT
Why doesn't the following work?

> <If "-f /usr/lib/apache2/modules/libphp7.0.so">
>     LoadModule php7_module      modules/libphp7.0.so
> </If>
> <Else>
>     LoadModule php5_module      modules/libphp5.so
> </Else>

/usr/lib/apache2/modules/libphp7.0.so exists on my system,
but Apache keeps trying to load /usr/lib/apache2/modules/libphp5.so:

> Cannot load modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot
open shared object file: No such file or directory

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message