Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Applications > Joomla! pre-installation check

Forgot Password?
 Linux Applications   I cant get "X" app to work... also discussion about linux programs.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-03-2009   #1 (permalink)
Just Joined!
 
Join Date: Sep 2009
Posts: 28
Joomla! pre-installation check

I am installing Joomla! 1.5.14 on XAMPP 1.7.1 on my home computer running Ubuntu 9.04

I get to the "Pre-Installation Check" screen in the "Joomla! Web Installer", and I've got several red items on the list.

The items that are red are:
  • "configuration.php Writable" (theres a red No, instead of a green Yes)
  • "Display Errors" (the recommended is OFF but mine is ON )
  • "Register Globals" (the recommended is OFF but mine is ON )

I have no idea of how to rectify these. The first item above is a requirement for Joomla! to work.

For the second and third items it says:

"These are the recommended settings for PHP in order to ensure full compatibility with Joomla!.
Joomla! will still operate even if your settings do not match."

But trust me, I need all the help I can get. So to avoid as many future issues as possible I'd like to change all these things to the recommended settings.

It was suggested by a member of this forum that I do the follwing:

quote:
You need to check folder and file permissions and ownership on joomla installation. They should be owned by the apache user (typically www or www-data). -end quote

I entered the following command:

chown -R www-data:www-data /opt/lampp/htdocs/joomla15

f.y.i- "joomla15" is the directory where I put Joomla!

I went and checked the "Pre-Installation Check" screen and there are no changes.

i should tell you that I am a beginner in the realm of PHP, _AMPP, Joomla! etc. Also, I haven't been using Linux very long.
habilis is offline  


Reply With Quote
Old 10-04-2009   #2 (permalink)
Linux Engineer
 
b2bwild's Avatar
 
Join Date: Jul 2008
Location: Behind You!
Posts: 1,064
Send a message via MSN to b2bwild Send a message via Skype™ to b2bwild
1.
configuration.php should be writable, because joomla installation script can't save all the configuration if the file is not writable.
Once the Installation is complete make configuration.php read-only again

You should not change the ownership of your document root, but add permissions to 'Others' temporarily.

2.
"Display Errors" (the recommended is OFF but mine is ON )
This is a PHP configuration boolean

This configuration reisdes in /etc/php5/apache2/php.ini file.
as you are using XAMPP, You will find it somewhere in XAMPP directory.

It should be ON only when PHP development is going on, If you keep showing the errors to public, hackers will know bug, and weak point in your site.

3.
"Register Globals" (the recommended is OFF but mine is ON )
This is also an PHP configuration boolean, Take it off in php.ini
__________________
Microsoft isn't bad its just stupid.

Read my Blog at --> Penguin Inside Subscribe Feed
b2bwild is offline   Reply With Quote
Old 10-04-2009   #3 (permalink)
Just Joined!
 
Join Date: Sep 2009
Posts: 28
Hi b2bwild, Thanks for the info. You're the first person I've seen who actually explained in practical speech what these settings are and why you'd want to change them. Have you considered writing a tutorial for beginners? Most guides skip right over these pre-installation items.

Are you saying that one should turn the "display errors" setting on by editing a file, -every time I want to do something with the website, and then edit the file again when I'm done to turn the "display errors" setting back off?

What is a configuration boolean?

Can you explain the 'register globals' setting and when to change it?

What is a document root?

Should I undo the change to the permissions that I already did? If so, how do I do that and why?

What directory is configuration.php in?
habilis is offline   Reply With Quote
Old 10-04-2009   #4 (permalink)
Linux Engineer
 
b2bwild's Avatar
 
Join Date: Jul 2008
Location: Behind You!
Posts: 1,064
Send a message via MSN to b2bwild Send a message via Skype™ to b2bwild
Quote:
Originally Posted by habilis View Post
Are you saying that one should turn the "display errors" setting on by editing a file, -every time I want to do something with the website, and then edit the file again when I'm done to turn the "display errors" setting back off?
Yes, or you can simply create a mirror site on localhost for development.
Quote:
Originally Posted by habilis View Post
What is a configuration boolean?
The configuration which only have 2 options ON or OFF
Quote:
Originally Posted by habilis View Post
Can you explain the 'register globals' setting and when to change it?
If register_globals is on, then variables_order also configures the order the ENV, GET, POST, COOKIE and SERVER variables are populated in global scope. So for example if variables_order is set to "EGPCS", register_globals is enabled, and both $_GET['action'] and $_POST['action'] are set, then $action will contain the value of $_POST['action'] as P comes after G in our example directive value.
Quote:
Originally Posted by habilis View Post
What is a document root?
Document root is where your all website files/media/programs resides.
for example /var/www
Quote:
Originally Posted by habilis View Post
Should I undo the change to the permissions that I already did? If so, how do I do that and why?
Change the permissions of others back to read only, else anyone will be able to modify or delete data on your document root.
Quote:
Originally Posted by habilis View Post
What directory is configuration.php in?
On XAMPP its at lampp/etc/php.ini
Normally native PHP ini can be found at /etc/php5/apache2/php.ini
__________________
Microsoft isn't bad its just stupid.

Read my Blog at --> Penguin Inside Subscribe Feed
b2bwild is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:56 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2