Hi,
I'm new to this forum and new to the rapid php software.
I have XAMPP installed and I am trying to map to the apache/htdocs folder that is part of XAMPP. I go through the mapping procedure but when I click on "Preview", I get an error message "The software is not yet configured for previewing PHP files". What am I doing wrong?
Thanks for the help,
esm
Mapping difficulties
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Please try to follow these guidelines. This will help to receive faster and more accurate response.
- Check the Support section of the corresponding product first. Chances are you will find your answer there;
- Do not create new topics for already reported problems. Add your comments to the existing topics instead;
- Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
- Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
- Include the version number of the software you are using;
- This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
- Karlis
- Site Admin
- Posts: 3605
- Joined: Mon Jul 15, 2002 5:24 pm
- Location: Riga, Latvia, Europe
- Contact:
Your web files that you are trying to preview myst be saved in the XAMPP document root (or a subfolder).
I have not had any experiences with XAMPP, but if you use plain apache, the document root is usually c:\apache\htdocs\ so you have to map that to http://localhost/
I am not sure, probably XAMPP does not use the defaults and you need to look in their reference to find out which is the document root folder.
I have not had any experiences with XAMPP, but if you use plain apache, the document root is usually c:\apache\htdocs\ so you have to map that to http://localhost/
I am not sure, probably XAMPP does not use the defaults and you need to look in their reference to find out which is the document root folder.
- Karlis
- Site Admin
- Posts: 3605
- Joined: Mon Jul 15, 2002 5:24 pm
- Location: Riga, Latvia, Europe
- Contact:
Probably this may help:
I am not usre about the XAMPS problem, but many of as are using various web servers with no problems at all.From default XAMPP config file:
Local path should be:
C:\apachefriends\xampp\htdocs\xampp\
URL should be:
http://localhost/
I observed that xampp uses very weird and non-standard directory / php configuration, so it could be the cause of the problm. Anyway, here is a way to test things:
1) save your index.php file to C:\apachefriends\xampp\htdocs\xampp\
2) Go to web browser (not the editor) and type http://localhost/index.php
If it works just fine then we can continue searching for the problem, otherwise the xampp does not work correctly.
If you get error message like this:
Parse error: syntax error, unexpected T_STRING in C:\apachefriends\xampp\htdocs\xampp\index.php on line 10
It means that there is an error in the PHP file, index.php file is found and can be displayed but its syntax is not correct.
I use XAMPP and i have no problems. Here are my settings
Preferences->Mappings
Local or FTP Path - C:\apachefriends\xampp\htdocs\xampp\
Web Server Path - http://localhost/xampp/
Im sure your paths may be different. I had a problem at first but i was missing the last / in the webs server path.
Let me know if you have more problems.
Preferences->Mappings
Local or FTP Path - C:\apachefriends\xampp\htdocs\xampp\
Web Server Path - http://localhost/xampp/
Im sure your paths may be different. I had a problem at first but i was missing the last / in the webs server path.
Let me know if you have more problems.