#49642 [NEW]: Configure Command reports use hardcoded paths e.g. d:\php-sdk\...
| From: | darryn dot kidd at thetrainline dot com | Date: | Wed, 23 Sep 2009 12:15:54 +0000 |
| Subject: | #49642 [NEW]: Configure Command reports use hardcoded paths e.g. d:\php-sdk\... | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-142764@lists.php.net to get a copy of this message | ||
From: darryn dot kidd at thetrainline dot com
Operating system: Windows Server 2003
PHP version: 5.2.11
PHP Bug Type: Windows Installer
Bug description: Configure Command reports use hardcoded paths e.g. d:\php-sdk\...
Description:
------------
I have just installed the non-thread safe version 5.11 using the .msi
download. When subsequently loading a php page using phpinfo(), the
"Configure Command" has hardcoded paths e.g.
with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk,shared". As our system
does not have this folder or drive, I think it is causing problems when
trying to load the php_pdo_oci.dll.
When enabling the extension in php.ini i.e. extension=php_pdo_oci.dll, the
test page doesn't load (just calling print phpinfo) and the server event
system reports the problem "Unable to load dynamic link library
'C:\PHP\ext\php_pdo_oci.dll' - The specified procedure could not be found."
I have checked that the file is there, and that the php.ini directs my
extensions to the ext directory, so I can only think that it now has a
problem finding the correct client to use, which looks like it is
hard-coded in the "Configure Command".
Can the hard-coded paths be removed from the installer package, or is
there another method to make php connect to the correct oracle client.
Thanks,
Darryn
Reproduce code:
---------------
print phpinfo()
--
Edit bug report at http://bugs.php.net/?id=49642&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49642&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49642&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49642&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49642&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49642&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49642&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49642&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49642&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49642&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49642&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49642&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49642&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49642&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49642&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49642&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49642&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49642&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49642&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49642&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49642&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49642&r=mysqlcfg