Tell me more ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm having an issue with PHP on my Godaddy Virtual Dedicated Server. I've run a couple simple PHP scripts and one included:

$mysqli = new mysqli($host, $user, $pass, $db);

which throws the following error:

Fatal error: Class 'mysqli' not found in C:\Inetpub\vhosts\site\index.php

Any help?? The virtual server is running Windows Server 2003 and PHP5.2

Thanks in advance! Zach

share|improve this question
1  
Just an FYI: This has been solved. If you have this issue, go here: php.net/manual/en/mysqli.installation.php and install the extension. Also make sure to follow steps on libmysql.dll (I forgot to do that, didn't think I needed it) and add the variable path. All instructions are on provided website :) – Zakman411 Aug 9 '11 at 5:45
You might like to post that comment as an answer below and accept it as the solution. It keeps things tidy and prevents anyone else thinking that this question is unanswered. – Nick Aug 9 '11 at 10:02

closed as off topic by paulmorriss, John Conde Aug 9 '11 at 11:42

Questions on Webmasters Stack Exchange are expected to relate to webmastering within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

Browse other questions tagged or ask your own question.