Ed, Thanks! :) I tried other text editors on Windows (Word, Word Pad, and Notepad... none worked) but when I opened a BBedit file that I sent over from my Mac, phpinfo() worked.
Yipeeee -- Thank You! Is there any Php editor you would recommend for Windows? Thanks again, Emily --- "Kwok, Ed SPAWAR" <[EMAIL PROTECTED]> wrote: > Emily, > > > How did you create your php script, what text > editor did you use? if you use Windows NotePad, > even if you tell it to save it as txt, Notepad > append a .txt extension at the end of the file. So, > the browser sees it as ???.php.txt. In notepad try > save it with double quote, for example "sample.php" > in the file name field. > > Ed > > -----Original Message----- > From: Emily Wrenholt [mailto:[EMAIL PROTECTED] > Sent: Monday, June 09, 2003 15:17 > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: [PHP-INST] PHP not parsing, and strange > errors (Apache/1.3.27; > WinXP; PHP/4.3.2) > > > I have tried *Numerous* times to set up PHP. Each > time > I get the same results. > > Here is what I've been doing. > > 1. Install Apache. It works fine. > > 2. Unzip PHP files into C:/PHP > > 3. From here, I copy the php4apache.dll and > php4ts.dll > files to the all of the recommended places > (C:/apache, Windows, Windows/System, > Windows/System32) > > 5. Then I modify the php.ini: > doc_root = "C:\Apache\htdocs" > user_dir = "C:\Documents and Settings\*\My > Documents\website" > extension_dir = "C:\PHP\extensions" > > 4. I copy the php.ini file to the recommended > places(C:/windows, c:/windows32) > > 6. I add these Apache httpd settings, each in the > appropriate place in the document: > (already set: DocumentRoot "C:/Apache/htdocs") > UserDir "C:/Documents and Settings/*/My > Documents/website" > LoadModule php4_module > c:/php/sapi/php4apache.dll > AddModule mod_php4.c > AddType application/x-httpd-php .php > > I'm pretty sure I've followed all the instructions. > But PHP never parses. It only prints the php code in > the browser as test. > I know i'm doing something right, because when I > start > php from the apache application > in C:/apache, it prints "Apache/1.3.27 <win32> > PHP/4.3.2 running.." > (it doesn't print this when I use the 'start' short > cuts) > > I also get these warnings in the apache error log > (I have no idea why.. thought maybe it was the QOS > driver, but I disabled it): > [error] [client 127.0.0.1] File does not exist: > c:/apache/htdocs/_vti_bin/owssvr.dll > [error] [client 127.0.0.1] File does not exist: > c:/apache/htdocs/msoffice/cltreq.asp > > Has anybody ever had this problem before? Can > anybody > help me? > > > Thanks! > > Emily > > > > ===== > > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Calendar - Free online calendar with sync to > Outlook(TM). > http://calendar.yahoo.com > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > ===== __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php