How to add MySQL support for PHP using MacPorts?
问题 I installed php 5.3 through MacPorts and now i tried to connect to a database (MySQL) but always when i'm trying to call mysql_connect(); im getting an error: Call to undefined function mysql_connect() My setup is: Leopard 10.5.7 Installed and active packages via Macports that may be related to this problem: php5 @5.3.0_2+apache2+macosx+pear php5-mysql @5.3.0_0+mysql5 mysql5 @5.0.85_0 I know that this error appears when php is compiled without mysql support but the package php5-mysql should