Jump to content

Changed php.ini file. How do I restart php?


Recommended Posts

You need to restart the web server that php is part of.

 

Thanks. That's what I was afraid of. This is a very busy server.

 

:(

 

EDIT: wait a second..... Do you mean to restart the actual computer or the website? If you mean the website, I already did that. This one is on IIS and I stopped and restarted the default website.

 

I uncommented the php_ldap.dll module, restarted the website, yet there's still no LDAP section in the phpinfo () file.

 

Ideas?

 

 

Link to comment
Share on other sites

Make sure the php.ini your are editing is the one php is reading. To check this, run the phpinfo() function and check the line labelled asLoaded Configuration File. If PHP is reading a php.ini, this will show the full path to its location.

 

You only need to restart the HTTP server (in your case IIS) when you have made any changes to the php.ini.

 

 

Link to comment
Share on other sites

Make sure the php.ini your are editing is the one php is reading. To check this, run the phpinfo() function and check the line labelled asLoaded Configuration File. If PHP is reading a php.ini, this will show the full path to its location.

 

You only need to restart the HTTP server (in your case IIS) when you have made any changes to the php.ini.

 

Here's the weird thing.... I don't have that Loaded Configuration File entry when I run phpinfo(). Not at all. I have it when I run it on my local box (with Wamp 5), but not on this server.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.