Jump to content
Larry Ullman's Book Forums

Please Help - Fatal Error - Testing Installation - Mysqli_Test.Php


Recommended Posts

Dear Masters:

 

I am very new to to PHP & MySQL.

 

I have just followed the instruction in the book to install XAMPP (v 3.0.12) on my Windows 7 PC.

 

I tested PHP as per the instruction and it was successful.

 

But testing PHP and MySQL failed and showed the following error:

Fatal error: Call to undefined function msqli_connect() in C:\xampp\htdocs\mysqli_test.php on line 2

 

I am almost sure I followed the instructions exactly. But the above error comes.

 

I looked for solutions in other posts but could not find it.

 

Anyone, please help.

 

Thank you.

Placid

Link to comment
Share on other sites

Dear HartleySan,

Please accept my respect and gratitude for your response and also my apology for this dumb mistake.

I looked here and there and specially read the whole Appendix of the book once again, but did not see that spelling error.

Corrected the spelling and it worked.

Thank you again.

Placid

Link to comment
Share on other sites

Dear HartleySan,

The following messages come when I start XAMPP (though the examples in the first Chapter are working accurately). Can you please give me a hint if I need to do anything about these.

10:53:12 AM [main] Initializing Control Panel

10:53:12 AM [main] Windows Version: Windows 7 Ultimate 64-bit

10:53:12 AM [main] XAMPP Version: 1.8.0

10:53:12 AM [main] Control Panel Version: 3.0.12 [ Compiled: June 24th 2012 ]

10:53:12 AM [main] You are not running with administrator rights! This will work for

10:53:12 AM [main] most application stuff but whenever you do something with services

10:53:12 AM [main] there will be a security dialogue or things will break! So think

10:53:12 AM [main] about running this application with administrator rights!

10:53:12 AM [main] XAMPP Installation Directory: "c:\xampp\"

10:53:12 AM [main] Initializing Modules

10:53:12 AM [apache] Apache Service Detected With Wrong Path

10:53:12 AM [apache] Uninstall the service manually first

10:53:12 AM [apache] Possible problem detected!

10:53:12 AM [apache] Port 80 in use by "httpd.exe"!

10:53:12 AM [apache] Possible problem detected!

10:53:12 AM [apache] Port 443 in use by "httpd.exe"!

10:53:12 AM [mysql] MySQL Service Detected With Wrong Path

10:53:12 AM [mysql] Uninstall the service manually first

10:53:12 AM [mysql] Possible problem detected!

10:53:12 AM [mysql] Port 3306 in use by "mysqld.exe"!

10:53:12 AM [main] Starting Check-Timer

10:53:12 AM [main] Control Panel Ready

 

I appreciate your response.

Thanks

Placid

Link to comment
Share on other sites

 Share

×
×
  • Create New...