Hi, I just ran cvsup and upgraded PHP. I readed /usr/ports/UPDATING about new changes and installed php5 base and extensions. I chose MySQL-support when it asked me what to compile in php. Anyway, now I can't connect to MySQL with php. It says this when browsing php-sites:
Fatal error: Call to undefined function mysql_connect() in blah blah line blah
and it says this when I'm trying to browse
PHPSysInfo:
Fatal error: Call to undefined function preg_split() in /usr/home/mikko/www/sysinfo/includes/os/class.FreeBSD.inc.php on line 46
What have I done wrong? I also tried downgrading to php4 but got those same errors, so it seems I've been messing up with something.
EDIT:
Php sysinfo's site says it shouldnt even work with PHP5, I'll try cvs-version for that. Still don't know what's wrong with MySQL.
EDIT 2:
And it seems that PhpSysinfo requires xml-module.. which I've also compiled in php, this is strange.