ID:               42613
 User updated by:  patrick at baynewmedia dot com
 Reported By:      patrick at baynewmedia dot com
 Status:           Assigned
 Bug Type:         *General Issues
 Operating System: Windows XP Pro & Windows Vista
 PHP Version:      5.2.4
 Assigned To:      jmertic
 New Comment:

"Please reinstall with ONLY the extensions you need."

I wasn't going to write another follow-up but...are you [EMAIL PROTECTED] 
KIDDING
ME?!? What extensions do I need? How about you tell me! What the hell
have I been asking since day one?!? 
You guys are absolutely brutal. You keep going around like a broken
record; you keep saying the same things and when you can't get to the
bottom of the issue, you hand it off to someone else and they
do...EXACTLY THE SAME THING! 

I'm truly lost for words.


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

[2007-10-24 16:01:24] patrick at baynewmedia dot com

[EMAIL PROTECTED]: *sigh* Do you really want me to repeat everything
ANOTHER time? Did you bother to read any of the posts I made in this
thread? Your "advice" indicates you just skipped everything. I'm not
doing this again...scroll up this page to the top, and read. If you
can't be bothered, please hand this over to someone who cares.

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

[2007-10-24 11:52:57] [EMAIL PROTECTED]

A few things:

- You shouldn't need to set any PATH environment variables; the
installer does this for you.
- Likewise, you should not need to tweak anything else in the php.ini
file, unless you have some advanced directive that needs set. The
installer takes care of all typical things, including the extension_dir
setting.
- Please reinstall with ONLY the extensions you need.

It sounds like a combination of tweaking things that don't need tweaked
and trying to install everything by default is the culprit here. Let me
know if redoing the install with the above advice helps things out.

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

[2007-10-22 18:00:30] patrick at baynewmedia dot com

[EMAIL PROTECTED]:

No, no files were moved. Files were only copied in this way:

1. When all DLLs continued to fail to load from the original
installation directory (C:\PHP5\ext) I copied them (not moved, just
copied) to the root installation directory (C:\PHP5). Now they were
duplicated but at least they were being found. Any changes I made to the
PHP.ini file regarding the location of extensions seemed to have no
effect. I even tried setting it to weird and exotic locations like the
"Program Files" directories, and so on. However, they would only load
when together with the PHP executable and the INI settings had
absolutely no effect (i.e. regardless of where I specified the path, the
DLLs always loaded up from C:\PHP5).

2. I commented out the offending DLLs to get a basic PHP installation
running (still the same INI file). Now I was getting no errors and
phpinfo() showed that PHP was active albeit with no extended
functionality. At this point I tried getting MySQL enabled. I placed the
"libmysql.dll" file in all of the locations listed in previous entries
in this thread along with updating the INI file. I also did a full
system search to see if there were any other PHP initialization files
sitting anywhere on the system, and to see where all the MySQL DLLs
were. Only one INI file exists on my system, libmysql.dll exists in
about 6 different locations, and simply doesn't load (PHP can't find
it).

So to recap: Upon my initial install on a new machine, I only copied
the extension DLLs from "C:\PHP5\ext" to "C:\PHP5", effectively creating
two copies. Various combinations to the path settings for these
extensions resulted in the same thing: nothing. The extension DLLs are
only ever recognized when in the same directory as the PHP executable.
The only exception to this is the "libmysql.dll" file which fails to
load no matter where I put it (previous posts here should describe in
greater detail what was tried).

The result thus far is that about 60% of the original installation
extension DLLs can be loaded. The remainder (listed above) cannot. The
MySQL extension fails to load regardless of what I do with it or which
version it is. In case I'd forgotten to mention this, all of the above
attempts were tried as a regular user (with administrative privileges on
my Vista machine), and running as an Administrator. On my XP machine,
the results are exactly the same. I also had the thought that  Vista or
64-bit had something to do with these failures, but the XP machine is
32-bit, fully up-to-date and all else running smoothly.

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

[2007-10-22 13:39:26] [EMAIL PROTECTED]

Did you move the PHP directory or any of it's contents after it was
installed?

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

[2007-10-22 11:26:50] [EMAIL PROTECTED]

Assigned to the installer maintainer.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/42613

-- 
Edit this bug report at http://bugs.php.net/?id=42613&edit=1

Reply via email to