You are here: Komodo/PHP/MySQL Problem « PHP Programming Language « IT news, forums, messages
Komodo/PHP/MySQL Problem

Posted by j_macaroni on 04/17/06 17:22

Hi all,

I have setup PHP/MySQL (using mysqli) and works properly from the
command line. Here is the code that works when run from the command
line:

<?php
$conn = new mysqli('localhost','root','xyz'','testdb');
if (mysqli_connect_errno() != 0)
{
$message=mysqli_connect_error();
}
?>

Now I want to use Komodo for the IDE/Debugger. When I set the Komodo
debugger to use PHP-WIN.EXE I get a CLI error. Someone said there is a
problem with Komodo and CLI (I assume this means the .NET stuff)

I then switch the Komodo debugger to use PHP-CGI.EXE and I get the
message below:
PHP Fatal error: Class 'mysqli' not found in
C:\PHP5Apps\Astir\PHP-1.php on line 5

I am at a loss, as I cant seem to be able to to debug either way with
Komodo. (I could switch but I already paid for it and runs on both
Linux and Windows.).

Anyone can help me?

Thanks

 

Navigation:

[Reply to this 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

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