php-windows Digest 18 Jan 2002 10:04:04 -0000 Issue 958

Topics (messages 11499 through 11503):

command line are -c doesn't work on win2k?
        11499 by: Jeff D. Hamann

socket server
        11500 by: gaouzief

Getting PHP to work within an aliased folder
        11501 by: Jeff Waldock

All php files keep refreshing.
        11502 by: Michel van Westen

PHP Extension in INI
        11503 by: Jeb

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 ---
I've been trying to figure out what was wrong with my script...

<?
mail("[EMAIL PROTECTED]", "Subject", "command line mail() test");
?>

from the command line,

php mail_test.php

and getting,

X-Powered-By: PHP/4.0.6
Content-type: text/html

attempting to deliver the mail<br>
<b>Warning</b>:  Unknown error in <b>mail_test.php</b> on line <b>3</b><br>

Then I found a solution at http://bugs.php.net/bug.php?id=6742 ,

[22 Nov 2000 5:21am] [EMAIL PROTECTED]
After a few emails this really got solved.
Adding -c/path/to/phpini/ (command line)
was the solution.

--Jani
but, when I tried it,
php -c c:\php mail_test.php,
Again, the results were,
X-Powered-By: PHP/4.0.6Content-type: text/html

attempting to deliver the mail
<br><b>Warning</b>:  Unknown error in <b>mail_test.php</b> on line
<b>3</b><br>


So, I tried a gazillion permitations on -c, -c /php, -c
c:/php -c:\php\php.ini, etc, etc, etc, to no avail...

I finally moved the script into the same dir as php.exe and it worked fine.
The problem is that I need to run the script from the "normal" path and not
from c:\php...

Does the -c switch actually work? How can I run this script from another
dir? Is this a bug?

Thanks,
Jeff.


--
Jeff D. Hamann
Hamann, Donald & Associates, Inc.
PO Box 1421
Corvallis, Oregon USA 97339-1421
Bus. 541-753-7333
Cell. 541-740-5988
[EMAIL PROTECTED]
www.hamanndonald.com


--- End Message ---
--- Begin Message ---
hi,

has anybody tried to create a socket sevrver on win 2k?
using php 4.1.1
are there any known bugs with sockets functions on windows ??

thanks,

regars,


--- End Message ---
--- Begin Message ---
I cannot get PHP files stored in aliased folders to work correctly.  I am
getting an error:
Warning: Failed opening 'e:/wwwroot/units/test.php' for inclusion
(include_path='') in Unknown on line 0

The root folder of the web tree is e:\wwwroot and I have a folder whose real
path is e:\units but which is mapped (in the server config file) to /units.
HTTP requests to http://localhost/units then work fine, but clearly PHP
scripts do not.  The PHP interpreter is obviously expecting to find the
aliased folder within the root folder of the web tree.

The script is OK - if I move test.php to anywhere within the main directory
tree it works fine.

I have searched the help files but can only find information relating to
Apache (and some relating to IIS).  I am using SAMBAR server, ver 5.0,
together with the ISAPI version of PHP.

Is this a web server issue, or a PHP issue?  That is, is there some use of
the include_file or server_root directives (or other directive) that can
tell PHP to recognise aliased directories?

Many thanks in advance for any help!

---------------------------------
Jeff Waldock
Division of Mathematics
School of Science and Mathematics
Sheffield Hallam University
Howard Street
SHEFFIELD, S1 1WB, UK

--- End Message ---
--- Begin Message ---
Hi all,

i got a serious problem: I got php3 running for quit a while and it was
running fine with all my scripts. About a week ago i decided my time had
come and i had to update to php4, now all my scripts keep on refreshing
without having loaded the whole script, it just refreshes over and over it
looks like it has some sort of time limit. I've tried both the ISAPI
module and the CGI executable but it just doesn't work. I can't find
anything in php.ini that isn't right either.

Please, please help me

Michel van Westen
[EMAIL PROTECTED]

For an example on what happens see:
http://dekas.dyndns.org/guest/guest.php3?action=view&guestbookid=0



--- End Message ---
--- Begin Message ---
This is a very newbish question, but there are some .dll extension for PHP
that I would like to have (bzip2, crypt functions, etc) ?  Does anybody know
where I can find them? or do I even need them?  I have search the net, but
no luck.  This is for IIS 5 on windows 2000.  Sorry if this email makes no
sense, it is late...

Jeb


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

--- End Message ---

Reply via email to