Reply to Re: Anyone running ISAPI and mysql succesfully?

Your name:

Reply:


Posted by ImOk on 07/12/06 15:20

There is no error which makes it difficult to even tell what is going
on.
Here is the simplest version of code that fails:

<?php
print 'Start';
$xx = mysql_connect('localhost') or die (mysql_error());
print 'End' ;
?>

The above code works and prints StartEnd to the browser whe using
php-cgi.exe

When I setup the php5isapi.dll (.php and add ISAPI filter) it fails to
execute the print 'End'

It prints "Start" but never prints "End" to the browser.

I even tried removing or die() and I get the same problem.

And yes, I do have the extensions in my PHP.INI otherwise the
php-cgi.exe wouldnt work either.

Thanks


Jeff North wrote:
> On 7 Jul 2006 20:01:21 -0700, in comp.lang.php "ImOk"
> <jon.macaroni@gmail.com>
> <1152327681.715433.140890@h48g2000cwc.googlegroups.com> wrote:
>
> >| I have the following setup:
> >|
> >| Windows XP Prof, IIS, PHP5
> >|
> >| PHP5 works no problem with either PHP-CGI.EXE and mySQL,
> >|
> >| PHP5 also works no problem with php5isapi.dll as long as I dont use
> >| mySQL. When I use mysql It just gives an error or nothing when I try to
> >| execute any mysql function (e.g. mysql_connect).
> >|
> >| I have put the PHP.INI in C:\Windows but no luck. I have also setup the
> >| PHPRC variable but no luck. I even put the IniFilePath in the registry
> >| as per docs. Every time I reboot.
> >|
> >| Can anyone tell me the exact steps to get ISAPI to work with mysql in
> >| IIS?
>
> Have you uncommented the extension=php_mysql.dll in the php.ini file?
> ---------------------------------------------------------------
> jnorthau@yourpantsyahoo.com.au : Remove your pants to reply
> ---------------------------------------------------------------

[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

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