php-windows Digest 30 Aug 2001 23:27:33 -0000 Issue 729

Topics (messages 9130 through 9143):

Re: Dll version of PHP for MS IIS
        9130 by: Andrew Stopford
        9132 by: Robert KNOTEK

disable function
        9131 by: sur-php

PHP on Win NT , IIS
        9133 by: Sridhar Moparthy
        9135 by: Alain Samoun
        9136 by: Asendorf, John

Problem with DOM XML extention
        9134 by: Benjamin Lupu

Re: Why am I getting a CGI error?
        9137 by: Brandon Tanner
        9138 by: Erik H. Mathy

A newbie problem..
        9139 by: tito

printer_start_doc
        9140 by: Rob Cox

Help with convincing to convert from ASP
        9141 by: Scott
        9143 by: Alain Samoun

.htaccess
        9142 by: Augusto Cesar Castoldi

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------


Hi Robert,

This version exists today as a ISAPI DLL called php4isapi.dll if you check
your SAPI folder in your PHP directory you should find it there.

Andrew

"Robert Knotek" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I heared of an dll version of PHP4 for IIS. This version should have the
> advantage of an faster execution because ther is no image activation of
> php.exe.
>
> how far ist this away from production.
>
> best regards
> robert
>
>






Thanks.

But the second part of the question seens to be misunderstand.

I like to know how stable ist this dll version. The exe Version seems tobe
very stable.

best regards

robert


"Andrew Stopford" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi Robert,
>
> This version exists today as a ISAPI DLL called php4isapi.dll if you check
> your SAPI folder in your PHP directory you should find it there.
>
> Andrew
>
> "Robert Knotek" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I heared of an dll version of PHP4 for IIS. This version should have the
> > advantage of an faster execution because ther is no image activation of
> > php.exe.
> >
> > how far ist this away from production.
> >
> > best regards
> > robert
> >
> >
>
>






Hello php-windows,

  through <? phpinfo() ?> i came to know that many
  fuction are pre - compiled in windows binary version of php....

  for example :
  ftp,calender,xml,wddx etc...
  and even i'm not using mysql function
  because our company uses mssql server...
  and for that i'm loading only one dll (ie: php_mssql70.dll)
  that's it....no more dll are loaded
  i'm using module version of php 4.0.6 (php4apache.dll)

  so how to disable these function in windows version..
  now don't tell me to download sources and recomplile it,
  because i haven't compiler for that..
  in php.ini i can't find anything to disble these function...

  i think that,
  if i'll disable unused function , then
  may be php will be working more faster

  so if any idea..
  please share it...
  --
Best regards,
 sur-php                          mailto:[EMAIL PROTECTED]






Hi Friends,

I am kind of new to PHP.
I am planning to install  PHP4 on Windows NT with IIS as web server and
Oracle as database. Could you please help me to understand some of the
following.

What web server is better on NT with PHP?
What PHP installation mode performs better i.e. CGI,  SAPI Module , build or
not build etc ?
What 'S' in SAPI?
Any suggestions on PHP configuration for Oracle, IIS, and LDAP?

Also I am planning to use PHP scripts to run some jobs from scheduler. Is it
a bad idea?  If not what need to be considered while installing PHP.

Any information or pointers for my above questions is a very big help.


Thank you in advance.
Sridhar Moparthy






I had very good results with Apache and CGI.
For Oracle and other DB, use the database class library ADODB:
http://php.weblogs.com/ADODB
Alain

On Thu, Aug 30, 2001 at 09:09:03AM -0400, Sridhar Moparthy wrote:
> Hi Friends,
> 
> I am kind of new to PHP.
> I am planning to install  PHP4 on Windows NT with IIS as web server and
> Oracle as database. Could you please help me to understand some of the
> following.
> 
> What web server is better on NT with PHP?
> What PHP installation mode performs better i.e. CGI,  SAPI Module , build or
> not build etc ?
> What 'S' in SAPI?
> Any suggestions on PHP configuration for Oracle, IIS, and LDAP?
> 
> Also I am planning to use PHP scripts to run some jobs from scheduler. Is it
> a bad idea?  If not what need to be considered while installing PHP.
> 
> Any information or pointers for my above questions is a very big help.
> 
> 
> Thank you in advance.
> Sridhar Moparthy
> 
> 




OH MY GOODNESS!

There's actually someone else doing what I'm doing?!?!?!?

One of the problems I've encounter with PHP and Oracle on IIS on Win is the
following:

As CGI, PHP must establish a connection to PHP on every call (full login)
which slows the process CONSIDERABLY!!!!  OCIPLogon is useless in CGI mode.
Hence it is VERY slow.

As an ISAPI module (for IIS), persistent connection area VERY fast.
Unfortunately (I haven't tried the latest release yet, so this might not be
AS true as it has been), the ISAPI module is unstable at best and a train
wreck at worst.  When I run the OCIPLogon calls in ISAPI mode (4.0.5) it
breaks randomly (usually after an unknown quantity of idle time).

I talked with Thies about this in San Diego while at OSCON, he had fixed the
problem I was encountering, but I haven't had the time to put the latest
build up.

I would suggest getting the binaries from www.php4win.com ... but I should
note that I have NOT even tried the builds or installer from www.php.net
they may have caught up now...

If you have the flexibility, I would suggest you use Apache with Oracle... I
think the Apache module is much more stable than the ISAPI module.   I'm
stuck with a third-party app that REQUIRES IIS and .ASP...  and I'm too busy
to add another webserver instance on the machine...

John

---------------------
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Aliquando et insanire iucundum est


> -----Original Message-----
> From: Sridhar Moparthy [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 30, 2001 9:09 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] PHP on Win NT , IIS
> 
> 
> Hi Friends,
> 
> I am kind of new to PHP.
> I am planning to install  PHP4 on Windows NT with IIS as web 
> server and
> Oracle as database. Could you please help me to understand some of the
> following.
> 
> What web server is better on NT with PHP?
> What PHP installation mode performs better i.e. CGI,  SAPI 
> Module , build or
> not build etc ?
> What 'S' in SAPI?
> Any suggestions on PHP configuration for Oracle, IIS, and LDAP?
> 
> Also I am planning to use PHP scripts to run some jobs from 
> scheduler. Is it
> a bad idea?  If not what need to be considered while installing PHP.
> 
> Any information or pointers for my above questions is a very big help.
> 
> 
> Thank you in advance.
> Sridhar Moparthy
> 
> 
> 




Hi,

I have this strange problem with the DOM XML extention under Win2k.
I can create an xml doc with xmldocfile() but as soon I try to use a
function
I get :

Fatal error: Call to a member function on a non-object...

I saw that several people have the pb. Thank for who has an idea :-)






I am also having this problem, using IIS4, NT4, PHP 4.0.6. Using the cgi
version of php. I had it working last night, but now i get the CGI error
again, so i don't know what is going on.  Hope someone can shed some light.

-Brandon Tanner

"Steve "Neo Cerberus" Juhnke" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a friend who is having this same problem - but we have tried it
with
> multiple pages - and the odd part is that it seems like it is not even
> sending the php.exe compiler any data.  He is using NT 4.0  IIS4  with
4.0.6
> Php using the .exe itself not the isapi.  I have personally had no
problems
> with my install on NT 4 IIS4 nor 2Kpro running IIS5.
>
> He has also sent me images of his configuration and everything looks
> perfect.  This is really something I would not expect ;-)  It has to do
with
> IIS itself, since you can type in the name of a page that does not even
> exsist and get the same error you would with one that does!
>
> Hope there can be a remedy found :o]
> - Steve
>
>
> "Flint Doungchak" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Phil,
> >
> > Thanks for your response. I have gone through the install.txt and made
the
> > configuration changes. I think you should know that this CGI Misbehaving
> > doesn't occur regularly nor on a consistant file. I have the checked the
> > check file exists box, and I still get the error (the Misbehaving one),
> once
> > in a while, rather than the 404 error I expect to get (probably meaning
> the
> > page is found but something weird happened). I'd say the error might pop
> up
> > 1 out of 100 page loads.
> >
> > It looks like it only occurs on pages with MS SQL (not MySQL) db
> connections
> > (so I'm going to check with Frank to see if has any ideas) AND only if
the
> > Header (Location: xx/xxx.html) function is used in combination. Gathered
> > from others, it doesn't seem to happen in Apache, so it might just be
IIS,
> > but the MS KB doesn't have anything at all.
> >
> > There are a lot of people reporting this one on the windows list (some
who
> > have the PHP.exe or other extentions with wrong permissions or
> re-directing
> > to a page that doesn't exist). I orginially thought as you did, but, in
> > Jeff's case, ours, and many others, this is not true. So there is
> something
> > going on here and I don't know what it is.
> >
> > I did run php.exe -i on the command line, and it seems OK. I double
> checked
> > permissions on all the modules I am using, php.exe and php4dts.dll just
in
> > case. Nada.
> >
> > Anyhoo, I'm going to keep working on it. Any ideas from anyone else
would
> be
> > great.
> >
> > Thanks for all of the effort.
> >
> > -Flint
> >
> > -----Original Message-----
> > From: Phil Driscoll [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, August 11, 2001 4:33 AM
> > To: Flint Doungchak; 'Jeff Howard'; [EMAIL PROTECTED]
> > Subject: Re: [PHP-WIN] Why am I getting a CGI error?
> >
> >
> > On Friday 10 August 2001 20:26, Flint Doungchak wrote:
> > > It seems that a lot of us are getting this error and nothing has been
> > > resolved. I sent a bug report with information from my IIS logs.
> > There is no bug here - it is just incorrect configuration of IIS and/or
> > security settings on your php script/php.exe/php4ts.dll/php extensions
> > and/or
> > the fact that the file you think you are accessing doesn't actually
exist
> in
> >
> > the place you think it does.
> >
> > install.txt takes you through the motions of getting to the bottom of
the
> > problem.
> >
> > Cheers
> > --
> > Phil Driscoll
>
>






Hi all!

        Sorry I'm coming into this one a little late. It's been a busy few days. :)

<BIG snip!>

> > > It looks like it only occurs on pages with MS SQL (not MySQL) db
> > connections
> > > (so I'm going to check with Frank to see if has any ideas) AND only if
> the
> > > Header (Location: xx/xxx.html) function is used in
> combination. Gathered
> > > from others, it doesn't seem to happen in Apache, so it might just be
> IIS,
> > > but the MS KB doesn't have anything at all.

        I recently had a problem with IIS4 (and later Xitami) on NT4. Essentially,
the header() function was just not working. Scratched head, triple checked
the docs, looked at the code, scratched head some more...

        What it came down to was the for whatever reason, the webservers in
question did not like having a partial (or local) path in the header. So:

        header("location: /file_path/some_file.php");

        ...would fail. However, once I out in the full path, with http:// it
worked. Like:

        header("location: http://www.domain.com/file_path/some_file.php";);

        I don't know if this is specifically your issue. You might want to give it
a try just for the heck of it. :)

Hope that helped somehow,
- Erik





I havent been able to solve this problem.Im using BadBlue server on WinME
(dont have access to anything else right now) and PHP 4.0.6.
I  have a site Im working on under c:/Site/BadBlue/ and PHP installed under
c:/php
My php.ini has under the include_path:

; Windows: "\path1;\path2"
include_path = "c:\Site\BadBlue"

All files related to the site are under c:/Site/BadBlue.

I have been trying to make a site that uses includes to insert different
articles depending on the links this way:

Link:

http://site/articles.php?article_id=1

And articles.php has the following include:

<?php
include('article' . $article_id . '.html');
?>

So that would insert article1.html.

That gives me the following error:
Error 0: not found

Any ideas how I might get that to work using includes and variables in the
url?






Can anyone get this working?
I keep on getting:

Warning: couldn't allocate new print job in E:\Archive\html\PSprint.php on
line 6

I did an printer_open successfully. Now I want to create my document to
print but I can't get by this step. Any idea's out there?








Does anyone have some links with case studies or articles about the advantages
of PHP over ASP?  I have a client that is on a very, very tight deadline 
and I know
I can make the deadline if I use PHP, but doing it in ASP would take me 
twice as
long and cut it short.  They are open to it, but the one web programmer I work
with is a total ASP person.  Just need some articles to make my point
stronger.

PS-It would be on a Windows 2000 server.

Thanks,

-Scott





http://php.weblogs.com/php_vs_asp
http://php.weblogs.com/php_asp_7_reasons
Among others...
Just tell your ASP person that it will be lot easier to switch to PHP that
he/she can think, as yourself, lot of people did it.
If he/she is good at ASP coding, he/she will be even better at PHP.
Alain

On Thu, Aug 30, 2001 at 04:40:49PM -0400, Scott wrote:
> Does anyone have some links with case studies or articles about the advantages
> of PHP over ASP?  I have a client that is on a very, very tight deadline 
> and I know
> I can make the deadline if I use PHP, but doing it in ASP would take me 
> twice as
> long and cut it short.  They are open to it, but the one web programmer I work
> with is a total ASP person.  Just need some articles to make my point
> stronger.
> 
> PS-It would be on a Windows 2000 server.
> 
> Thanks,
> 
> -Scott
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]




How can I protected the diretory on Windows/Apache, to
users access the scripts he needs to enter the
username and password.

thanks,

Augusto

_______________________________________________________________________________________________
Yahoo! GeoCities
Tenha seu lugar na Web. Construa hoje mesmo sua home page no Yahoo! GeoCities. É fácil 
e grátis!
http://br.geocities.yahoo.com/


Reply via email to