capsx Posted February 29, 2012 Report Share Posted February 29, 2012 laba nakts :) man te interesanta kļūda lec vislaik ārā, un es nevar saprast kāda vella pēc ... failā xml.php 14 rindiņa ir: include('/srv/www/v.hosts/xxx/yyy.lv/asd/db.php'); setots ir: php_admin_value open_basedir /tmp/:/srv/www/v.hosts/xxx/yyy.lv/ un errors bļaun par to include rindiņu: PHP Warning: include(): open_basedir restriction in effect. File() is not within the allowed path(s): (/tmp/:/srv/www/v.host/xxx/yyy.lv/) in /srv/www/v.hosts/xxx/yyy.lv/asd/xml.php on line 14 tas jau ka File() vietā bijā jāuzrādās reālam failam ... un pamanīju arī ka pilns php errors logs ir ar šitādiem File() is not within the allowed path(s): neskaitot šo gadījumu distro ir OpenSuSe 12.1 (kaut kā ar šito 12.1 visādi gļuki uzpeld) ar Apache/2.2.21 PHP 5.3.8 (cli) Quote Link to comment Share on other sites More sharing options...
capsx Posted February 29, 2012 Author Report Share Posted February 29, 2012 (edited) https://bugs.php.net/bug.php?id=60636 tomēr pārliekot visu uz pathiem bez punktiem - taspac :S bet nu izskatās, ka tiek izmests tikai warnings, bet pats fails includojas ... Edited March 1, 2012 by capsx Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.