Adding PHP support to web remote?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
Skootles
Blank Cone
Blank Cone
Posts: 15
Joined: 17 Jul 2007 04:19

Adding PHP support to web remote?

Postby Skootles » 18 Jan 2008 17:38

Alright, I want to just modify the web remote page to show a page using PHP. How can I enable PHP support? I have it installed, and tried going into the settings (Interface > Main Interfaces > HTTP) and adding php="C:/Program Files/PHP" to the handlers.. but whenever I try to go to http://localhost:8080/old/index.php, I just get redirected to the original /old/index.html

Xogede
New Cone
New Cone
Posts: 1
Joined: 19 Jan 2008 00:07

Re: Adding PHP support to web remote?

Postby Xogede » 19 Jan 2008 00:13

Have you tried php="C:/Program Files/PHP/php.exe"?

Skootles
Blank Cone
Blank Cone
Posts: 15
Joined: 17 Jul 2007 04:19

Re: Adding PHP support to web remote?

Postby Skootles » 20 Jan 2008 18:46

That seems to be working, but I'm still having problems here. I think if I could get the remote to run on port 80 instead of 8080, it would work. How can I change this? I've looked around in the settings, but can't find how change it.

I googled around, and some said to use "--http-host=:80", where would I put that in?

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: Adding PHP support to web remote?

Postby Arite » 20 Jan 2008 18:53

Are you running Apache 2? If so, you could edit httpd.conf so that it listens to a different port e.g.:

Code: Select all

Listen 192.168.1.8:8008
Where 192.168.1.8 is you IP address and 8008 is your desired port.

Arite.
Don't use PMs for support questions.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 6 guests