Page 2 of 2
Posted: Sun Aug 27, 2006 3:55 pm
by Grafixx01
Alrighty! I got it! Wahoo!!
So yeah, I reinstalled everything again, so that made it like the 12 or 13th time I did the reinstallation of MySQL, Apache and PHP this weekend.
So you know what I did...
Instead of installing PHP 5.1.6 into a folder of ' C:\php5 ' like they said, I just did it to ' C:\php '.
Then, I made all the changes to the httpd.conf file that were necessary.
The issue that I did next, well my phpinfo.php file consisting of :
<?php phpinfo(); ?>
Was typed and saved by MS WordPad instead of Notepad. It work with that! Can you believe it! I mean, something so stupid as to MS WordPad versus MS Notepad. I can't believe it considering all that was asked was to type it into a 'text editor'!
Posted: Sun Aug 27, 2006 3:58 pm
by feyd
WordPad isn't a "text editor."

Posted: Sun Aug 27, 2006 5:08 pm
by Grafixx01
feyd wrote:WordPad isn't a "text editor."

That I know. But when I put the phpinfo.php file in MS NotePad, it didn't work. Then I tried it in MS WordPad and it worked! Go figure. I don't know. I know MS WordPad is not a 'text editor' but hey, can't knock what works, right?
Posted: Sun Aug 27, 2006 5:14 pm
by volka
as long as it does not lead to some kind of superstition
Posted: Sun Aug 27, 2006 7:30 pm
by Grafixx01
Yeah, I know. I won't.
Anyways, does anyone know why when I ran the
http://localhost/phpinfo.php test file, it produced the correct result (ie: the php configuration and everything) but also at the top of the page showed the below:
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}} {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\f0\fs20 \par }
Posted: Sun Aug 27, 2006 7:43 pm
by feyd
You apparently saved the file in RTF format.
Posted: Sun Aug 27, 2006 8:09 pm
by Grafixx01
feyd wrote:You apparently saved the file in RTF format.
Fixed that issue. Thanks everyone for all of the help and suggestions. I installed Dreamweaver 8 too and then it also started to work. I don't know. I hope it gets easier but I believe that is a fuetile thought!
Posted: Sun Aug 27, 2006 9:49 pm
by RobertGonzalez
I would suggest you download a text editor like notepad and use that. Notepad works just fine if you tell it to save as 'All files' when giving it a file extension, otherwise everything may end up as filename.php.txt.
Posted: Mon Aug 28, 2006 2:04 am
by Weirdan
Everah, did you mean Notepad++?
Posted: Mon Aug 28, 2006 5:57 am
by feyd
Using quotes (might just be double only) around the filename in Notepad saves in the exact name you give it.
I would agree that getting a better editor, any, is going to help more however.