致命错误:在第 3 行的 teste.php 中调用未定义函数 mysql_connect()。
<?php
$config = array(
'servidor' => '127.0.0.1',
'usuario' => 'root',
'senha' => ''
);
$mysql = mysql_connect($config['servidor'], $config['usuario'], $config['senha']);
c:\MAMP\bin\php\php5.3.23>php.exe -m
[PHP 模块] bcmath calendar com_dotnet Core ctype date dom ereg filter hash iconv json libxml mcrypt mysqlnd odbc pcre PDO pdo_mysql Phar Reflection session SimpleXML soap sockets SPL standard tidy tokenizer wddx xml xmlreader xmlwriter zip zlib
[Zend 模块]