php-windows Digest 22 Sep 2004 11:54:46 -0000 Issue 2405

Topics (messages 24611 through 24615):

Re: INCLUDE ASP does Not Work! for PHP - 4.3.4
        24611 by: Mikey

OpenSSL in Win32
        24612 by: trlists.clayst.com
        24613 by: trlists.clayst.com

Re: php-win.exe - when to use
        24614 by: Trent DeCamp

Installation Woes.
        24615 by: Jim Bailey

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 ---
But at $495.00 for a server licence (it is now Sun Java System Active Server
Pages, btw) it is hardly a solution for a simple include problem.  For that
money I would rather suggest paying someone to re-write your ASP include as
PHP.

Mikey
----- Original Message ----- 
From: "Gryffyn, Trevor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Mikey" <[EMAIL PROTECTED]>
Sent: Tuesday, September 21, 2004 2:10 PM
Subject: RE: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4


I believe there's ChiliSoftASP or something that'll do ASP on Apache.

-TG

> -----Original Message-----
> From: Mikey [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 21, 2004 6:52 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4
>
>
> virtual is an Apache specific function, and AFAIK they haven't put ASP
> support into Apache yet.  Let's hope they never do ;-)
>
> ----- Original Message ----- 
> From: "Dvdmandt" <[EMAIL PROTECTED]>
> Newsgroups: php.windows
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, September 18, 2004 9:51 PM
> Subject: Re: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4
>
>
> > I'd lookup virtual()...
> >
> > -- 
> > // DvDmanDT
> > MSN: dvdmandt�hotmail.com
> > Mail: dvdmandt�telia.com
> > "Trevor Gryffyn" <[EMAIL PROTECTED]> skrev i meddelandet
> >
> news:[EMAIL PROTECTED]
> t.aircargo.com...
> > The problem is that the web server looks at the file type
> and determines
> > what to do with it before it sends anything to the web browser.
> >
> > Your .PHP file is being sent to a PHP interpreter which
> outputs certain
> > things that get sent to the browser.  What's going to happen in this
> > case is that ASP code is going to be inserted, sent to the PHP
> > interpreter and nothing's going to happen....  Or if you
> have your PHP
> > set up to see <% %> as PHP, then you'll probably get some kind of
> > unknown function error.
> >
> > The reason the .HTM file works ok is that HTML is passed straight
> > through the PHP interpreter to the browser.
> >
> >
> > What you'd have to do is maybe use an IFRAME (HTML) and put
> the poll.asp
> > in that so the web server is pulling a .ASP file without
> anything else,
> > therefore interpreting it as an ASP file.
> >
> > Does any of that make sense?
> >
> > -TG
> >
> > > -----Original Message-----
> > > From: Raj Gopal [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, September 16, 2004 5:19 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: [PHP-WIN] INCLUDE ASP does Not Work! for PHP - 4.3.4
> > >
> > >
> > > Hi All,
> > >
> > >  I have included a ASP file in a PHP script as follows
> > >
> > >  <? include 'poll.asp' ?>
> > >
> > > and it does not work!
> > >
> > > whereas <? include 'AA.htm' ?> works fine
> > >
> > > Appreciate your help for any workarounds or Syntax issues
> > >
> > > -- 
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
>
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
I would like to know how to get OpenSSL support working in Win32.

I have the PHP-4.3.8 Windows binaries here, and php_openssl.dll is 
included.  I do have it enabled in php.ini, and the ssl dlls are in my 
\winnt\system32 directory.  Yet a \php\cli\php -m command does not show 
SSL support, and if I try to use it I get an error:

        Warning: fsockopen(): no SSL support in this build in [filename]

As far as I read the docs, I don't need to bother with openssl.cnf as I 
do not need to generate certificates or CSRs.

What else do I need to look at to get this working?

Thanks,

--
Tom

--- End Message ---
--- Begin Message ---
On 21 Sep 2004 [EMAIL PROTECTED] wrote:

> I would like to know how to get OpenSSL support working in Win32.

Never mind, I figured it out.  I had to go back from 4.3.8 to 4.3.7  
then download the SSL-enabled php4ts.dll from 
http://ftp.emini.dk/pub/php/win32/openssl/.

--
Tom

--- End Message ---
--- Begin Message ---
Not a problem. I sure appreciate your help.

"Andrew Kreps" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Mon, 20 Sep 2004 18:44:39 -0700, Trent DeCamp
> <[EMAIL PROTECTED]> wrote:
> > I'm searching and only see in the zip distribution:
> >
> > php.exe
> > php-cgi.exe
> > php-win.exe
> >
>
> My mistake, it must have been php-cgi that I was thinking of.  I'm
> glad it's working though!  I wish I could help shed some light on the
> root cause.

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

I'm a well seasoned developer dipping my toe into PHP/Apache/MySQL.
I installed Mozilla FireFox Version 0.9.3 and
PHP4.3.8 and
Apache 1.3.31 running in
Windows 2000 Version 5 SP 4.

I appended the following lines to httpd.conf
ScriptAlias /php4/ "E:/Programs/PHP4.3.8/"

AddType application/x-httpd-php4 .php4 .phtml .php

Action application/x-httpd-php4 "php.exe"



I created a small test file named test.php which contains the single line of
code:

<?php echo '<p>Hello World</p>'; ?>

I navigate to http://127.0.0.1/ and I get the default apache page.

I navigate to http://127.0.0.1/test.php and get the following error message



Bad Request
Your browser sent a request that this server could not understand.

Invalid URI in request GET /test.php HTTP/1.1



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

Apache/1.3.31
Can someone please help me troubleshoot this problem.

If I posted in the wrong group... Be gentle. I can take direction.

Thank you

Jim Bailey

--- End Message ---

Reply via email to