php-windows Digest 29 May 2004 17:29:53 -0000 Issue 2267
Topics (messages 23884 through 23889):
Re: configuration mime type problem
23884 by: Tony Moore
23885 by: Trystano.aol.com
23886 by: Tony Moore
IIS 5.0 Upload problems
23887 by: Will
Can not execute exes from php
23888 by: venkata ramana
23889 by: venkata ramana
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 ---
Thanks Dave, I tried this, and am now getting a slightly different error message, 'you
don't have permission to access /hello.php on this server.
Is there some permission settings I should be aware of?
thanks for the info.
--
--------- Original Message ---------
DATE: Fri, 28 May 2004 15:03:09
From: Dave Grijalva <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc:
>try forcing an html header:
>header('Conent-Type: TEXT/HTML');
>
>you want apache to recognize .php, but the browser should still see it
>as html (or xml or whatever format you want to use).
>
>-dave
>
>Tony Moore wrote:
>> Hi, hoping someone can point me to the
>> correct part of the FAQ or otherwise help me solve this.
>>
>> Installed the PHP binaries as per the instructions, and configured the httpd.conf
>> for apache 1.3,
>>
>> once i restarted apache, I tested with the standard hello.php page indicated on the
>> tutorial.
>>
>> The browsers, both IE and mozilla do not recognise the .php mime type or file
>> extention and are attempting to download the file rather than render the page.
>> I'm pretty sure I followed the install instructions to the letter, but maybe i
>> srewed something up.
>>
>> Thanks for any insight.
>>
>>
>> ____________________________________________________________
>> Find what you are looking for with the Lycos Yellow Pages
>> http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>
____________________________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
--- End Message ---
--- Begin Message ---
There is obviously an error with you Apache configuration as the server is
not recognising the file type, and thus is trying to download it.
Have you inserted the Mime-type in the Apache httpd config file?
Tryst
--- End Message ---
--- Begin Message ---
Hi, yes I have, when i start up apache from the command line, it says that apache
1.3.27 and php 4.3.6
are running. I added the mime type directives to httpd.conf yes.
The error i am getting right now, is no longer
trying to download the file instead of rendering the page, the error message I'm
getting right now says,
"you do not have permission to access /hello.php on this server.
This is running on my desktop win98 machine.
What might it be?
Thanks.
--
--------- Original Message ---------
DATE: Fri, 28 May 2004 21:15:06
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc:
>There is obviously an error with you Apache configuration as the server is
>not recognising the file type, and thus is trying to download it.
>Have you inserted the Mime-type in the Apache httpd config file?
>Tryst
>
____________________________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
--- End Message ---
--- Begin Message ---
Hello all,
I am using IIS5.0 on windows 2000 advanced server and I am having problems with
uploading photos to the web.
It says that it cannot copy from temp folder.
It there an easy fix for this??
---------------------------------
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger
--- End Message ---
--- Begin Message ---
Hi,
Whenever I try to execute an exe file from a php program, I am
getting an error saying
"Warning: shell_exec(): Unable to execute 'xxxx..'. I am using IIS 6.0
in windows server 2003.
It is showing the same error even when I try to execute simple command
like 'dir'. Please help me by telling what should I do to execute the
exe files.
Thanks,
ramana.
--- End Message ---
--- Begin Message ---
After two days of google search and some other trials, I found the
problem. I have to give execute permissions to
%SystemRoot%/System32/cmd.exe for the user IUSR_sytemname, for getting
those commands executed.
regards,
ramana,
On Sat, 29 May 2004 14:12:33 +0530, venkata ramana <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Whenever I try to execute an exe file from a php program, I am
> getting an error saying
> "Warning: shell_exec(): Unable to execute 'xxxx..'. I am using IIS 6.0
> in windows server 2003.
> It is showing the same error even when I try to execute simple command
> like 'dir'. Please help me by telling what should I do to execute the
> exe files.
>
> Thanks,
> ramana.
>
--- End Message ---