简体   繁体   中英

PHP_VERSION_ID contains old version

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?

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

删除/etc/apache2/conf-enabled/php5.6-fpm.conf解决了问题

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM