I'm running FreeBSD 11.2r15 inside a FreeNAS jail with a FAMP stack. Apache 2.4.43, MySQL 5.7.29_1, PHP 7.4.4. I am learning as I go along but have been maintaining and updating this server for a few years.
I can't seem to find a solution to this, so if I missed it, sorry. I really did search.
Last night I uninstalled PHP 7.3.16 and installed PHP 7.4.4 since pkg didn't give me an upgrade path
After then reinstalling all of the extensions that the uninstall removed (using pkg) I restarted Apache 2.4
Now, my PHP applications are giving me an error
when I checked that path, it doesn't exist. The path that does exist. The path that does exist is /usr/local/lib/php/20190902/ and the imap.so is properly located in that. I'm guessing all I need to do is properly change the path. The problem is that I cannot find that path listed anywhere to change it.
/usr/local/etc/php.conf reads
So I would have thought that it would pick it up, but I'm not sure where to look. Can anyone help?
I can't seem to find a solution to this, so if I missed it, sorry. I really did search.
Last night I uninstalled PHP 7.3.16 and installed PHP 7.4.4 since pkg didn't give me an upgrade path
Code:
pkg delete php73-7.3.16
pkg install php74-7.4.4
After then reinstalling all of the extensions that the uninstall removed (using pkg) I restarted Apache 2.4
Now, my PHP applications are giving me an error
Code:
ERROR - 2020-04-12 11:48:20 --> Severity: error --> Exception: Call to undefined function mysqli_init() /usr/local/www/public_html/pos_clcdesq/vendor/codeigniter/framework/system/database/drivers/mysqli/mysqli_driver.php 135
ERROR - 2020-04-12 11:48:20 --> Severity: Core Warning --> PHP Startup: Unable to load dynamic library 'imap.so' (tried: /usr/local/lib/php/20180731/imap.so (Cannot open "/usr/local/lib/php/20180731/imap.so"), /usr/local/lib/php/20180731/imap.so.so (Cannot open "/usr/local/lib/php/20180731/imap.so.so")) Unknown 0
when I checked that path, it doesn't exist. The path that does exist. The path that does exist is /usr/local/lib/php/20190902/ and the imap.so is properly located in that. I'm guessing all I need to do is properly change the path. The problem is that I cannot find that path listed anywhere to change it.
/usr/local/etc/php.conf reads
Code:
PHP_VER=74
PHP_VERSION=7.4.4
PHP_SAPI=cli cgi fpm embed
PHP_EXT_INC=hash pcre spl
PHP_EXT_DIR=20190902
So I would have thought that it would pick it up, but I'm not sure where to look. Can anyone help?