★ wanayoo — archive 1999 http://www.devshed.com/Talk/Forums/Forum5/HTML/002378.htmlNouvelle recherche | Portail wanayoo
DevShed Menu
* DevShed Home
* Developer News
* DevShed Brain Dump




UBBFriend: Email This Page to Someone!
  DevShed Discussion Forums
  PHP
  recognize edited php.ini after re-starting apache?

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   recognize edited php.ini after re-starting apache?
anna79
Junior Member
posted August 11, 2000 12:14 PM     Click Here to See the Profile for anna79   Click Here to Email anna79     Edit/Delete Message Reply w/Quote
I changed the php.ini file. I am under the impression that I need to re-start apache. I've tried stopping then starting apache. I've also tried just restarting it. These commands seem to be working, but the changes I make to the php.ini file are not put into effect and do not show up when I call phpinfo(). Anyone have any ideas how I can get my new php.ini recognized?

to stop it:
kill -TERM `cat /var/run/httpd.pid`

to restart:
kill -HUP `cat /var/run/httpd.pid`

to start it:
/usr/local/apache/bin/apachectl start

cka
Member
posted August 11, 2000 12:19 PM     Click Here to See the Profile for cka   Click Here to Email cka     Edit/Delete Message Reply w/Quote
Is the HTML for the phpinfo() in your cache? Try a hard reload (ctrl+f5 in Internet Explorer, some other combo in netscape). If that doesn't work, then php isn't recognizing your modified settings.

------------------
To alcohol! The cause of, and solution to, all of life's problems. -- Homer Simpson

anna79
Junior Member
posted August 11, 2000 12:39 PM     Click Here to See the Profile for anna79   Click Here to Email anna79     Edit/Delete Message Reply w/Quote
I tried the hard reload, and it did not work.
Any ideas on why my modified settings are not recognized?

Bealers
Member
posted August 11, 2000 06:00 PM     Click Here to See the Profile for Bealers   Click Here to Email Bealers     Edit/Delete Message Reply w/Quote
Might be a silly question but are you editing the correct php.ini?

do phpinfo() and check where php thinks that php.ini is

usually /usr/lib/php.ini

??

------------------
http://back-end.org

anna79
Junior Member
posted August 11, 2000 06:03 PM     Click Here to See the Profile for anna79   Click Here to Email anna79     Edit/Delete Message Reply w/Quote
Thanks, but it's in the right place.
(/usr/local/lib for me)

All times are MST (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | DevShed.com

Copyright © 1997-2000 ngenuity. All rights reserved.

Powered by: Ultimate Bulletin Board, Version 5.41a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 1999.