I am brushing up on the little php I knew, bought Kevin Yanks book and when it came to the data base connect got this message.
Fatal error: Call to undefined function mysqli_connect() in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\connect\index.php on line 2
Guess php.ini
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
; at MYSQL_PORT.
mysqli.default_port = 3306
; Default socket name for local MySQL connects. If empty, uses the built-in
; MySQL defaults.
mysqli.default_socket =
; Default host for mysql_connect() (doesn’t apply in safe mode).
mysqli.default_host = localhost
; Default user for mysql_connect() (doesn’t apply in safe mode).
mysqli.default_user = root
Thank You for taking the time! I did have one witch was the mysql extension and restarted but no difference notcice another person with the same problem. I am totally stumped even looked up on some other sites do not no enough about Apatche to help myself and ever thing in the book has worked till chapter 4. I cannot go anywhere till problem solved
I tried this script Connect from the Build your own data base driven web site.
and uploaded it to my host and it works, So it is oviously in my set up of either php.ini and as Far as Apatche goes HELP I have no idea not that I do about PHP.ini I really REALLY do not understand I saw another on the forum with the same problem, If any of you guys have had this before help or know enought to know help please PLEASE HELP thankyou !!!