ID: 34514 User updated by: madison at westga dot edu Reported By: madison at westga dot edu Status: Open Bug Type: Scripting Engine problem Operating System: Solaris 9 PHP Version: 4.4.0 New Comment:
sorry, that error happens during make, not configure. Previous Comments: ------------------------------------------------------------------------ [2005-09-27 14:00:09] madison at westga dot edu I'm having a problem compiling the newest CVS snapshot... ./configure --prefix=/usr/local/bin/httpd/phpTest --with-apxs2=/usr/local/bin/httpd/apache2Test/bin/apxs here is the error... gcc: ext/session/.libs/mod_us: No such file or directory make: *** [sapi/cli/php] Error 1 ------------------------------------------------------------------------ [2005-09-23 01:00:02] 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". ------------------------------------------------------------------------ [2005-09-15 17:06:42] [EMAIL PROTECTED] And check also if this happens when using CLI.. ------------------------------------------------------------------------ [2005-09-15 17:01:12] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip ------------------------------------------------------------------------ [2005-09-15 16:58:18] madison at westga dot edu Description: ------------ This bug: http://bugs.php.net/bug.php?id=13936 appears never to have been completely resolved. Using the test code from the above bug... If the code resides somewhere in the DocumentRoot then it works as expected. But, if it resides in a users public_html directory or inside an aliased directory, it doesn't give the correct path. I get the same issue with the current CVS version of PHP5 and apache 2. Reproduce code: --------------- <?php echo "original file is: " . __FILE__ . "<br>"; include("test2.php"); ?> contents of test2.php: <?php echo "included file is: " . __FILE__ . "<br>"; $boo = "another try: " . __FILE__; echo $boo; ?> Expected result: ---------------- original file is: /home/madison/public_html/test.php included file is: /home/madison/public_html/test2.php another try: /home/madison/public_html/test2.php Actual result: -------------- original file is: /home/madison/public_html/test.php included file is: ./test2.php another try: ./test2.php ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34514&edit=1