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

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.9 32 bit - Apache 2.4.54 - PHP 8.1.9…5.6.40 - MySQL 5.7.39 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.54 - PHP 8.1.9…5.6.40 - MySQL 5.7.39/8.0.30 - MariaDB 10.5.17/10.8.4
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Sorry, only registered users may post in this forum.