LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-16-2013, 03:40 AM   #1
TheQuicken
LQ Newbie
 
Registered: Jan 2013
Distribution: Centos/RedHat/Rhel
Posts: 25

Rep: Reputation: Disabled
Extend web page timeout


I have a centos server running LAMP, I need to extend the timeout for pages being viewed.
Am I changing the httpd.conf or php.ini?

Which line exactly?


Thanks for your time
 
Old 03-16-2013, 07:11 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by TheQuicken View Post
I need to extend the timeout for pages being viewed.
You probably do not want to do this until you get your problem clear. So please first tell us what the actual problem is that you are trying to solve (what do you experience and when, or after installing or changing what, does it manifests itself?).

One reason is software like Apache, MysQL and PHP come with configuration files that hold "sane" defaults for general purpose usage. A lot of people think that increasing all sorts of values intuitively "fixes" problems. That may be so on the surface but it may come back and bite you later on as well: all software mentioned come with extensive documentation (for example see the Timeout and Keep Alive Directives in http://httpd.apache.org/docs/current/mod/core.html) you can and should consult and understand, especially those that affect system resources. The other reason is I noticed you were struggling with Apache configuration in a recent thread and I should point out that you should review what you run as a whole. For example you may be running Apache with modules you don't need or should not want activated (proxy modules for example).
 
Old 03-17-2013, 12:49 AM   #3
TheQuicken
LQ Newbie
 
Registered: Jan 2013
Distribution: Centos/RedHat/Rhel
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
You probably do not want to do this until you get your problem clear. So please first tell us what the actual problem is that you are trying to solve (what do you experience and when, or after installing or changing what, does it manifests itself?).

One reason is software like Apache, MysQL and PHP come with configuration files that hold "sane" defaults for general purpose usage. A lot of people think that increasing all sorts of values intuitively "fixes" problems. That may be so on the surface but it may come back and bite you later on as well: all software mentioned come with extensive documentation (for example see the Timeout and Keep Alive Directives in http://httpd.apache.org/docs/current/mod/core.html) you can and should consult and understand, especially those that affect system resources. The other reason is I noticed you were struggling with Apache configuration in a recent thread and I should point out that you should review what you run as a whole. For example you may be running Apache with modules you don't need or should not want activated (proxy modules for example).
Understood, apache has incredible versatility that at times its almost overwhelming lol.
This particular server has a simple apache install under /var/www/html/. The program being run is an elearning solution called dokeos (http://www.dokeos.com/en) requires php to run.
I've created an Admin user that I added to the group apache so that the Admin user has access to to the dokeos folders under /var/www/html/dokeos.

The way that the Trainer wants to use dokeos on the Learner end requires a longer than usual timeout. ie: Learner logs into dokeos webpage, starts course they have been assigned, Learner is also referencing material outside of dokeos webpage...when ready the Learner returns to input/answer/click next page....they have timed out and must reenter login info etc etc...

So I need to extend this timeout

Last edited by TheQuicken; 03-17-2013 at 08:52 AM.
 
Old 03-18-2013, 02:39 AM   #4
TheQuicken
LQ Newbie
 
Registered: Jan 2013
Distribution: Centos/RedHat/Rhel
Posts: 25

Original Poster
Rep: Reputation: Disabled
It seems that I don't need to touch anything on the httpd.conf file, /etc/php.ini is where all documentation is pointing. I've tried extended session_gc_maxliftime, as well as session_cookie_lifetime...all with no results, the 24min default php.ini config still stands.
 
  


Reply



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
executing linux commands from web page and outputing it back to the web page ashes_sheldon Programming 9 02-28-2015 12:07 AM
[SOLVED] Downloaded complete web page with wget but browser wants internet to open page? SharpyWarpy Linux - General 15 08-16-2012 04:57 AM
is kompozer web based, or can I create a web page/s on my home device? Fred Caro Linux - Software 2 02-07-2011 07:23 AM
Web query to execute commands and output it to a web page ! ashes_sheldon Linux - Newbie 1 05-08-2009 02:45 AM
web page database access per page or per session? b0uncer Programming 6 01-13-2007 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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