php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21140 file_exists() always return false
Submitted: 2002-12-22 09:09 UTC Modified: 2002-12-22 21:14 UTC
From: aries at mindworks dot hu Assigned:
Status: Closed Package: Apache2 related
PHP Version: 4.2.3 OS: FreeBSD 4.7-STABLE
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: aries at mindworks dot hu
New email:
PHP Version: OS:

 

 [2002-12-22 09:09 UTC] aries at mindworks dot hu
The mod_php4-4.2.3 port's file_exists() function always return false. 
Some info, what phpinfo() say:

Configure Command:
'./configure' '--with-apxs2=/usr/local/sbin/apxs'
'--with-tsrm-pth' '--with-config-file-path=/usr/local/etc'
'--enable-versioning' '--with-regex=system' '--without-gd' '--without-mysql'
'--with-gd=/usr/local' '--enable-gd-native-ttf'
'--with-freetype-dir=/usr/local' '--with-jpeg-dir=/usr/local'
'--with-png-dir=/usr/local' '--with-zlib' '--with-bz2=/usr'
'--with-mcrypt=/usr/local' '--with-mhash=/usr/local' '--with-pdflib=/usr/local'
'--with-zlib-dir=/usr' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local'
'--with-tiff-dir=/usr/local' '--with-imap=/usr/local'
'--with-imap-ssl=/usr/local' '--with-mysql=/usr/local'
'--with-pgsql=/usr/local' '--with-interbase=/usr/local/firebird'
'--with-ldap=/usr/local' '--with-openssl=/usr' '--with-snmp=/usr/local'
'--enable-ucd-snmp-hack' '--with-openssl=/usr' '--with-expat-dir=/usr/local'
'--with-xmlrpc' '--enable-xslt' '--with-xslt-sablot=/usr/local' '--enable-wddx'
'--with-dom=/usr/local' '--enable-ftp' '--with-curl=/usr/local'
'--with-gettext=/usr/local' '--with-iconv=/usr/local'
'--with-pspell=/usr/local' '--enable-mbregex' '--enable-mbstring' '--enable-yp'
'--enable-bcmath' '--with-ming=/usr/local' '--enable-sockets'
'--enable-sysvsem' '--enable-sysvshm' '--enable-trans-sid'
'--prefix=/usr/local' 'i386-portbld-freebsd4.7'

Server API: Apache 2.0 Filter
Virtual Directory Support: enabled
Configuration File (php.ini) Path: /usr/local/etc/php.ini
Debug Build: no
Thread Safety: enabled

If anybody needs, I'll send him/her the whole phpinfo() output



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-22 09:12 UTC] edink@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.
 [2002-12-22 16:37 UTC] drewish at spamcop dot net
i'd love to get it off of snaps.php.net but the problem is that older version aren't left on the server. i'm trying to use the freebsd port and it expects 4.2.3 not 4.3. i guess i need to try to figure out how to get an older version out of cvs.
 [2002-12-22 21:14 UTC] edink@php.net
Log in to the PHP anonymous CVS server. Use phpfi as the password.

cvs -d :pserver:cvsread@cvs.php.net:/repository login

Obtain the PHP 4 CVS tree (4.2.4-dev):

cvs -d :pserver:cvsread@cvs.php.net:/repository co -r PHP_4_2_0 php4

cd php4
./buildconf
./configure ...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 09:01:27 2024 UTC