php-windows Digest 19 Oct 2003 17:56:10 -0000 Issue 1964

Topics (messages 21818 through 21822):

IDE's
        21818 by: Alan McDonald
        21819 by: DvDmanDT

Re: failed to open stream: HTTP
        21820 by: manon

Re: PHP 5 And Apache2.0.47
        21821 by: manon

ADSI with PHP
        21822 by: Pc Technics, Inc.

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]


----------------------------------------------------------------------
--- Begin Message ---
It seems that the popular IDE's assume that you are running against a
localhost webserver or they run in their own webserver. If you want to edit
and run files via FTP client, then you are restricted to keeping a real
browser window open. There are all sorts of differences between what the
internal webserver considers an error and what the real webserver does
e.g. in windows there is no such thing as DOCUMENT_ROOT in the $_SERVER
vars...

How do experienced coders deal with this? DO you just ignore the run feature
in the IDEs? or just use notepad anyway?

thanks
Alan

--- End Message ---
--- Begin Message ---
I  use AceHMTL 5 to save -> switch window to IE -> F5...

-- 
// DvDmanDT
MSN: [EMAIL PROTECTED]
Mail: [EMAIL PROTECTED]
"Alan McDonald" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> It seems that the popular IDE's assume that you are running against a
> localhost webserver or they run in their own webserver. If you want to
edit
> and run files via FTP client, then you are restricted to keeping a real
> browser window open. There are all sorts of differences between what the
> internal webserver considers an error and what the real webserver does
> e.g. in windows there is no such thing as DOCUMENT_ROOT in the $_SERVER
> vars...
>
> How do experienced coders deal with this? DO you just ignore the run
feature
> in the IDEs? or just use notepad anyway?
>
> thanks
> Alan

--- End Message ---
--- Begin Message ---
Check your firewall/router settings if you have these running, you might
have to change settings there.


-----Oorspronkelijk bericht-----
Van: Disko_kex [mailto:[EMAIL PROTECTED] 
Verzonden: vrijdag 17 oktober 2003 10:33
Aan: [EMAIL PROTECTED]
Onderwerp: failed to open stream: HTTP


Hi.
This has always been working for me, and now it isnt?
 
<?php
$handle = fopen ("http://www.lokalguiden.se/test.txt";, "r");
?>
 
I get this warning:
Warning: fopen(http://www.lokalguiden.se/test.txt): failed to open
stream: HTTP request failed! ^ in c:\inetpub\wwwroot\lgd\test.php on
line 2
 
I just change from apache to IIS. Please help..

--- End Message ---
--- Begin Message ---
1)Check if you don't have an instance of php.exe running for some reason
when you load apache
2)try  using LoadModule php4_module  (not LoadModule php5) The module
might for some reason be called Module php4 internally
3) put php4apache2.dll  in c:/php/sapi/php4apache2.dll  (wherever your
sapi dir is) and put a copy of the php4ts.dll  the same dir
4) try the latest snapshot from http://snaps.php.net/

Just for curiosity: why are you tryning PHP 5? Version 4.3.3 with the
latest snapshot  appears to be pretty stable on Apache or did you
encounter any specific problems with 4.3.3?


-----Oorspronkelijk bericht-----
Van: tim sawyers [mailto:[EMAIL PROTECTED] 
Verzonden: zaterdag 18 oktober 2003 5:02
Aan: [EMAIL PROTECTED]
Onderwerp: PHP 5 And Apache2.0.47


I am having trouble installing php5 with apache 2.0.47

The setup of apache whent with out a hitch and tested fine.

But i can not get the php4apache2.dll to loud? it bombs out with syntex
error in hhtp.conf : php4apche2.dill moduel can not be found.

I Have tryed every think i can think of to get it to work inclouding: I
put bot php4apache2.dll and php4ts.dll in the apache\model folder and
used LoadModule php5_module modules/php4apache2.dll.

I left the php4apache2.dll in C:\www\php\sapi folder moved the
php4ts.dll to the sapi folder and used LoadModule php5_module
c:/www/php/sapi/php4apache2.dll.

also tryed the above with  php4ts.dll in systom and systome32

then i whent of the handel and tryed LoadModule php5_module
C\www\php\sapi\php4apache2.dll. and LoadModule php5_module
"C/www/php/sapi/php4apache2.dll"

then i moved both dll's to c:\www\php\ and tryed LoadModule php5_module
C/www/php/php4apache2.dll

my php.ini file is in C:\www\php along with php.exe i have a copy of
php4apace2.dll and php4ts.dll in systome, systome32, C\www\php, and
C:\www\apache\model.

Howe do i make this work?

--- End Message ---
--- Begin Message ---
Hello,

   I am an ASP developer, however, I want to throw ASP out the window, where
I can use PHP due to its portability. I am currently trying to create a web
app which utilizes ADSI, however, I can not seem to find any good intro
articles which explain how to go about using ADSI with PHP. I have seen the
COM support functions for windows, however, it seems to me that there is
little advantage to using PHP over ASP. If I am correct, even if I use PHP,
this app will still require the Win32 platform, correct? Why not use ASP
then? I hear some say that they feel PHP is faster and more stable than ASP,
however, what is the increase? Is this only notable on paper through
statistics, or is the performance gain notable by the human patience level?

  Anyone know of some good places to learn how to use ADSI with PHP? How
about some good PHP articles for newbies in general...

Thanks alot!

- Jeremy
 Pc Technics, Inc.
 www.pc-technics.com
 100% Free Internet Hosting!

--- End Message ---

Reply via email to