Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-12-2004, 03:24 PM
|
#1
|
LQ Newbie
Registered: Dec 2002
Posts: 11
Rep:
|
PHP on Fedora Core 2
Hey, this might be a silly question but im having a hell of a time trying to turn "register_globals" ON (I know the security issue...)
I have PHP and Apache2 installed (Fedora Core2) and my php.ini in /etc/
I can change certain things (like Y2k Compliance, just picking random things), but register_globals will NOT turn on, no matter what i do, or where i put php.ini. (im using vi to edit the ini )
also no matter what i do in the INI file it wont turn on
register_globals = On
-register_globals = On
register_globals = on
-register_globals = On
I restart apache every time i make a change and still nothing, I cant turn on display errors either. Does anyone know why this is happening? I appreciate any response as ive been fighting with this for a couple of days now
thanks!
|
|
|
10-12-2004, 06:19 PM
|
#2
|
Member
Registered: Oct 2003
Distribution: Knoppix
Posts: 103
Rep:
|
My php.ini file is /etc/php4/apache2/php.ini
The proper format seems to be:
register_globals = On
for the ini.
I would do a recursive find in /etc for php.ini, in case php's grabbing another one,
then a grep in /etc for php.ini to find any config files.
|
|
|
10-14-2004, 03:23 PM
|
#3
|
LQ Newbie
Registered: Dec 2002
Posts: 11
Original Poster
Rep:
|
Quote:
Originally posted by evilmrhenry
My php.ini file is /etc/php4/apache2/php.ini
The proper format seems to be:
register_globals = On
for the ini.
I would do a recursive find in /etc for php.ini, in case php's grabbing another one,
then a grep in /etc for php.ini to find any config files.
|
Thanks for the response.
Code:
[dexter@testb0x etc]$ locate php.ini
/etc/php.ini
[dexter@testb0x etc]$
*shrugs*
Last edited by Dexter750; 10-14-2004 at 03:25 PM.
|
|
|
10-14-2004, 03:35 PM
|
#4
|
LQ Newbie
Registered: Dec 2002
Posts: 11
Original Poster
Rep:
|
Okay, wow , I am dumb. Sorry for the thread, i finally went through and checked every line in php.ini. I thought registergloabals at the TOP of the file was the one to uncomment and use, then i read all of it and register globals is down in the middle and off. Sorry aagin and thanks for your time. it works now 
|
|
|
All times are GMT -5. The time now is 07:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|