ID: 40552 Comment by: hakkarainen at cs dot joensuu dot fi Reported By: lepage at grm dot polymtl dot ca Status: No Feedback Bug Type: Unknown/Other Function Operating System: Solaris 9 PHP Version: 5.2.1 New Comment:
I have the very same problem with php5.2-200703060530 and Solaris 9 (php5.2-200611160530 did not had this problem). Previous Comments: ------------------------------------------------------------------------ [2007-03-07 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2007-02-27 18:31:17] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip ------------------------------------------------------------------------ [2007-02-22 01:44:10] lepage at grm dot polymtl dot ca note that if I use include('/home/lepage/HTML/include.inc'); it does work while using include('./include.inc'); does not work. It was woking fine in php-5.1.5 and not in php-5.2.0 nor php-5.2.1, I see in change log : - Removed current working directory from the php.ini search path for CLI and re-added it for other SAPIs (restore to pre 5.1.x behavior). (Edin) may be it was not well restore... I don't know. Can you please help me fix this. it cause many problem with user installed phpBB and phpAlbum. ------------------------------------------------------------------------ [2007-02-22 01:21:53] lepage at grm dot polymtl dot ca Here is the error, While it is not working in a user directory it does in the web root directory. === file info.php === <?php include('./include.inc'); include('include.inc'); phpinfo(); ?> === file include.inc === allo... <?php /* allo * * nothing really */ ?> ----- Warning: include(./include.inc) [function.include]: failed to open stream: No such file or directory in /home/lepage/HTML/info.php on line 3 Warning: include() [function.include]: Failed opening './include.inc' for inclusion (include_path='/usr/local_9/opt/php/lib/php:/php/includes:.') in /home/lepage/HTML/info.php on line 3 allo... and then the php_info() output. == I found odd that I have to code since I am a sysAdmin trying to update php to latest, I am not a php coder and therefore it should be easier for SysAdmin to update php to the latest... ------------------------------------------------------------------------ [2007-02-21 08:06:52] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40552 -- Edit this bug report at http://bugs.php.net/?id=40552&edit=1
