ID:               39102
 Updated by:       [EMAIL PROTECTED]
 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:

No bug here, documentation describes in details what should be done in
order to make mysql extension work on Windows.
Please follow the instructions in the docs: http://php.net/mysql


Previous Comments:
------------------------------------------------------------------------

[2006-10-10 14:18:26] nicodoggie at gmail dot com

I'm sorry, I guess I should've mentioned that I did uncomment the
particular extension I wanted... I kinda thought that was pretty
obvious...

I tried example no. 3 then no. 1 because these were frequent in the
documentations, the trailing slash wasn't in any of those but i tried
it anyway, but then I forgot to add that in my bug report...

The special files, the dlls, are all in the C:\php so I added that
folder in the PATH environment variable on windows... 

I guess this might be my own fault, being a newbie and all, sorry if
I'm too persistent, but then there are a lot of people having this
problem, and if someone did address this problem, in documentation or
if someone really looked into this... I didn't seem to have this
trouble in 5.0.1, the version I installed when I learned PHP...

------------------------------------------------------------------------

[2006-10-10 08:54:23] [EMAIL PROTECTED]

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.



------------------------------------------------------------------------

[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

Reply via email to