ID: 40552
User updated by: lepage at grm dot polymtl dot ca
-Summary: upgrade from 5.15 to 5.2x
Reported By: lepage at grm dot polymtl dot ca
-Status: No Feedback
+Status: Open
Bug Type: Unknown/Other Function
Operating System: Solaris 9
PHP Version: 5.2.1
New Comment:
I am loosing fate in the php team. They have no test bench or what?
No longer looking for '.' in the path is a pretty serious stupid bug.
I was looking every where for a solution only thing I found looking for
those keyword where site that are actually down..!
I was even told here it's not a bug, I had to do coding to prove that
include ./file does not work.
hakkarainen, thank for tesing the latest version for me, I have no more
time to test all the latest php crap.
Previous Comments:
------------------------------------------------------------------------
[2007-03-07 13:18:57] hakkarainen at cs dot joensuu dot fi
I have the very same problem with php5.2-200703060530 and Solaris 9
(php5.2-200611160530 did not had this problem).
------------------------------------------------------------------------
[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] tony2001@php.net
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...
------------------------------------------------------------------------
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