php-windows Digest 4 Mar 2003 10:41:52 -0000 Issue 1617
Topics (messages 18819 through 18829):
Re: php.ini
18819 by: Chris Kranz
Re: Recommended for newbies
18820 by: Beach, Jim
18823 by: Ted Maciag
Re: include_path
18821 by: Christoph Grottolo
Re: does any one now about curl
18822 by: Ted Maciag
apache crashes on session_start() in PHP 4.3.x
18824 by: Aleš Krajník
18827 by: Orlando Castańeda
Re: Unexplained CGI error
18825 by: Vlad
Re: which version is more robust ISAPI or CGI?
18826 by: Vlad
Retrieving Server and PHp variables
18828 by: Sharat Hegde
18829 by: Rich Gray
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 ---
Or...
Extension_dir = c:\php\extensions
I think as default they've unpacked there?
Not meaning to split hairs :p
chris kranz
fatcuban.com
-----Original Message-----
From: J.Veenhuijsen [mailto:[EMAIL PROTECTED]
Sent: 03 March 2003 08:05
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: php.ini
Try extension_dir = C:\PHP\
Jochem
Anthony Ritter wrote:
> I run the following script:
>
> <?
> phpinfo();
> ?>
>
> // the page loads o.k. when the semi-colon remains as in:
> ;extension=php_gd2.dll
>
> but if I remove the semicolon as in:
>
> extension=php_gd2.dll
>
> the page won't load and the server hangs up.
> ..........................................
>
> \\ this is my php.ini file on MS Win 98/ PHP/ Apache
>
>
> ; Directory in which the loadable extensions (modules) reside.
> extension_dir = "C:\PHP\"
>
> ; Whether or not to enable the dl() function. The dl() function does
> NOT work ; properly in multithreaded servers, such as IIS or Zeus, and
> is automatically
> ; disabled on them.
> enable_dl = On
>
> extension=php_gd2.dll
> ...................................................
>
> Any advice on how I can install GD libraries greatly appreciated.
> Thank you. Tony Ritter
>
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
And another good one at http://www.firepages.com.au.
Everything there is free and they have a pretty good forum with lots of
newbie questions.
-----Original Message-----
From: m1nt ch3w [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003 3:17 AM
To: [EMAIL PROTECTED]
Subject: Recommended for newbies
I found this on the web. It includes apache, php, mysql and perl. All in
an
install program that sets it up for you. Good for people new to php. The
latest version isn't free, but this one is:
http://download.com.com/3000-2165-6474268.html?legacy=cnet
Regards,
/m1nt
--- End Message ---
--- Begin Message ---
You might also try going to Apache, where there is a reference to "Apache
Friends" that have a very nice download as well. We installed it on a
Win2K box the other day without any problem at all. Very impressed.
Ted
M1nt Ch3w wrote:
> I found this on the web. It includes apache, php, mysql and perl. All in an
> install program that sets it up for you. Good for people new to php. The
> latest version isn't free, but this one is:
> http://download.com.com/3000-2165-6474268.html?legacy=cnet
> Regards,
> /m1nt
--- End Message ---
--- Begin Message ---
Hi
>The include_path setting is:
>".;C:/xxx/yyy/includes/others;C:/xxx/yyy/includes/myfiles"
>I get authentication.php in my include path and, unfortunatly, an other
>authentication.php does exist in the 2° path and is processed before my
>authentication.php file, and maybe gets a function name
>like one of mine.
>When, in a file I write: include("authentication.php"), my file is never included;
>php includes the first
>one that finds.
>What can I do to resolve this problem?
Rename your file
--or--
put it one directory below and then include
("newdir/authentication.php") so it won't be found in the first .
--or--
ini_set("include_path","onlymyincludepath") before you start your
includes.
Christoph
--- End Message ---
--- Begin Message ---
Yes I have. I'm a MIS manager and I have one of my guys working on
getting a good compile on SCO 5.0.5 UNIX. There are a number of bugs that
he is trying to work through. We've looked at the source code, and our
problem is with the linker and calls to the lib files. There are
differences. You don't mention what OS or Version you are using. I was
wondering if anyone has tried using any of the binaries out there?
Ted
Freeman wrote:
> If anyone on here has used curl on thier server i would appreciate some help
on installing or a good link to some install docs. Thanks
--- End Message ---
--- Begin Message ---
Hi,
on PHP versions 4.3.0 and 4.3.1 my Apache (tested on versions 1.3.27 and
2.0.44) crashes on session_start() but only when it's restoring old
session - not when creating a new session (after refresh / F5). My computer
runs on windows XP professional with SP1.
This happens in both IE 6.0 and Netscape 7.0. Does anybody have the same
problem?
Thanks,
Ales
--- End Message ---
--- Begin Message ---
Have you added in your code the line:
session_register() ;
?
Take a look at this function in the php manual...
Hope that helps...
"Aleš KrajníK" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> Hi,
>
>
> on PHP versions 4.3.0 and 4.3.1 my Apache (tested on versions 1.3.27 and
> 2.0.44) crashes on session_start() but only when it's restoring old
> session - not when creating a new session (after refresh / F5). My
computer
> runs on windows XP professional with SP1.
>
>
> This happens in both IE 6.0 and Netscape 7.0. Does anybody have the same
> problem?
>
>
> Thanks,
>
>
> Ales
>
>
--- End Message ---
--- Begin Message ---
Hi,
I have the same problem. And it is totaly random. You can hit F5 several
times - everything works fine and on the next hit - "CGI error....". It
sounds to me like bug of uninitialized variable or some buffer overrun
problems (if it would be a problem in php.ini - at least it would not be
random :).
Do you know how to fix this problem?
I'm using PHP4.3.1 in CGI mode. Btw, which version works better CGI or
ISAPI??
Thanks,
Vlad
"Michael Power" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> At last found some info...
>
> http://bugs.php.net/bug.php?id=9852
>
> Looks like I might have to move to ASP.NET after all unless the PHP boys
> pull their fingers out...
>
> :(
>
> Cheers
> Mike
>
> > "Mary Sweeney"
> > I had a very nice little application I was working on. I selected
options
> > from an html page and then after selection I called a PHP script. It
> worked
> > just fine, but now when I use the same code unchanged, it gives me the
> error
> > you see below and nothing more. This has happened to me twice before.
What
> > gives? There must be something I'm doing, but I can't figure what it
is.
> I
> > can't be the only person who's gotten this. Please help!
> >
> > Thanks,
> >
> > CGI Error
> > The specified CGI application misbehaved by not returning a complete set
> of
> > HTTP headers. The headers it did return are:
> >
> >
>
>
--- End Message ---
--- Begin Message ---
Which version of PHP4.3.1 is more robust and stable on Win2K/IIS CGI or
USAPI?
Thanks,
Vlad
--- End Message ---
--- Begin Message ---
Hello,
I just upgraded from PHP3 to PHP4 on Apache 1.3.x on Windows NT. I need to
access the PHP and SERVER variables on my PHP 4 installation. My code is as
follows:
<?php
echo $SERVER_SOFTWARE;
echo $PHP_SELF;
?>
However, I get the following error:
Notice: Undefined variable: SERVER_SOFTWARE in c:\program files\apache
group\apache\htdocs\test\test1.php on line 2
Notice: Undefined variable: PHP_SELF in c:\program files\apache
group\apache\htdocs\test\test1.php on line 3
Also, one more thing I noticed was that <?php phpinfo(); ?> shows the Server
and PHP variables fine.
Can you help out?
Thanks,
Sharat
*********************************************************************
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*********************************************************************
--- End Message ---
--- Begin Message ---
> Hello,
>
> I just upgraded from PHP3 to PHP4 on Apache 1.3.x on Windows NT. I need to
> access the PHP and SERVER variables on my PHP 4 installation. My
> code is as
> follows:
>
> <?php
> echo $SERVER_SOFTWARE;
> echo $PHP_SELF;
> ?>
>
> However, I get the following error:
>
> Notice: Undefined variable: SERVER_SOFTWARE in c:\program files\apache
> group\apache\htdocs\test\test1.php on line 2
>
> Notice: Undefined variable: PHP_SELF in c:\program files\apache
> group\apache\htdocs\test\test1.php on line 3
>
> Also, one more thing I noticed was that <?php phpinfo(); ?> shows
> the Server
> and PHP variables fine.
>
> Can you help out?
>
> Thanks,
> Sharat
Sharat
You will need to look up the superglobal array $_SERVER[] in the PHP
manual - a lot has changed since php3!
Try ...
<?
echo $_SERVER['SERVER_SOFTWARE'].' '.$_SERVER['PHP_SELF'];
?>
HTH
Rich
--- End Message ---