Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » PHP built in server wrong path and no files(The server has a wrong path and no files are found when requested)
PHP built in server wrong path and no files [message #1869138] Fri, 02 August 2024 10:42 Go to next message
Yak Maya is currently offline Yak MayaFriend
Messages: 4
Registered: August 2024
Junior Member
CURRENT SETUP Software Windows 10 XAMPP (Apache, PHPMyadmin, Fillezilla, openssl etc.) Eclipse Version: 2024-03 (4.31.0) PHP Version 8.2.12 XDEBUG 3.3.2
project path: G:xampp\htdocs\api\project php built in server path: https://localhost project path settings: project base path: api/project https://localhost/api/project
server xml: <?xml version="1.0" encoding="UTF-8"?>
<Server>
<Port name="HTTP/1.1" protocol="HTTP">8429</Port>
<PathMapping local="https://localhost/api/project" module="project" remote="G:\xampp\htdocs\api\project"/></Server>
Run as - Run on server does not work. It has a wrong path (without /api/ part) and even when correcting the path there are no files found.
run as - run on server gives: browser: Not Found The requested resource /project/login.php was not found on this server. console:
[Fri Aug 2 11:19:18 2024] 127.0.0.1:64548 Accepted [Fri Aug 2 11:19:18 2024] 127.0.0.1:64548 [404]: GET /project/login.php - No such file or directory [Fri Aug 2 11:19:18 2024] 127.0.0.1:64548 Closing
browser: localhost:8429 - not found localhost:8429/api/project - not found terminal: ping localhost:8429 -not found

run as - CLI application works
run as - web application works
How to fix this?
Re: PHP built in server wrong path and no files [message #1869141 is a reply to message #1869138] Fri, 02 August 2024 15:20 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4493
Registered: July 2009
Senior Member

Have you retested this on the current release?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: PHP built in server wrong path and no files [message #1869153 is a reply to message #1869141] Sat, 03 August 2024 09:43 Go to previous message
Yak Maya is currently offline Yak MayaFriend
Messages: 4
Registered: August 2024
Junior Member
Thank you for your time. I have installed eclipse via download. I have updated it after reading your answer. Same behavior.
Previous Topic:New PHP Project from Composer Package can't see package version
Next Topic:Xdebug doesn't work
Goto Forum:
  


Current Time: Sun Oct 13 01:29:01 GMT 2024

Powered by FUDForum. Page generated in 0.04120 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top