title: How to install mysqli on SunOS
body: <p>I'm doing a school project using Drupal; and the school give us a SunOS server to use. the detailed information after "uname -a" is:</p>
  
  <pre><code>SunOS SERVER-NAME 5.10 Generic_141414-07 sun4v sparc SUNW,Sun-Fire-T200
  </code></pre>
  
  <p>I followed the command from lecturer installed mysql, apache and PHP. The php version is 5.3.0, apache version is 2.2, mysql version 5.1.36.</p>
  
  <p>Drupal requires mysqli plugin for PHP, but by looking through the phpinfo() I found that there's no information about the mysqli extension.</p>
  
  <p>I searched online, and from <a href="http://www.php.net/manual/en/mysqli.installation.php" rel="nofollow">mysqli installation guide</a> it says that for Unix OS, the mysqli needs to be installed when compiling PHP. I searched about compile PHP, seems it's quite tedious to do it on SunOS, and several people had some bugs when doing so.</p>
  
  <p>Also it's mentioned online that in order to install mysqli, Ubuntu user may do:</p>
  
  <pre><code>apt-get install php5-mysql
  </code></pre>
  
  <p>But seems I cannot get the php5-mysql package.</p>
  
  <p>I think if I can get the mysqli.so extension for SunOS, and enable that extension in my php.ini, this problem can be solved. But there's no where I can get such a extension file.</p>
  
  <p>If no other possible solution, I'm about to compile PHP on SunOS. But I want to check here first: is there any other possible solution?</p>
  
  <p>Thanks a lot.</p>
  
  <p>[Update:]
  The phpinfo page is given <a href="http://cg3002-21-z.comp.nus.edu.sg/phpinfo.php" rel="nofollow">here</a>.</p>