Re: Re: PHP in MS-DOS
| From: | Andrew Kreps | Date: | Mon, 17 Jan 2005 23:11:47 +0000 |
| Subject: | Re: Re: PHP in MS-DOS | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-206594@lists.php.net to get a copy of this message | ||
On Mon, 17 Jan 2005 09:45:59 -0600, Shawn McKenzie <nospam@mckenzies.net> wrote:
> Thanks, but I'm not running Windows, I'm running just MS-DOS from a
> bootable floppy. Hence my question :-)
>
> PHP seems to actually be the php5ts.dll. Would there be binaries for
> MS-DOS or is there a way to get this working?
>
In my PHP 5 installation on Windows, there's a php.exe in the CLI
folder which is used to execute scripts from the command line. It's
only 24k, so it likely invokes a DLL, as you suspect. I'd suggest
copying that exe to a floppy and trying it, maybe it will give you a
useful error message.
I hex edited php.exe and found the 'This program does not run in DOS
mode' error message that usually appears in 32-bit apps, so this may
not even be possible. Good luck!