Bug Report PHP isnt working on web browser anymore

fbs777

New Member
After 21.1 all my local .php files are not working anymore with the web source plugin, a lot of errors even on commented lines started with "#".

After backup (21.0.1) the plugins folder (Program Files(x86)\obs-studio\obs-plugins\64bit) all .php files are working fine again. I tried to just backup the obs-browser.dll plugin but this was not enough.

Im using the windows 10 version.
 

fbs777

New Member
As i said before:
After backup (21.0.1) the plugins folder (Program Files(x86)\obs-studio\obs-plugins\64bit) all .php files ARE WORKING fine again.

Im using the URL localhost/page.php because im using a local webserver running apache+php, so of course this must to work
 

fbs777

New Member
All the code inside the
<?php
# comment line
# another comment line
(php code)
?>

are showing as html code, so all variables and even the comment lines are visible and showing as text lines.
External websites using php are not having this problem, only the local php files.

The problem is some file inside the plugins folder in the 21.1 version.
All older versions are working fine, and now im using the plugin folder from the 21.0.1 with this new 21.1 executable.
Its working, but i think its better to reinstall the full 21.0.1 and wait a fix before update to 21.1.
 

Osiris

Active Member
There is nothing to fix, the browser source uses chromium, which doesn't do anything special with php files. Besides php files are executed on the server.
Perhaps it redirects to https, which isn't configured for php on your local server?
I have tried it with a local server and it works perfectly fine.
 

fbs777

New Member
Finally, after hours, its solved. I only use php pages, but actually this is not a PHP problem. After some tests i can say even .html have the same problem.

After 21.1 its impossible to define a local url without the "http://".
All my sources was using the URL:

localhost/somepage.php

This was working fine until the 21.0.1 version. Now with the 21.1 this MUST BE:

http://localhost/somepage.php

The same thing happens with the 127.0.0.1/somepage.html. Now this must be http://127.0.0.1/somepage.html

After change all the sources to start the urls with http:// all the local pages are working fine again
 
Top