Entry
problem loading module php4apache2.dll on win xp running apache server, error at start up.
Nov 10th, 2004 13:21
Fergal Daly, Scott B,
Windows XP Service Pack 2, and probably one of the standard updates if
you haven't upgraded to SP2, restricts access to certain files.
When a service starts, in this case Apache, it must log on. By default,
Apache and Apache 2 log on as the SYSTEM account. Because of the spread
of viruses, MS decided in their infinite wisdom to restrict the SYSTEM
account from accessing certain files, and certain DLLs. Many viruses
that start as services use the SYSTEM account too, so this seems like a
good idea, but causes problems with new services, especially when it's
not well documented.
The solution is this:
Create a new User account. I called mine APACHE_USR. Set the Apache 2
service to log on as this user. Give this user full control over the
Apache install directory, and read access to whereever you have your
php4apache2.dll and php.ini files.
Restart the service and it should work fine.