php-windows Digest 8 Jul 2001 06:49:33 -0000 Issue 641

Topics (messages 8166 through 8173):

Pbm with msvcirt.dll on Windows95
        8166 by: anniemartial-BECKER

Error on viewing test.php
        8167 by: Wayne Hinch

Help! I'm getting pissed...
        8168 by: Toni Ranta
        8169 by: Alain Samoun
        8170 by: Adam Allen
        8173 by: John Catron

Re: Spell checking w. PHP in Windows
        8171 by: Jason Gan

Instilation problem
        8172 by: Justin Blake

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]


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


Hi,

When I try to start php.exe, windows send me the following message :

A required DLL, MSVCIRT.DLL is missing ...

Please help me ...

Adam






Hi all,

Please help I'm a newbie to PHP stuff.

When I try and view test.php, it keeps saying that it carn't find the
dynamic librarys. In PHP.INI it has all the default values and file
locations but it just won't work. I'm running windows 2000 Professional with
their server and PHP 4.0.4.

Wayne




Why do I keep getting error messages such as:

Warning: Unable to fork [rm -rf ../userlist/*] in
c:\ohjelmatiedostot\apache group\apache\htdocs\chat\admin\admin.php on
line 331
Warning: Unable to fork [ls ../users | grep -c ""] in
c:\ohjelmatiedostot\apache group\apache\htdocs\chat\admin\admin.php on
line 350

This problem occures with the exec function, as you all might have
understood from the above error messages.

I'm using PHP4.0.6 on Win98 platform with Apache 1.3.20 server.

I just can't figure this out. Someone a little more experienced told me,
that this particular php-script can't work under Windows. I'm not so
familiar with the subject, so I'm just banging my head to the wall with
this, trying to search an answer to this.

So, if anyone can tell me, is it possible to get this problem fixed
without changing OS, please tell me how to do so. I'm not in the mood of
installing linux or any other second OS on my computer.







It will make it easier if you can show the part of the code where you get
the error. Exec is supposed to have been fixed in PHP4.06
Alain

On Sat, Jul 07, 2001 at 10:57:44PM +0300, Toni Ranta wrote:
> Why do I keep getting error messages such as:
> 
> Warning: Unable to fork [rm -rf ../userlist/*] in
> c:\ohjelmatiedostot\apache group\apache\htdocs\chat\admin\admin.php on
> line 331
> Warning: Unable to fork [ls ../users | grep -c ""] in
> c:\ohjelmatiedostot\apache group\apache\htdocs\chat\admin\admin.php on
> line 350
> 
> This problem occures with the exec function, as you all might have
> understood from the above error messages.
> 
> I'm using PHP4.0.6 on Win98 platform with Apache 1.3.20 server.
> 
> I just can't figure this out. Someone a little more experienced told me,
> that this particular php-script can't work under Windows. I'm not so
> familiar with the subject, so I'm just banging my head to the wall with
> this, trying to search an answer to this.
> 
> So, if anyone can tell me, is it possible to get this problem fixed
> without changing OS, please tell me how to do so. I'm not in the mood of
> installing linux or any other second OS on my computer.
> 
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]




Does exec not call a system call specific to the OS being run.
I.e. if you're using exec on windows rm won't work will it (certainly not
W98) anyway, I think it's a problem that you need to run the script on
linux, which has an rm command, or replace the rm command with del.

I've not used exec so am only looking at the obvious but could be wrong, but
I'm sure others will comments if I'm wrong.

Adam Allen


----- Original Message -----
From: Alain Samoun <[EMAIL PROTECTED]>
To: Toni Ranta <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, July 07, 2001 2:28 PM
Subject: Re: [PHP-WIN] Help! I'm getting pissed...


> It will make it easier if you can show the part of the code where you get
> the error. Exec is supposed to have been fixed in PHP4.06
> Alain
>
> On Sat, Jul 07, 2001 at 10:57:44PM +0300, Toni Ranta wrote:
> > Why do I keep getting error messages such as:
> >
> > Warning: Unable to fork [rm -rf ../userlist/*] in
> > c:\ohjelmatiedostot\apache group\apache\htdocs\chat\admin\admin.php on
> > line 331
> > Warning: Unable to fork [ls ../users | grep -c ""] in
> > c:\ohjelmatiedostot\apache group\apache\htdocs\chat\admin\admin.php on
> > line 350
> >
> > This problem occures with the exec function, as you all might have
> > understood from the above error messages.
> >
> > I'm using PHP4.0.6 on Win98 platform with Apache 1.3.20 server.
> >
> > I just can't figure this out. Someone a little more experienced told me,
> > that this particular php-script can't work under Windows. I'm not so
> > familiar with the subject, so I'm just banging my head to the wall with
> > this, trying to search an answer to this.
> >
> > So, if anyone can tell me, is it possible to get this problem fixed
> > without changing OS, please tell me how to do so. I'm not in the mood of
> > installing linux or any other second OS on my computer.
> >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>





You are trying to run a Unix command on Windows.  Won't
work.  Try replacing the rm with del and the "/" to a "\"/

"/" is the default path separator on Unix and
"\" is the one for Windows.

Be careful running scripts you know nothing about, especially
if they involve "rm" or "del".

John



--- Toni Ranta <[EMAIL PROTECTED]> wrote:
> Why do I keep getting error messages such as:
> 
> Warning: Unable to fork [rm -rf ../userlist/*] in
> c:\ohjelmatiedostot\apache group\apache\htdocs\chat\admin\admin.php on
> line 331
> Warning: Unable to fork [ls ../users | grep -c ""] in
> c:\ohjelmatiedostot\apache group\apache\htdocs\chat\admin\admin.php on
> line 350
> 
> This problem occures with the exec function, as you all might have
> understood from the above error messages.
> 
> I'm using PHP4.0.6 on Win98 platform with Apache 1.3.20 server.
> 
> I just can't figure this out. Someone a little more experienced told me,
> that this particular php-script can't work under Windows. I'm not so
> familiar with the subject, so I'm just banging my head to the wall with
> this, trying to search an answer to this.
> 
> So, if anyone can tell me, is it possible to get this problem fixed
> without changing OS, please tell me how to do so. I'm not in the mood of
> installing linux or any other second OS on my computer.
> 
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/




If it's not in the PHP-Win distribution, there is a reason, and it is
usually
because the source is not thread-safe.
PHP doesn't work properly with non-thread-safe extensions under
IIS/Windows...



-----Original Message-----
From: Flint Doungchak [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 7 July 2001 3:23 AM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: Re: FW: [PHP-WIN] Spell checking w. PHP in Windows


Christian,

I've been curious of this question, and this is what I have found. I think
your questions is excellent, especially for the windows list.

- it seems that the PHP-WIN distribution does not have a pspell module
(php_pspell.dll) included. With php4win down, I can't tell for sure why...

- I went to CVS to look at the souce for pspell. So, in thery, and this is
where I'm walking into uncharted territory, we could compile one for win32.
However, the module requires the pspell libraries which can be found at
http://pspell.sourceforge.net. But, I couldn't find Win32 compiled binaries.
I found the source, and so again, maybe we can compile for Win32?

- I also didn't find anything in CVS for a pspell library pre-compiled, such
as the one for the php_fdf.dll, FdfTK.dll (FDF toolkit), that is distributed
with the Win32 release. So, I'm thinking we're screwed here.

I'm hoping this will open a good discussion as to where the heck the Windows
PHP peopo kan lern two spel. :p

-Flint

_________________________________________________
Flint Doungchak, President
Net Solutions, LLC
840 Lawrence Street
Eugene, OR 97401
[EMAIL PROTECTED]
Voice +1 541 345-7087
Fax   +1 541 485-5519
http://www.netsolutionsllc.com

***************************************************************
The contents of this transmission may be confidential in
nature and should be directed only to the person to whom it
is addressed.  Do not read, copy, or disseminate this
material unless you are the intended recipient.  If this
transmission reached you in error, please forward the e-mail
to the sender to advise, then destroy the transmission you
received.  Thank you.







I am running Sambar Server Pro v5.0 on Win ME. It requires php4 to run as isapi. I 
know my sambar config files are correct but I'm not sure about php. When I try to run 
any php file I get:

Warning: Failed opening 'D://docs/bin/myfile.php' for inclusion (include_path='') in 
Unknown on line 0

php.ini is in c:\windows and msvcrt.dll and php4ts.dll are in c:\windows\system

Thanks for any help,
Justin


Reply via email to