|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-04-29 03:57 UTC] tstromberg at rtci dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 22:00:01 2025 UTC |
When running PHP 4.0RC1 under Roxen 2.0.46, it never chdir's to the directory of the script, instead it stays in /usr/local/roxen. This really screws up with relative paths for include() and fopen(). You could of course, chdir yourself in every document, but this is definitely not the behaviour I've seen in Apache. Script to reproduce problem. It should show the files /usr/local/roxen rather then the scripts directory: $handle = opendir('.'); while ($file = readdir($handle)) { print ("$file\n"); } closedir($handle); configured with: ./configure --with-roxen=/usr/local/roxen/server --with-mysql --with-xml php.ini: only difference is include_path has "."