Bug #71432 [NEW]: Can not load any extention if extension_dir = "ext"
From: radchenkosasha at gmail dot com
Operating system: Windows x64
PHP version: 7.0.2
Package: Dynamic loading
Bug Type: Bug
Bug description:Can not load any extention if extension_dir = "ext"
Description:
------------
In Windows Apache x64 with PHP7 x64 the extension_dir should have
absolute path to load any php extension.
If extension_dir is default value (extension_dir = "ext") than Apache
can not start with next error:
ÐÐ¼Ñ Ñбойного пÑиложениÑ: httpd.exe,
веÑÑиÑ:
2.4.18.0, меÑка вÑемени: 0x5667fd57
ÐÐ¼Ñ Ñбойного модÑлÑ: php7ts.dll,
веÑÑиÑ: 7.0.2.0,
меÑка вÑемени: 0x568d8ca4
Ðод иÑклÑÑениÑ: 0xc0000005
СмеÑение оÑибки: 0x000000000048ab5c
ÐденÑиÑикаÑÐ¾Ñ Ñбойного
пÑоÑеÑÑа: 0x1174
ÐÑÐµÐ¼Ñ Ð·Ð°Ð¿ÑÑка Ñбойного
пÑиложениÑ:
0x01d1551da50cdb71
ÐÑÑÑ Ñбойного пÑиложениÑ:
C:\Apache24x64\bin\httpd.exe
ÐÑÑÑ Ñбойного модÑлÑ: C:\PHP7x64\php7ts.dll
ÐденÑиÑикаÑÐ¾Ñ Ð¾ÑÑеÑа:
8b511f1f-b641-42e9-ab42-9f1cb63a72e6
Ðолное Ð¸Ð¼Ñ Ñбойного пакеÑа:
Ðод пÑиложениÑ, ÑвÑзанного
Ñо ÑбойнÑм
пакеÑом:
To workaround this error you should replace relative path with absolute
path for extension_dir. For example (extension_dir = "C:\PHP7x64\ext")
Test script:
---------------
php.ini with extension_dir related path and any extension loading
extension_dir = "ext"
extension=php_curl.dll
Expected result:
----------------
Apache can not start with next error:
ÐÐ¼Ñ Ñбойного пÑиложениÑ: httpd.exe,
веÑÑиÑ:
2.4.18.0, меÑка вÑемени: 0x5667fd57
ÐÐ¼Ñ Ñбойного модÑлÑ: php7ts.dll,
веÑÑиÑ: 7.0.2.0,
меÑка вÑемени: 0x568d8ca4
Ðод иÑклÑÑениÑ: 0xc0000005
СмеÑение оÑибки: 0x000000000048ab5c
ÐденÑиÑикаÑÐ¾Ñ Ñбойного
пÑоÑеÑÑа: 0x1174
ÐÑÐµÐ¼Ñ Ð·Ð°Ð¿ÑÑка Ñбойного
пÑиложениÑ:
0x01d1551da50cdb71
ÐÑÑÑ Ñбойного пÑиложениÑ:
C:\Apache24x64\bin\httpd.exe
ÐÑÑÑ Ñбойного модÑлÑ: C:\PHP7x64\php7ts.dll
ÐденÑиÑикаÑÐ¾Ñ Ð¾ÑÑеÑа:
8b511f1f-b641-42e9-ab42-9f1cb63a72e6
Ðолное Ð¸Ð¼Ñ Ñбойного пакеÑа:
Ðод пÑиложениÑ, ÑвÑзанного
Ñо ÑбойнÑм
пакеÑом:
--
Edit bug report at https://bugs.php.net/bug.php?id=71432&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71432&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71432&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71432&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=71432&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=71432&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=71432&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=71432&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=71432&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=71432&r=support
Expected behavior: https://bugs.php.net/fix.php?id=71432&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=71432&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=71432&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=71432&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71432&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=71432&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=71432&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=71432&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71432&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=71432&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=71432&r=mysqlcfg
Thread (2 messages)
- radchenkosasha at gmail dot com