Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Feb 19, 2010 5:29 am 
Offline
Senior Newbie

Joined: Sun Jan 24, 2010 4:21 pm
Posts: 16
Location: Herning
The lamp stackscript doesn't conform to the recommendations of the lamp guides in the library.

Apache:
--------------------------------------------------------------------------------
/etc/apache2/ports.conf - stackscript uses *:80, guides recommend that you only listen to 1 ip address ex: NameVirtualHost 12.34.56.78:80

Same goes for virtual hosts in /etc/apache2/sites-available/*

Mysql:
--------------------------------------------------------------------------------
mysql_secure_installation is never run in the stack script

PHP:
--------------------------------------------------------------------------------

From the guide, these options are never checked or set except memory_limit

max_execution_time = 30
memory_limit = 64M
error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
display_errors = Off
log_errors = On
error_log = /var/log/php.log
register_globals = Off


Side note, stackscripts is a nifty feature that will make it even easier to use linode for first time users like myself :)


Top
   
 Post subject:
PostPosted: Fri Feb 19, 2010 11:35 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
64M is overkill for the PHP memory limit. The default of 16M is fine for virtually any script you run across. It should only be raised if needed.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group