Reply to CGI to ISAPI, now no MySQLi

Your name:

Reply:


Posted by Christopher Watson on 01/15/06 09:37

Have been running PHP 5.1.1 successfully for quite some time as CGI in IIS
5.1 on my Windows XP Pro SP2 laptop, with MySQL Server 5.0.18 and the
mysqli extension. I wanted to see if I could get away from some CGI
timeouts I've been experiencing by moving from GCI to ISAPI on PHP. So I
removed the mapping for the CGI .exe and added in the mapping for the
php5isapi.dll, which in C:\PHP. The php_mysqli.dll file is in C:\PHP\ext.
I made sure extension_dir = "C:\PHP\ext" was set in php.ini, and that the
uncommented line extension=php_mysqli.dll was present there as well.
Following the directions of some other discussions I read elsewhere, I also
moved the libmysql.dll file from C:\PHP to C:\WINDOWS\system32. I stopped
and restarted IIS. Now, the error I get on the first line of PHP in my app
that tries to create a new mysqli object is:

Fatal error: Class 'mysqli' not found in C:\Inetpub\wwwroot\vsx\includes
\sessions.php on line 34

What am I missing here! I'm tearing my hair out now. Someone please tell
me what setting I have to change to get MySQLi to work in PHP 5.1.x as an
ISAPI.

Christopher Watson
AAVSO VSX

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация