Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 01-29-2007, 06:05 AM   #1
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Rep: Reputation: 58
questions about apache, joomla, and php

Hey guys I am trying to setup a web server on my spare linux box at home running fc6. Well actually the server is setup fine. I think. It seems sometimes I can get to the website and other times it times out. I have opened the correct ports on my router and firewall (and tried it with no firewall) and it still does the same thing. Also I can put in the ip address (cause im at work and the dynamic dns is blocked) and the text loads, but if i do the same thing right after it times out. Any help would be great.

Also, i installed joomla and it asks me to change

magic_quotes_gpc = off

magic_quotes_gpc = On

well in my php.ini file you see everything with ';' in front of it. So I can only assume that is a comment since all the remarks in the file have that infront of it.

I created a blank line and entered

magic_quotes_gpc = On

and it is still reporting it as off. How do I turn that on? When I make changes to php.ini do I have to restart the whole computer or just apache?

Thanks a lot,


Last edited by nomb; 01-29-2007 at 06:24 AM.
Old 01-29-2007, 12:09 PM   #2
LQ Newbie
Registered: Apr 2006
Posts: 10

Rep: Reputation: 0
Editing php.ini

If you make changes to php.ini you have to restart apache or you can reboot the computer. A good link for info about magic quotes is phpinfo
Old 01-29-2007, 12:20 PM   #3
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Original Poster
Rep: Reputation: 58
Thanks for replying I've been waiting all day.
I have looked there and they say to put:

magic_quotes_gpc = On

In the php.ini file. Which I did but Joomla still says it isn't on.

What can I do?
Old 01-30-2007, 12:03 AM   #4
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Original Poster
Rep: Reputation: 58
I figured it out in /etc/httpd/conf/httpd.conf you have to change

AllowOveride None
AllowOveride All

Then cp htaccess.txt to .htaccess
and put
magic_quotes... On
at the bottom of the file.

Restart apache. Bingo!


apache, joomla, php

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache, MySQL, PHP, a couple simple questions. The_Messiah Linux - Software 3 04-09-2005 05:17 PM
php apache or php cgi - php learner rblampain Linux - Security 3 12-17-2004 11:10 PM
Questions about recompiling Apache and PHP (static) Maarten_Holland Linux - Newbie 0 05-09-2004 05:52 AM
reinstalled apache, php, still no php support SuSE 8.2 hindenbergbaby Linux - Software 1 10-14-2003 01:42 PM
Installing PHP from source on RedHat 9 with Apache -- few questions? Bungo2000 Linux - Software 1 06-05-2003 03:41 PM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:58 PM.

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