truck7758 Posted October 1, 2008 Share Posted October 1, 2008 Hi, when trying to view my web page im getting the following error: Fatal error: Class 'mysqli' not found in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\neworder.php on line 42 Line 42 is the first line of sql within the page which is $mysqli = new mysqli('localhost','username','password'); Any ideas, Thanks Quote Link to comment https://forums.phpfreaks.com/topic/126576-mysqli-help/ Share on other sites More sharing options...
PFMaBiSmAd Posted October 1, 2008 Share Posted October 1, 2008 mysqli is only available in php5 and only when php is built with support for that extension and the extension is enabled. Does your server meet all of those requirements? Quote Link to comment https://forums.phpfreaks.com/topic/126576-mysqli-help/#findComment-654698 Share on other sites More sharing options...
truck7758 Posted October 1, 2008 Author Share Posted October 1, 2008 yes i am using php5 and i have also inserted extension=php_mysqli.dll into my php.ini. any ideas? Cheers Quote Link to comment https://forums.phpfreaks.com/topic/126576-mysqli-help/#findComment-654720 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.