I have legacy software which cannot be upgraded and I require PHP 5.3 for depreciated functions like mysql_connect() and session_register(). Running Debian 9.5 and lighttpd (can use Apache/nginx if necessary)
PHP doesn't seem to have the mysql extension installed: Fatal error: Call to undefined function mysql_connect()
I downloaded and compiled PHP 5.3 and here's the output of phpinfo().
I have php5.6-mysql and php-mysql installed but perhaps it's not compatible or not enabled for 5.3? The installed mysql version is Ver 15.1 MariaDB
I'm at a loss on what else to try or what I can do, any suggestions would be appreciated