Running PHP in OBS Browser

Is there a way to change or add a configuration setting that would allow PHP code to be executed?

If not, is it possible to install/use a local Apache HTTPD instance within the obs-studio tree?

(I would like to be able to have an obs-studio installation truly be “standalone” and “portable”.)
 

Sukiyucky

Member
Your question is one of service integration. I suggest you go install XAMPP and setup your Apache web server. Then, drop your PHP files in the default Apache html directory.

When you do a HTTP request or HTTP get, you specify a URI that points at the PHP file. Apache will tokenize the URI and determine that you want to invoke a PHP file. The PHP interpreter will then be invoked to execute all your PHP code and then return to the browser an HTML document. Of course, you specify the URI address in OBS browser and capture whatever shows in it.

Example: http://localhost/myphpapp/home.php
 
Top