I cannot read or modify my PHP files

Problems with the Windows version of XAMPP, questions, comments, and anything related.

I cannot read or modify my PHP files

Postby pocean » 09. April 2008 19:12

Hi there:
I have installed XAMPP win 32-1.4.16. Everything seems to be fine. In the control panel i see Apache, MSql, Filezilla running and i can start or stop Mercury whenever I want.
When I try to open the php files they open as black windows. They open and close in a second. I cannot read or even type anything in them.

What is going wrong and how can I solve it?
Thanks!
:roll: Pocean
pocean
 
Posts: 6
Joined: 28. March 2008 14:30

Postby Wiedmann » 09. April 2008 20:15

I have installed XAMPP win 32-1.4.16.

Why such a methuselah?

What is going wrong and how can I solve it?

You should lear (e.g. from the PHP manual) how PHP works:
--> You must open this files in your browser with "http://servername/path/scriptname.php".
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby pocean » 09. April 2008 22:22

Hi:
I noticed that if I right click on the file I can open it with a notepad. I tried to from the http://... and I got the message "access denied"

I guess.. as long as I can open and edit it (using notepad) it will be fine.
I am right?

I used that XAMPP older version because is the one that is recommended to work with zencart. Newer versions are having problems with getting Apache running.
Thanks
pocean
pocean
 
Posts: 6
Joined: 28. March 2008 14:30

Postby colbyt » 10. April 2008 20:57

Put your php files in a folder in the htdocs section under the xampp folder then to use them visit localhost/foldername.

You should also get something better than notepad to edit your php files. Notepad2 is free and good. There are a lot of others.
colbyt
 
Posts: 7
Joined: 03. January 2008 16:41
Operating System: windows 7

Postby pocean » 14. April 2008 18:59

Thank a lot, to all of you.
very helpful answers!!

:) :)
pocean
 
Posts: 6
Joined: 28. March 2008 14:30


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 70 guests