php - Undefined mysql functions using mySql5 + php5 + apache2 installed by macports under mac os x -


I have installed mySql5 using MacPorts and managed to run MySQL server. But due to some reason mysql-related functions like mysql_connect, an error message "" comes back under a call undefined function .... "php5."

Here the partial mysqlnd section is taken from the phpinfo report:

  mysqlnd enabled version mysqlnd 5.0.5-dev - 081106 - $ revision: $ 289630 order buffer size 4096 buffer Read the size 32768 Read time expiration 31536000 Collect the data Yes Collect the memory statistics Yes Customer statistics bytes_scent 0 bytes_scent 0 Packets_cent 0 Packets_received 0 protocol_overhead_in 0 protocol_overhead_out 0 bytes_received_ok_packet 0 Does anyone have any problem with this problem? Do you know how to solve?  

Thank you

Have you also installed php5 with mysql version?

Sudo port installs php5 + mysql .. I have havent installed a php port in a while: -)


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -