
31st December 2005, 12:44
|
|
Junior Member
|
|
Join Date: Dec 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Help with apache owner problem!
Hi!
I've installed Joomla CMS, and have some trouble with my ISP. Using SCP, I see that a lot of my files have "apache" as owner, in stead of my username. This causes problems for me. For Ex, when I'm customizing a template, apache takes ownership when saving and my site will not work.
Is there someone out there, who could give me a quick "howto" I can send to my ISP? I've read something about having phpscripts run as owner, but how to configure this? And does this cause problems for my ISP?
Thank you !
And I wish you a happy new Year from Norway!
|

31st December 2005, 13:04
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
If PHP scripts shall run under the web administrator user, suexec must be enabled in ISPCOnfig and PHP must be run as CGI not mod_php.
You can solve your problems also by making your template files world readable and writable.
|

1st January 2006, 22:48
|
|
Junior Member
|
|
Join Date: Dec 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi again!
Thanks for quick reply! I shall contact my ISP with this information. My problem is when I do modifications, apache takes ownership and then I can't chmod them (writeble).
One of my biggest problems, is when I try to post news in Joomla or Wordpress, the text gets duplicated. Why I don't know, but wonder if it has something to do with the server setup. Have you any clue?
|

2nd January 2006, 00:45
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
Quote:
|
Originally Posted by comtjfnon
Thanks for quick reply! I shall contact my ISP with this information. My problem is when I do modifications, apache takes ownership and then I can't chmod them (writeble).
|
I guess this means it isn't your server, and you don't have root access to make the suggested changes?
|

2nd January 2006, 16:10
|
|
Junior Member
|
|
Join Date: Dec 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Root access
Hi!
No, I don't have root access, but I've spoken to my ISP, and they will try to help me if I can come up with some solutions that wouldn't put securiy at risk..
|

2nd January 2006, 16:48
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
I've posted the solution for your ISP already above:
http://www.howtoforge.com/forums/sho...71&postcount=2
PHP as CGI with SuExec is even more secure then mod_php.
|

3rd January 2006, 23:29
|
|
Junior Member
|
|
Join Date: Dec 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Sorry to bug you, but..
I would appreciate you're comment on this!
My problem is, like I told you
"One of my biggest problems, is when I try to post news in Joomla or Wordpress, the text gets duplicated. Why I don't know, but wonder if it has something to do with the server setup. Have you any clue?"
Today, I opened phpmyadmin and looked at the database. I then tried to copy into jos_content the html code I wanted to post (I first wrote my article in Joomla, pressed the HTML button in the wysiwyg and copied it bedfore i saved - then it get messed up). When I looked at it in Joomla, it had duplicated. Could this then be a MySQL problem? My ISP is running MySQL 3.23.54..
The phpinfo file you can see here. Something wrong?
Regarding apache owner, my ISP shall test your config and get back to me! He agreed on everything you wrote, but had to check locally first!
Last edited by comtjfnon; 4th January 2006 at 00:10.
|

4th January 2006, 00:29
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
The output of phpinfo(); looks ok.
I don't think it's a problem with MySQL; I guess it's rather some kind of misconfiguration in Joomla. Maybe you can debug the scripts by putting some echo or die() statements into them.
|

4th January 2006, 22:32
|
|
Junior Member
|
|
Join Date: Dec 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I would agree with you if it haven't been that I get the same problems when I install simular programs like WordPress.. Debug, debug.. Hopefully my next reply will be an answer..
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 09:11.
|
|
Recent comments
7 hours 49 min ago
12 hours 54 min ago
17 hours 19 min ago
19 hours 8 min ago
1 day 9 hours ago
1 day 9 hours ago
1 day 14 hours ago
1 day 21 hours ago
1 day 21 hours ago
1 day 23 hours ago