skip to Main Content

I have enabled php 7.3 sudo a2enmod php7.3 but PHP_VERSION_ID contains old version 50640(apache restarted). Here is what is the server version

php -v
PHP 7.3.15-3+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Feb 23 2020 07:23:33) ( NTS )

what else need to change?

2

Answers


  1. Chosen as BEST ANSWER

    remove /etc/apache2/conf-enabled/php5.6-fpm.conf solved the problem


  2. Can you try to create a file in your web folder and add

    <?php
    
    phpinfo()
    

    Make sure your apache has been moved to the new PHP version.

    Can you share the DISTRO and what steps you take to enable the PHP 7.3

    Thank you

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search