Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8283775
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T10:51:40+00:00 2026-06-08T10:51:40+00:00

I just finished installed Apache2.4.2 and pHp5.4.5 Now when is stated server i get

  • 0

I just finished installed Apache2.4.2 and pHp5.4.5
Now when is stated server i get PHP startup error “Unable to load dynamic library xyz.dll for about 12 extensions. Now when I copy files from pHp directory to system32, many of these errors get removed, but I’ve heard of environment variables and I want to use environment variables instead of copying every file to system32.

Thanks
Varun Agrawal

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T10:51:43+00:00Added an answer on June 8, 2026 at 10:51 am

    (Presuming Apache is running as Windows Service)

    The following, from Search Order for Desktop Applications, describes the search order used to to locate a DLL:

    • 1.The directory from which the application loaded.
    • 2.The current directory.
    • 3.The system directory. Use the GetSystemDirectory() function to get the path of this directory.
    • 4.The 16-bit system directory. There is no function that obtains the path of this directory, but it is searched.
    • 5.The Windows directory. Use the GetWindowsDirectory() function to get the path of this directory.
    • 6.The directories that are listed in the PATH environment variable. Note that this does not include the per-application path specified by the App Paths registry key. The App Paths key is not used when computing the DLL search path.

    By modifying the PATH environment variable to contain the directory in which your DLLs reside would allow them to be found. However, as Apache is running as a Windows Service not only would Apache require a restart, but the Services Control Manager would require a restart. The only way (that I know of) to restart the Services Control Manager is to reboot the machine.


    To edit the system PATH environment variable (on XP anyway):

    • Right-click on My Computer and select Properties
    • Select the Advanced tab in the System Properties dialog that appears
    • Click on the Environment Variables button
    • Locate PATH in the System variables list
    • Click Edit and add your directory
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just finished a little 5000-line PHP application and are now going into testing
Just finished installing libevent(1.4.8), memcached(1.4.5), pear, and libmemcached(0.40) to my lamp server (running PHP
Hey, I've just finished writing a VB.NET application. Now I want to package the
I've just finished an AppFabric install on my prod server after getting this to
I just finished a Java application to link to Sicstus prolog. Now I need
I just finished setting up a Rackspace Cloud Server to host a website I'm
I've just finished the LFS book and my Linux system is working right now.
I've just finished writing an update for my app, and now I want to
I just finished installing the new Java JDK version 7u3 and now I am
I've just finished re-installing my OS, and as always install and test standard tools

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.