RE: [PHP-WINDOWS] PHP4 installation on Win98SE, PWS4...

From: Date: Sun, 18 Jun 2000 23:09:21 +0000
Subject: RE: [PHP-WINDOWS] PHP4 installation on Win98SE, PWS4...
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-514@lists.php.net to get a copy of this message
but do you can upload files with this instalation???? > Ahmed, > > Many thanks for your mail, as it does seem to go a bit further than > everything else that was posted on the list. > > > Go to: > > HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/W3Svc/Paramet > > ers/Script > > Map > > 1.) Go to the edit menu and select: New->String Value > > 2.) Type in the EXTENSION you wish to use for your php > > scripts '.php3' > > 3.) Double click on the new string value and enter the path > > to php.exe in > > the > > value data field. example:'c:\php3\php.exe %s %s'. The > > '%s %s' is VERY > > important, you musnt leave this out. PHP will not work > > without it. > > 4.) Repeat these steps for each extension you wish to > > associate with PHP. > > .php3 and .phtml are the most common. > > > > I have this set up, for both version 3 and version for (.php3 & .phtml for > 3, .php4 for ISAPI dll (v4) and .php for v4 CGI version. > > > To associate 'php.exe' with .php3 .phtml files, complete the following: > > 1.) Open the HKEY_CLASSES_ROOT tree > > 2.) Go to the edit menu and select: New->Key > > 3.) Name the key the extension you wish to use to associate > > php files with: > > '.php3' > > 4.) Highlight the new key and in the right pane, > > double-click the default > > value > > and enter 'phpfile' > > 5.) Repeat these steps for each extension you wish to > > associate with php. > > 6.) Go to the edit menu and select: New->Key > > 7.) Name the key 'phpfile' > > 8.) Highlight the key 'phpfile' and in the right pane, > > double-click the > > default > > value and enter 'PHP Script' > > 9.) Now create a new key under 'phpfile' and name it 'Shell' > > 10.) Now create a new key under 'Shell' and name it 'open' > > 11.) Now create a new key under 'open' and name it 'command' > > 12.) Double click the default value for the key 'command' and enter: > > 'c:\path-to-php-dir\php.exe -q %1' > > This setting is made (without the -q what does that do?) for the v3 EXE > file, but what do I need to do for the v4 EXE? > > The problem that I am having is that although v3 runs fine, there are two > problems running version 4... > > 1). When running the CGI version, a DOS box opens (some output is produced > but it closes to quickly to read) and nothing shows in the browser window. > > 2). When running the ISAPI version, the script is not processed at all and > the script is displayed as plain text. > > > You must make any directory that will contain php scripts 'Script' > > permissions > > Consult the documentation that came with your server on how to do this. > > I know that the permissions are right, becuase v3 runs in the same directory > with no problem. > > Any ideas?!?!?!? > > regards, > > Mikey > > > "The next generation of interesting software will be made on a Macintosh, > not an IBM PC." - Bill Gates (~1984) > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.windows (#514) next »