PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Tue Sep 18, 2018 3:22 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Mon Jan 04, 2010 11:54 am 
Offline
Forum Newbie

Joined: Mon Jan 04, 2010 11:46 am
Posts: 6
Hello

My website is hosted on Debian Linux on dedicated server. But I don't know how to became sure that my website uses full resources available. I mean by that : no limitations 'or higher value if it can be configured' in number of connections, database maximum size limit and many more. How to configure those features that can limit resources so I will be certain that my website uses all available resources ? I was searching for a while on the net but I didn't find any tutorial about configuring resources limitations that explain for example things like maximum number of sql connections and the like.

Thank you


Top
 Profile  
 
PostPosted: Mon Jan 04, 2010 7:58 pm 
Offline
Site Administrator
User avatar

Joined: Wed Aug 25, 2004 7:54 pm
Posts: 13575
Location: New York, NY, US
Those settings are done in the configuration files for each server. Apache is httpd.conf, PHP is php.ini, MySQL is my.conf. Those files will be found either where the software is installed, or in the /etc directory.

_________________
(#10850)


Top
 Profile  
 
PostPosted: Mon Jan 04, 2010 10:05 pm 
Offline
Forum Newbie

Joined: Mon Jan 04, 2010 11:46 am
Posts: 6
Thank you, just for info on my Ubuntu I have directives as :
- /etc/mysql/my.cnf for Mysql
-/etc/apache2/apache2.conf for Apache
- /etc/php5/apache2/php.ini

There is lots of options I should be careful especially I don't have experience with this before. I will look for an example for each file.

Thank you again.


Top
 Profile  
 
PostPosted: Tue Jan 05, 2010 12:57 am 
Offline
Site Administrator
User avatar

Joined: Wed Aug 25, 2004 7:54 pm
Posts: 13575
Location: New York, NY, US
Search the web for each configuration file. There are extensive tutorials and documentation on all the settings. Especially tuning performance and resource usage.

_________________
(#10850)


Top
 Profile  
 
PostPosted: Wed Jan 06, 2010 2:12 pm 
Offline
Forum Newbie

Joined: Mon Jan 04, 2010 11:46 am
Posts: 6
Browsing mySQL doc I found The following note :
Quote:
On Unix platforms, MySQL ignores configuration files that are world-writable. This is intentional as a security measure.


What does it mean ?

Thank you


Top
 Profile  
 
PostPosted: Wed Jan 06, 2010 3:28 pm 
Offline
DevNet Master
User avatar

Joined: Wed Jun 27, 2007 9:44 am
Posts: 4313
Location: Sofia, Bulgaria
http://en.wikipedia.org/wiki/File_system_permissions

_________________
There are 10 types of people in this world, those who understand binary and those who don't


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: ckblackmoncler and 1 guest


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