FS#29432 - [mythplugins-mythweb] expects /usr/local/share/mythtv/bindings/php/ in open_basedir

Attached to Project: Community Packages
Opened by Robert de Jager (blob) - Friday, 13 April 2012, 15:12 GMT
Last edited by Jonathan Conder (PirateJonno) - Saturday, 14 April 2012, 12:08 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jonathan Conder (PirateJonno)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

After upgrading mythtv and all plugins to 0.25, php complains about /usr/local/share/mythtv/bindings/php/ not being in open_basedir.
To solve this we can either:

add it to open_basedir. This would be redundant, because the path doesn't exist.

or

edit /srv/http/mythweb/mythweb.php line 17 and turn
ini_set('include_path', '/usr/local/share/mythtv/bindings/php/'.PATH_SEPARATOR.'/usr/share/mythtv/bindings/php/'.PATH_SEPARATOR.ini_get('include_path'));
into
ini_set('include_path', '/usr/share/mythtv/bindings/php/'.PATH_SEPARATOR.ini_get('include_path'));

I think the latter is preferable, although it would require another sed command in the PKGBUILD
This task depends upon

Closed by  Jonathan Conder (PirateJonno)
Saturday, 14 April 2012, 12:08 GMT
Reason for closing:  Fixed
Comment by Jonathan Conder (PirateJonno) - Saturday, 14 April 2012, 12:07 GMT
Should be fixed in 1:0.25-2

Loading...