Izzy
Thanks for being so patient with me. New to this and dont know the right words or really what to look for so hence the bad explenations. Computers just dont work as I want even sitting infornt of the all day... (Embarrasing to say that I work wit computers all day, SGI clusters, HP servers etx.)
Anyway back to my problem. I (again) installed the xampp to make sure I have not ruined any files. I installed the "Installer" version on "C:\Program". I'm running Windows XP sp2.
I installed nothing as service since it is on my laptop for script testing.
Looking in the readme_en file it seem to be written for installing without the "installer" (right?). Its only this that confuses me:
Step 4: PHP (with mod_php, as *.php, *.php3, *.php4, *.phtml), Perl by default with *.cgi, SSI with *.shtml are all located in => C:\xampp\htdocs\.
Examples:
- C:\xampp\htdocs\test.php => http://localhost/test.php
- C:\xampp\myhome\test.php => http://localhost/myhome/test.php
After this I started Apache from the XAMPP Control Panel without problem.
Logged into
http://localhost and wa smet by a nice welcoming page.
Status page shows everything works fine, all activated apart from SMTP and FTP services.
phpinfo() also diplays a nice side with lots of info I cant really comment on.
The Demos works fine too.
The phpMyAdmin works like a charm too (at least displaying the side)
Then I run into trouble.
Created a file like above, naming it test.php. Looking at teh file in the explorer it has a funny IE Icon (like a white rectangular with a badly resolved small "e" (I'm using IE7 but I also have Firefox installed). When I open the file (by double-clicking) its takes a while but then I get a "file download" window asking me to save or open teh file, and opening does not work. The file was located in "My documents" but I read somewhere to put the files in /xampp/htdocs/ but that dont work either...
Naming the file test.xtml teh file shows nothing when open in IE but the source code shows the whole souce code including the php parts.
So I hope this explains it better. I'm sure I've forgotten/missed something (like Step 4 above) but cannot figure out what. Read as much I could about installing php on apache and everyhere they say I must add lines in the /apache/conf/httpd.config file, like such:
LoadModule php5_module "D:/Programming Apps/PHP/php5apache2.dll"
AddModule mod_php5.c
AddType application/x-httpd-php .php
And then copy the php.ini file to different directories (either the recommended or the other) and possibly do chanes to that one too...
Have not done any of this now and it is "like new", so do you (or anyone else have any suggestions (apart from buying a new computer)?
/Erik