Apache not seeing updated PHP version
Updated PHP using port. The new version is displayed correctly when I ask for
php --version. But when I look at the PHP info on the local server, apache still seems to still see the old packed PHP version. How can I make apache use the updated PHP version? Thanks.
I am trying to use phpMyAdmin on a local web server to experiment with Wordpress, but the phpMyAdmin needs the updated PHP version.
Some more detail:
MacBook Pro, MacOS 13 High Sierra (this old MacBook cannot be updated beyond MacOS 13).
Output of php --version
PHP 7.2.34 (cli) (built: Jan 11 2024 03:20:43) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
The output from the phpinfo() shows in the section on Apache2 Handler:
Apache/2.4.33 (Unix) PHP/7.1.33
When trying to open phpMyAdmin, I get the following error:
PHP 7.2.5+ is required.
Currently installed version is: 7.1.33