#39102 [Opn->Bgs]: Can't load extensions!!
| From: | tony2001@php.net | Date: | Tue, 10 Oct 2006 08:54:23 +0000 |
| Subject: | #39102 [Opn->Bgs]: Can't load extensions!! | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-103346@lists.php.net to get a copy of this message | ||
ID: 39102
Updated by: tony2001@php.net
Reported By: nicodoggie at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: Win XP
PHP Version: 5.1.6
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2006-10-10 06:33:01] albertbrian at gmail dot com
Besides, you seem to forget that you have to remove ";" before
extension (xsl, mysql) what you needed. Take a look in php.ini
...
;extension=php_msql.dll
...
Again, this is not a bug. It's just a problem of user.
------------------------------------------------------------------------
[2006-10-10 05:42:55] albertbrian at gmail dot com
This is actually not a bug. It's just a problem for newbie.
1) Set extension_dir to correct folder you have extension files. It has
to end with /. Your setting: c:\php\ext or c:/php/ext or ./ext or .\ext
= incorrect
2) Some of extensions require its special files. You should read
document for details.
3) Logs :)
------------------------------------------------------------------------
[2006-10-10 01:13:05] nicodoggie at gmail dot com
Description:
------------
I'm running Apache 1.33.34 on Win XP
I've tried everything to load the extensions...
I've changed my extension_dir to the following:
1) c:\php\ext
2) c:/php/ext
3) ./ext
4) .\ext
and I've uncommented the particular extensions I need
(xsl, mysql)
I've already added C:\php to the PATH Env Variable in my system, so the
dlls that are bundled aren't a problem...
but then they still don't load.
When i tried php -m on the console it did turn up, so I considered
using PHP as CGI, to no avail, as I tried
<?php phpinfo(); ?> it still didn't find the new extensions...
Reproduce code:
---------------
<?php phpinfo();
if(!extension_loaded('xsl')){
echo "<p>XSL IS LOADED</p>";
}
?>
Expected result:
----------------
The new extensions to be displayed in one of the tables...
and
XSL IS LOADED
Actual result:
--------------
none of the new extensions turned up, nor did the echoed that was to be
displayed as output
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39102&edit=1