I have installed Apache2.2 and then installed PHP5.4.8. I cannot get my new .php
file to load in a browser because it keeps giving me the error Fatal error: Call to undefined function mysql_connect()
. When I load the test.php
file which has only this in it:
<?php phpinfo(); ?>
it returns a page that shows information about PHP but where it would show the MySQL modules it only shows mysqlnd
. What is that? Also, I have gone through the php.ini
file and uncommented the proper lines for MySQL integration as well as having edited the Apache2.2 httpd file. Does anyone have any answers as to why MySQL isn't working? Thanks in advance.
Also, Ive tried many of the solutions from this website as well as many google searches. I can't seem to figure it out. :-(