The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Wed May 30, 2012 4:36 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed May 30, 2012 4:24 am
Posts: 4
Hi,

I am newbie in Joomla so bear with me. I ahve installed Joomla 1.5 on a server with no control panel. I have created DB and its user and the installation went well except there was a warning regarding the configuration.php file which was not writable. So I did what was mentioned in the instruction and copy and paste the configuration to configuration.php file. After I logged into Joomla panel I saw all the folders are unwritbale. I did search in forums with no luck. I gather information using FPA and I have pasted it below. Please help me to fix the issue.

============================
Forum Post Assistant (v1.2.1) : 30th May 2012 wrote:
Basic Environment :: wrote:
Joomla! Instance :: Joomla! 1.5.26-Stable (senu takaa ama busani) 27-March-2012
Joomla! Configured :: Yes | Read-Only (775) | Owner: root (uid: 0/gid: 0) | Group: root (gid: 0) | Valid For: 1.5
Configuration Options :: Offline: 0 | SEF: 0 | SEF Suffix: 0 | SEF ReWrite: 0 | .htaccess/web.config: No | GZip: 0 | Cache: 0 | FTP Layer: 0 | SSL: 0 | Error Reporting: -1 | Site Debug: 0 | Language Debug: 0 | Database Credentials Present: Yes

Host Configuration :: OS: Linux | OS Version: 2.6.18-238.19.1.el5 | Technology: x86_64 | Web Server: Apache/2.2.3 (CentOS) | Encoding: gzip, deflate | Doc Root: /var/www/html/ | System TMP Writable: Unknown

PHP Configuration :: Version: 5.1.6 | PHP API: apache2handler | Session Path Writable: Unknown | Display Errors: | Error Reporting: 2047 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Open Base: | Uploads: 1 | Max. Upload Size: 2M | Max. POST Size: 8M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 256M

MySQL Configuration :: Version: 5.0.95 (Client:5.0.95) | Host: --protected-- (--protected--) | Collation: utf8_general_ci (Character Set: utf8) | Database Size: 289.75 KiB | #of _FPA_TABLE: 72
Detailed Environment :: wrote:
PHP Extensions :: libxml () | xml () | wddx () | tokenizer (0.1) | sysvshm () | sysvsem () | sysvmsg () | standard (5.1.6) | SimpleXML () | sockets () | SPL () | shmop () | session () | Reflection () | pspell () | posix () | mime_magic (0.1) | iconv () | hash (1.0) | gmp () | gettext () | ftp () | exif (1.4 $Id: exif.c,v 1.173.2.5 2006/04/10 18:23:24 helly Exp $) | date (5.1.6) | curl () | ctype () | calendar () | bz2 () | zlib (1.1) | pcre () | openssl () | apache2handler () | dbase () | gd () | mysql (1.0) | mysqli (0.1) | PDO () | pdo_mysql (1.0.2) | pdo_sqlite (1.0.1) | Zend Engine (2.1.0) |
Potential Missing Extensions :: zip | mbstring | mcrypt | suhosin |

Switch User Environment (Experimental) :: PHP CGI: No | Server SU: No | PHP SU: No | Custom SU (LiteSpeed/Cloud/Grid): Yes
Potential Ownership Issues: No

Apache Modules :: core | prefork | http_core | mod_so | mod_suphp | mod_auth_basic | mod_auth_digest | mod_authn_file | mod_authn_alias | mod_authn_anon | mod_authn_dbm | mod_authn_default | mod_authz_host | mod_authz_user | mod_authz_owner | mod_authz_groupfile | mod_authz_dbm | mod_authz_default | util_ldap | mod_authnz_ldap | mod_include | mod_log_config | mod_logio | mod_env | mod_ext_filter | mod_mime_magic | mod_expires | mod_deflate | mod_headers | mod_usertrack | mod_setenvif | mod_mime | mod_dav | mod_status | mod_autoindex | mod_info | mod_dav_fs | mod_vhost_alias | mod_negotiation | mod_dir | mod_actions | mod_speling | mod_userdir | mod_alias | mod_rewrite | mod_proxy | mod_proxy_balancer | mod_proxy_ftp | mod_proxy_http | mod_proxy_connect | mod_cache | mod_suexec | mod_disk_cache | mod_file_cache | mod_mem_cache | mod_cgi | mod_version | mod_jk | mod_php5 | mod_proxy_ajp | mod_ssl | Apache/2.2.3 (CentOS) |
Potential Missing Modules :: mod_security | mod_evasive | mod_dosevasive | mod_qos | mod_userdir |
Folder Permissions :: wrote:
Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (755) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) |

Elevated Permissions (First 10) :: ForumPostAssistant-FPA-902eed8/ (775) | ForumPostAssistant-FPA-902eed8/Documentation/ (775) | None
Extensions Discovered :: wrote:
Components :: SITE :: User (1.5.0) | MailTo (1.5.0) | Wrapper (1.5.0) |
Components :: ADMIN :: Content Page (1.5.0) | Search (1.5.0) | Language Manager (1.5.0) | Control Panel (1.5.0) | Trash (1.0.0) | Cache Manager (1.5.0) | User Manager (1.5.0) | Polls (1.5.0) | Configuration Manager (1.5.0) | Mass Mail (1.5.0) | Messaging (1.5.0) | Installation Manager (1.5.0) | Menus Manager (1.5.0) | Weblinks (1.5.0) | Newsfeeds (1.5.0) | Banners (1.5.0) | Template Manager (1.5.0) | Module Manager (1.5.0) | Media Manager (1.5.0) | Frontpage (1.5.0) | Contact Items (1.0.0) | Plugin Manager (1.5.0) |

Modules :: SITE :: Random Image (1.5.0) | Banner (1.5.0) | Breadcrumbs (1.5.0) | Menu (1.5.0) | Statistics (1.5.0) | Sections (1.5.0) | Login (1.5.0) | Who\'s Online (1.0.0) | Latest News (1.5.0) | Archived Content (1.5.0) | Syndicate (1.5.0) | Custom HTML (1.5.0) | Search (1.0.0) | Poll (1.5.0) | Most Read Content (1.5.0) | Newsflash (1.5.0) | Related Items (1.0.0) | Footer (1.5.0) | Wrapper (1.0.0) | Feed Display (1.5.0) |
Modules :: ADMIN :: Admin Menu (1.0.0) | User Status (1.5.0) | Items Stats (1.0.0) | Login Form (1.0.0) | Toolbar (1.0.0) | Custom HTML (1.5.0) | Logged in Users (1.0.0) | Admin Submenu (1.0.0) | Popular Items (1.0.0) | Latest News (1.0.0) | Unread Items (1.0.0) | Title (1.0.0) | Footer (1.0.0) | Quick Icons (1.0.0) | Feed Display (1.5.0) | Online Users (1.0.0) |

Plugins :: SITE :: Content - Load Modules (1.5) | Content - Code Highlighter (Ge (1.5) | Content - Vote (1.5) | Content - Example (1.0) | Content - Page Navigation (1.5) | Content - Pagebreak (1.5) | Content - Email Cloaking (1.5) | System - Remember Me (1.5) | System - Mootools Upgrade (1.5) | System - SEF (1.5) | System - Debug (1.5) | System - Backlinks (1.5) | System - Log (1.5) | System - Legacy (1.5) | System - Cache (1.5) | Editor - TinyMCE 3 (3.2.6) | Editor - XStandard Lite for Jo (1.0) | Search - Categories (1.5) | Search - Newsfeeds (1.5) | Search - Sections (1.5) | Search - Weblinks (1.5) | Search - Content (1.5) | Search - Contacts (1.5) | XML-RPC - Blogger API (1.0) | XML-RPC - Joomla API (1.0) | User - Joomla! (1.5) | User - Example (1.0) | Button - Readmore (1.5) | Button - Image (1.0.0) | Button - Pagebreak (1.5) | Authentication - OpenID (1.5) | Authentication - Joomla (1.5) | Authentication - Example (1.5) | Authentication - GMail (1.5) | Authentication - LDAP (1.5) |
Templates Discovered :: wrote:
Templates :: SITE :: rhuk_milkyway (1.0.2) | JA_Purity (1.2.0) | beez (1.0.0) |
Templates :: ADMIN :: Khepri (1.0) |

============================

Thank you,


Last edited by humvee on Sat Jun 02, 2012 10:14 am, edited 1 time in total.
Marked Resolved


Top
 Profile  
 
PostPosted: Wed May 30, 2012 7:45 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Fri Sep 12, 2008 2:48 pm
Posts: 948
Location: Sacramento
First, if this is a new joomla website, skip 1.5, use 2.5. The directories only need to be writable by the process/user
apache runs under when your website is used, and even then only a few specifc folders. However, standard convention is 755 for directories and 644 for files. The report above has some 775 permisons which means group access has full control which could be a bad thing and not recommended.

_________________
Joomla! Web Hosting, Design, and Consulting.
Portfolio: http://www.calweb.com/joomla
Please do not PM me for help, use the forums first.


Top
 Profile  
 
PostPosted: Thu May 31, 2012 3:09 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed May 30, 2012 4:24 am
Posts: 4
Hi euoceo

Thank you for your reply. I did install 2.5 but still I face the same issue. all the folders are unwritable. I cant install anything. If I give 777 permission to the folders problem will be solved but that should not be the solution. Any idea how this should be solved.

Thank you,


Top
 Profile  
 
PostPosted: Thu May 31, 2012 7:34 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Fri Sep 12, 2008 2:48 pm
Posts: 948
Location: Sacramento
How did you install? aside from the few 775 dirs that should be fixed, 775 and 644 are what you want. Are you getting some kind of error? I'd check with your host also and ask them to verify the web site owner and the apache configs are correct, assuming they are running suphp mod.

_________________
Joomla! Web Hosting, Design, and Consulting.
Portfolio: http://www.calweb.com/joomla
Please do not PM me for help, use the forums first.


Top
 Profile  
 
PostPosted: Thu May 31, 2012 8:15 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed May 30, 2012 4:24 am
Posts: 4
FYI, I install it on a dedicated server which belongs to me and is not hosted by any company. I did download the package from Joomla website and follow the instruction. Under the folder that I upload the package all the files are having 755 permission and folder 644. the owner and group for all the files and folders is root. I dont know if that cause any problem or some other user should be the owner of the file.

as for the error, anytime I try to install a plugin or module it through errors about permission on folders.

I did install suphp but I am not sure if i need to configure anything to the apache.


Top
 Profile  
 
PostPosted: Thu May 31, 2012 5:45 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Fri Sep 12, 2008 2:48 pm
Posts: 948
Location: Sacramento
Your website is not configured properly. Apache by default runs under the user 'www', change file ownership to that. If that's the only website you plan to have, it should be fine. Suphp is setup when hosting multiple website in order to allow the apache child processes to run as a different user (the owner of the website), so when one website is hacked other websites owned by different users are safe. For multiple websites, you use the option "SuexecUserGroup" in the form of "SuexecUserGroup uid gid" in the vhosts file. There will also be file under /usr/local/etc/suphp.conf (or somewhere similar) that you can custom configure for your environment.

_________________
Joomla! Web Hosting, Design, and Consulting.
Portfolio: http://www.calweb.com/joomla
Please do not PM me for help, use the forums first.


Top
 Profile  
 
PostPosted: Fri Jun 01, 2012 9:52 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed May 30, 2012 4:24 am
Posts: 4
Hi,

Thank you for your detailed explanation. I did the following and everything is looking great.

1: install mod_suphp and integrated it into apache config file.
2: create a new user. change the document root's owner and group to the user.
3: fresh installation of Joomla using newly created user.


Top
 Profile  
 
PostPosted: Fri Jun 01, 2012 5:04 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Fri Sep 12, 2008 2:48 pm
Posts: 948
Location: Sacramento
Great! Glad to have been of help.

_________________
Joomla! Web Hosting, Design, and Consulting.
Portfolio: http://www.calweb.com/joomla
Please do not PM me for help, use the forums first.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 



Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group