Apache does not translate php code

hello,

i wanted to update php and i have installed another version of php but now apache does not translate php code

rpm -qa |grep php

php70w-pdo-7.0.23-1.w6.x86_64
php70w-process-7.0.23-1.w6.x86_64
php70w-common-7.0.23-1.w6.x86_64
php70w-7.0.23-1.w6.x86_64
php70w-mysql-7.0.23-1.w6.x86_64
php70w-mcrypt-7.0.23-1.w6.x86_64
php70w-xml-7.0.23-1.w6.x86_64
php70w-cli-7.0.23-1.w6.x86_64
php70w-gd-7.0.23-1.w6.x86_64
php70w-pear-1.10.4-1.w6.noarch

Run ./validate.php and go through the install docs again as you’re just missing something fundamental that’s covered there.

i have this erreur
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/sqlite3.so’ - /usr/lib64/php/modules/sqlite3.so: undefined symbol: sqlite3_errstr in Unknown on line 0

Yeah that’s a problem with how Apache is trying to load PHP. Is the php70w from webtatic repo?

yes i have the rpm in this adresse https://webtatic.com/packages/php56/ that what install the webtatic.repo

To me this means that webtatic needs to fix dependency issues, you’d need to report to them.

In the mean time, see if you can remove the rpm for that module. You may not need it.

Use:

rpm -qf /usr/lib64/php/modules/sqlite3.so

to see the package it relates to, and if the package isn’t critical then maybe remove the package.