php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #35018 Restart required after changing PATH
Submitted: 2005-10-29 11:45 UTC Modified: 2005-11-30 21:57 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: mike at zappmobile dot ro Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Windows XP Professional SP2
Private report: No CVE-ID: None
 [2005-10-29 11:45 UTC] mike at zappmobile dot ro
Description:
------------
Restarting Windows is not mentioned in the Windows documentation (install.txt). I'm aware it's mentioned in the instalation FAQ, but I think it should be included in the main documentation, because the FAQ is not included in the php-5.0.5-Win32.zip file, and is only available online.

I'm using Apache 2.0.55 running as a service, php 5.0.5 installed as a module, and the mysql module refused to load until reboot, because it didn't find libmysql.dll. However, the error popup said "unable to load dynamic library php_mysql.dll", so I lost about an hour making various changes the "extension_dir = " option.

In the last 4 years, I probably installed PHP on windows/apache 10 times. Each time, I followed the documentation to the letter, and ran into this issue. Each time it didn't work, and I had to copy all the dll files to system32 to make it work.

This is highly annoying, because there are two points where you can get stuck:

   1. Determine the real DLL that cannot be found;

   2. Determine why it can't be found;

   Even if you read the installation FAQ, it's not obivious what the problem is, because the section "14. How do I add my PHP directory to the PATH on Windows?" seems unrelated to the problem. The users will think "I did set my PATH, why would I need to read that section of the FAQ"?

   My problem is very similar to #32625, but that bug is marked as closed, and I do not agree to that resolution.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-30 21:57 UTC] nlopess@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

I'll also try to add the FAQ to the install.txt file.
 [2020-02-07 06:11 UTC] phpdocbot@php.net
Automatic comment on behalf of nlopess
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=e1aae3efa2e0ca9866a28cdaacdcd428f4c86900
Log: fix #35018: restart is really needed after changing the PATH
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 13 18:01:32 2025 UTC