Upgrade of php7 causes invoiceplane errors

Hello, I’m running Arch linux with apache and invoiceplane 1.4.4. I just upgraded to php7. According to the front page of archlinux.org php no longer supports mysql.so so when I try to load invoiceplane, I get errors about mysql.

How to fix this? I’m trying to prevent rolling back to php5, I try to keep as up-to-date as possible.

This is an example of what the error would look like:

PHP Fatal error:  Uncaught Error: Call to undefined function mysql_pconnect() in /path/to/invoiceplane-1.4.4/system/database/drivers/mysql/mysql_driver.php:92


I fixed this error by editing


I changed the database driver from mysql to mysqli

1 Like