running XAMPP for Linux 1.5.2 on non-standard port

Irgendwelche Probleme mit XAMPP für Linux? Dann ist hier genau der richtige Ort um nachzufragen.

running XAMPP for Linux 1.5.2 on non-standard port

Postby hodgeswalt » 31. May 2006 14:16

I apologize that I German communication is not available to me.

Easy to change the Listen 80 in httpd.conf to Listen 12345. I need to change PHP to listen on the same port. I believe I need to change the contents of configure.php (i.e. HTTP_SERVER (configure.php). I imagine 'http://mysite:12345') Where do I redirect the PHP listen?

Please assist me in redirecting PHP.

Thank you,

Walt
hodgeswalt
 
Posts: 2
Joined: 31. May 2006 14:05

Postby deepsurfer » 31. May 2006 14:32

hhmmm... i mean PHP dont need to listen on Ports, the php-parsing startet from the http request not from any php-ports.

you have change the listen directive, now you can see all pages (php pages too) with http://localhost:12345

or what you mean with your question ?
chirio Deep
Wie sagte einst der MCP aus Tron auf dem Bildschirm zu schreiben Pflegte
" ... end of communication ... "
User avatar
deepsurfer
AF Moderator
 
Posts: 6440
Joined: 23. November 2004 10:44
Location: Cologne
Operating System: Win-XP / Win7 / Linux -Debian

trying to explain my problem

Postby hodgeswalt » 31. May 2006 14:42

when accessing http://1.1.1.1/ (with httpd.conf LISTEN 80) then XAMPP works correctly, AND I can see my php application http://1.1.1.1/phpESP/ All is working great.

If I change httpd.conf LISTEN 12345, then, http://1.1.1.1:12345/
XAMPP works correctly BUT, my php application is not reachable http://1.1.1.1:121345/phpESP returns a "Page Not Found"

My Google searching found one response to change a setting in config.php to handle the non standard port.

Thank you,

Walt
hodgeswalt
 
Posts: 2
Joined: 31. May 2006 14:05

Postby deepsurfer » 31. May 2006 15:11

ahhhh..

i think in the phpESP config files are the request to http://localhost (or domain) without the port direction.
chirio Deep
Wie sagte einst der MCP aus Tron auf dem Bildschirm zu schreiben Pflegte
" ... end of communication ... "
User avatar
deepsurfer
AF Moderator
 
Posts: 6440
Joined: 23. November 2004 10:44
Location: Cologne
Operating System: Win-XP / Win7 / Linux -Debian


Return to XAMPP für Linux

Who is online

Users browsing this forum: No registered users and 67 guests