RE: [PHP-WIN] php4, win98, and pws 4

From: Date: Fri, 18 Aug 2000 08:24:49 +0000
Subject: RE: [PHP-WIN] php4, win98, and pws 4
Groups: php.windows 
Request: Send a blank email to php-windows+get-1947@lists.php.net to get a copy of this message
If you are just seeing the text, then php doesn't know how to interpret the files... I have the same problem if I use notepad to create php files, the easiest solution is to go into a command prompt, and rename the files from .php.txt to .php (go to the relevant directory and ren *.php.txt *.php should do it) > You need to set up a scriptmap in your registry to handle .php files. > > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Scr > ipt Map] > ".php"="C:\\PHP4\\php4isapi.dll" > > Ignatius > > > > Hi, > > I followed the directions in the readme file for installing > > php4 to the letter. I have win98 and pws 4 installed on my > > machine and I am getting funny results with php files. > > > > One result I get is when i run a php file called hello.php, > > the browser actually shows the code as I typed it. > > the simple code is: > > <? > > echo "hello"; > > ?> > > > > and that is exactly shows up on my browser. > > > > Another funny result I'm getting are saved php files with > > names like hello.php.txt > > In notepad I am not saving php files as text files, so that > > is not the problem. > > > > Any suggestions? > > > > TIA > > > > Gary Maruna > >

« previous php.windows (#1947) next »