php-windows Digest 30 Jul 2003 22:35:29 -0000 Issue 1845

Topics (messages 20931 through 20940):

Re: PDFlib
        20931 by: WebDevMagazine

Windows 2K (workstation)
        20932 by: Frank Tudor
        20933 by: Robert Croson, Jr
        20936 by: H Marc Bower
        20937 by: Cory Daehn

Session doesn't work
        20934 by: Voodoo

Session not working
        20935 by: Voodoo
        20938 by: Rob Adams

my script on php 4.3.2 kills apache 2.x
        20939 by: jsWalter

Problems on Windows with Apache 1.3 and building
        20940 by: Mike Flippin

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 ---
Hi

well there is a file with properties for normal PDFLib work please read the
info of Pfglib.


REgards
Bogomil



--- End Message ---
--- Begin Message ---
What server components do I need to get PHP running on Windows
Workstation 2000?

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

--- End Message ---
--- Begin Message ---
On 30 Jul 2003 at 7:31, Frank Tudor wrote:

> What server components do I need to get PHP running on Windows
> Workstation 2000?

Depends on what you want to do. All you really need is PHP and a web 
server. This URL for the php manual lists a lot of platform/web server 
configurations.

http://us3.php.net/manual/en/installation.php

It's very easy to get a basic php site running with Apache server and 
php4.

Rob

-- 
ARCOM Inc. 440.639.9500  http://www.arcm.com
---Excellence In Technical Communications---


--- End Message ---
--- Begin Message ---
Windows 2000 Professional (I'm assuming this is what you meant by
workstation version) can have IIS installed, as well.  You can follow the
instructions supplied with PHP on how to set up IIS.  It really just
involves careful placement of the php.ini file and setting up the site to
parse PHP files.  It's all in the documentation - but as far as Win2k goes,
IIS is there and ready to use (you may have to install it from the disc if
you did just a default installation).

(V)

----- Original Message -----
From: "Frank Tudor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 30, 2003 10:31 AM
Subject: [PHP-WIN] Windows 2K (workstation)


> What server components do I need to get PHP running on Windows
> Workstation 2000?




--- End Message ---
--- Begin Message ---
Actually, the IIS that comes with Win2K Professional, and the one from Windows
XP are both severly limited.  (I don't understand why anyone would want to run
XP or W2KPro as a server OS anyway... Better off getting W2K Server or W2K3
Server or Linux IMNSHO... You can even get frontpage extensions for linux...)

Just my two-bits. :)

> Windows 2000 Professional (I'm assuming this is what you meant by
> workstation version) can have IIS installed, as well.  You 
> can follow the
> instructions supplied with PHP on how to set up IIS.  It really just
> involves careful placement of the php.ini file and setting up 
> the site to
> parse PHP files.  It's all in the documentation - but as far 
> as Win2k goes,
> IIS is there and ready to use (you may have to install it 
> from the disc if
> you did just a default installation).
> 
> ----- Original Message -----
> From: "Frank Tudor" <[EMAIL PROTECTED]>
> Sent: Wednesday, July 30, 2003 10:31 AM
> > What server components do I need to get PHP running on Windows
> > Workstation 2000?


--- End Message ---
--- Begin Message ---
I'm using a local Apache 1.3 server on WinXP, and I've gotta test some php
scripts at home, can't publish them. I'm trying to set some session vars,
but the variables simply disappear when I try to use them again. Made the
following code to test it, but when I click on 'increment' the 'numb' var is
set to 0 again.


//code on test.php:
<?php
session_start();
if (isset($_SESSION['numb'])) {
   $_SESSION['numb']++;
} else {
   $_SESSION['numb'] = 0;
}
echo $_SESSION['numb']."<br>";
?>
<a href="test.php">Increment</a>

The strange thing is that when I publish this 'test.php' file on a web
server it works just fine. I think there's something wrong with my local
server configuration or at the php.ini file, but I can't figure out what is
it.

Can somebody help me?

Thanks,

Voodoo



--- End Message ---
--- Begin Message ---
I'm using a local Apache 1.3 server on WinXP, and I've gotta test some php
scripts at home, can't publish them. I'm trying to set some session vars,
but the variables simply disappear when I try to use them again. Made the
following code to test it, but when I click on 'increment' the 'numb' var is
set to 0 again.


//code on test.php:
<?php
session_start();
if (isset($_SESSION['numb'])) {
   $_SESSION['numb']++;
} else {
   $_SESSION['numb'] = 0;
}
echo $_SESSION['numb']."<br>";
?>
<a href="test.php">Increment</a>

The strange thing is that when I publish this 'test.php' file on a web
server it works just fine. I think there's something wrong with my local
server configuration or at the php.ini file, but I can't figure out what is
it.

Can somebody help me?

Thanks,

Voodoo



--- End Message ---
--- Begin Message ---
"Voodoo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm using a local Apache 1.3 server on WinXP, and I've gotta test some php
> scripts at home, can't publish them. I'm trying to set some session vars,
> but the variables simply disappear when I try to use them again. Made the
> following code to test it, but when I click on 'increment' the 'numb' var
is
> set to 0 again.
>
>
> //code on test.php:
> <?php
> session_start();
> if (isset($_SESSION['numb'])) {
>    $_SESSION['numb']++;
> } else {
>    $_SESSION['numb'] = 0;
> }
> echo $_SESSION['numb']."<br>";
> ?>
> <a href="test.php">Increment</a>

I copied and pasted the above code and it worked perfectly.  You may need to
check some following settings in your php.ini
session.use_cookies
session.use_trans_sid
session.cookie_path
session.save_path.

These are some I can think of right off that might be causing problems.
You're probably using cookies, and I'd bet the save_path needs setting, as
it probably wouldn't default to something valid.

  -- Rob



>
> The strange thing is that when I publish this 'test.php' file on a web
> server it works just fine. I think there's something wrong with my local
> server configuration or at the php.ini file, but I can't figure out what
is
> it.
>
> Can somebody help me?
>
> Thanks,
>
> Voodoo
>
>



--- End Message ---
--- Begin Message ---
I have a simple little script...

   <?php
      # Load PEAR Date Package
      require("Date.php");
   ?>

If I run this script from...

    http://localhost/dateTest.php

I get a nice blank screen


If I run this script from...

    http://localhost/test/dateTest.php

I also get a nice blank screen


But, if I run this script from...

    http://localhost/test/testSuite/dateTest.php

<dir names do not matter, I changed them both>

Apache nose-dives! with this in the error log.

   [Wed Jul 30 16:43:21 2003] [warn] (OS 64)The specified network name
   is no longer available.  : winnt_accept: Asynchronous AcceptEx failed.


I tried this with both Date-1[1].3 *and* with Date-1[1].3.1beta,
with Span.php commented out ot not.

Any ideas on this?

walter




--- End Message ---
--- Begin Message ---
So far everytime I've tried to build the CVS code, it dies when trying to
build the module for SQLite. How do I disable SQLite in the Makefile, I
tried --disable-sqlite, but that didn't do anything. I'm using Cygwin
right now to do the building, but I have access to VC++ 6.0 and 7.0.

Also when I follow the instructions for adding PHP 5 to the apache
configuration as a CGI binary, I see "Bad Request" when I try to view my
PHP pages locally. When I use PHP 4, it works just fine. I noticed that
when I ran PHP from the command line to see how my simple SAX parsers work
that the PHP executable would die if the "dlls" directory in the PHP
directory wasn't in the path. I added it permanently to my path, but I
still get a "bad request" error when I try to view the PHP pages. Any help
would be greatly appreciated.

--- End Message ---

Reply via email to