LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-01-2003, 07:04 PM   #1
XxAndyxX
Member
 
Registered: Mar 2003
Location: Houston, TX
Distribution: RedHat 8.0
Posts: 79

Rep: Reputation: 15
Restarting PHP?


I changed some configurations in my php.ini file so now I think I need to restart php for it to restart? So how do I do that? I have RedHat 8.0

Thanks
-Andy
 
Old 08-02-2003, 03:53 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
I doubt that you need to, but if you do, it'd be a case of restarting apache, as that's the service that runs php
 
Old 09-08-2003, 07:34 PM   #3
init-5
Member
 
Registered: Sep 2003
Location: SJ
Distribution: RHL 9, Solaris 9
Posts: 41

Rep: Reputation: 15
Question: I had to make a few changes in the php.ini file (in /etc). What do I have to do, to make these changes take place? In other words, do I have to restart something, or compile something?

I tried to turn 'On' register_globals variable in the php.ini file, but when I do a phpinfo() I don't see the changes for either the Local value or the Master value. Is there anything I have to do, like compile a file or something to get it to 'On'.
I am really new to php, so trying to figure out some stuff.

The php version - 4.2.2
OS - Linux 9

Thank You.
 
Old 09-08-2003, 07:36 PM   #4
init-5
Member
 
Registered: Sep 2003
Location: SJ
Distribution: RHL 9, Solaris 9
Posts: 41

Rep: Reputation: 15
Sorry,
I forgot to mention that I restarted Apache (httpd). Still it shows in the phpinfo() that the variable is set to Off.

What could be the solution?
Thank You.
 
Old 09-09-2003, 12:38 AM   #5
Xing
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RH 9, RH 8, RH 7.3,Slackware
Posts: 123

Rep: Reputation: 15
if you re using ZEND then u will have to make changes into php.ini of that as well.. i don't know , it is king of wierd but i had similar problem way back and this is how i had solved it.
 
Old 09-09-2003, 12:48 AM   #6
init-5
Member
 
Registered: Sep 2003
Location: SJ
Distribution: RHL 9, Solaris 9
Posts: 41

Rep: Reputation: 15
No, I am not using ZEND. And I am still tinkering around with the directories. I guess I will have to reboot the machine.

 
Old 09-09-2003, 01:19 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Like acid_kewpie said - restart apache. The php.ini file is loaded when the php module is loaded.
 
Old 09-09-2003, 01:49 PM   #8
init-5
Member
 
Registered: Sep 2003
Location: SJ
Distribution: RHL 9, Solaris 9
Posts: 41

Rep: Reputation: 15
Quote:
Originally posted by init-5
Sorry,
I forgot to mention that I restarted Apache (httpd). Still it shows in the phpinfo() that the variable is set to Off.

What could be the solution?
Thank You.
i already did that.
thanks
 
Old 09-10-2003, 01:48 PM   #9
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Check your phpinfo page to make sure you are editing the correct php.ini file. (see "Configuration File (php.ini) Path")
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
restarting x jcombs_31 Slackware 3 12-27-2004 01:07 PM
Keeps Restarting NotSoSure123 Linux - Software 14 06-16-2004 02:17 AM
Restarting Nautilus BoneDaddy13 Linux - General 2 01-10-2004 08:49 PM
restarting x server? pyschomike15 Linux - General 4 11-02-2003 07:13 AM
Restarting samba Steave Linux - General 3 07-28-2001 05:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration