Bug #61044 [Opn->Asn]: invalid PHP_BINDIR

From: Date: Fri, 10 Feb 2012 22:19:06 +0000
Subject: Bug #61044 [Opn->Asn]: invalid PHP_BINDIR
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-167408@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61044&edit=1 ID: 61044 Updated by: johannes@php.net Reported by: bugzilla33 at gmail dot com Summary: invalid PHP_BINDIR -Status: Open +Status: Assigned Type: Bug Package: Unknown/Other Function Operating System: win 7 PHP Version: 5.4.0RC7 -Assigned To: +Assigned To: pajoye Block user comment: N Private report: N New Comment: This is defined while compiling PHP (prefix-option from compile.js), the way to fix this would be to do some run-time detection, not sure whether there's a proper way. Previous Comments: ------------------------------------------------------------------------ [2012-02-10 18:05:38] anon at anon dot anon He's right. This seems to be totally broken on Windows: C:\>server\php\php.exe --version PHP 5.3.2 (cli) (built: Mar 3 2010 19:40:13) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans C:\>server\php\php.exe -r "echo PHP_BINDIR"; C:\php5 ------------------------------------------------------------------------ [2012-02-10 13:42:02] bugzilla33 at gmail dot com Description: ------------ Install php in folder c:\Php5 As module apache Test script: --------------- <?php print(PHP_BINDIR); phpinfo(); ?> Expected result: ---------------- c:\Php5 Actual result: -------------- c:\Php ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61044&edit=1

« previous php.bugs (#167408) next »