File System Path to access WAMP from Rapid PHP
Posted by: jPaulB (---.cpe.net.cable.rogers.com)
Date: May 05, 2022 03:08PM

Hi Everybody,

I've been using WAMP for some time, and it works very well. With WAMP, I need to rename each small test-snippet to "index.htm" for WAMP to find and execute it.

So I installed Rapid PHP 2022. This editor says that it can channel any previews through a Web server like WAMP. However, using the editor produces "undefined index" errors each time I execute. Again, WAMP performs (the same script) without any hiccups.

Sadly, Rapid PHP technical support has not been able to help me resolve and suggested WAMP are the people to speak to.

The issue appears to be how Rapid PHP is directed to the Web server. There are two elements to that:

Filesystem Path:
I use "C:\wamp64\bin\apache\apache2.4.51\htdocs\" What is the proper "Filesystem Path", and do I need to copy my working snippets to that directory, or not?

Web Server Path:
I use "[localhost"];

Any help with this will be hugely appreciated.

Many Thanks,
Paul

(If I wasn't so stupid, I wouldn't have to be so persistent)

Re: File System Path to access WAMP from Rapid PHP
Posted by: Otomatic (Moderator)
Date: May 05, 2022 04:39PM

Hi,

> I need to rename each small test-snippet to "index.htm" for WAMP to find and execute it.

The couple Apache PHP is able to execute php code only in suffixed file ".php" only

The files that are automaticaly loaded if a directory is wanted ( 'http://my_directory/') are:
index.php index.php3 index.html index.htm

'http://localhost/' automaticaly loads c:\wamp64\www\index.php

You have to put your test files in c:\wamp64\www\mydir\ and launch them by:

'http://localhost/mydir/myfile.php

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Sorry, only registered users may post in this forum.