{"id":702,"date":"2012-01-29T13:45:21","date_gmt":"2012-01-29T21:45:21","guid":{"rendered":"http:\/\/blog.portnumber53.com\/?p=702"},"modified":"2012-01-29T13:45:21","modified_gmt":"2012-01-29T21:45:21","slug":"setting-up-a-debian-box-for-development-making-a-lamp-php5","status":"publish","type":"post","link":"https:\/\/blog.portnumber53.com\/index.php\/2012\/01\/29\/setting-up-a-debian-box-for-development-making-a-lamp-php5\/","title":{"rendered":"Setting up a Debian box for development: making a LAMP: php5"},"content":{"rendered":"<p>Now P for PHP 5:<\/p>\n<p>&nbsp;<\/p>\n<p># apt-get install php5 php-pear php5-suhosin<\/p>\n<p>&nbsp;<\/p>\n<p># nano <em>\/etc\/php5\/apache2\/php.ini<\/em><\/p>\n<p>&nbsp;<\/p>\n<pre style=\"line-height: 125%\"><span style=\"color: #7D9029\">max_execution_time<\/span> <span style=\"color: #666666\">=<\/span> <span style=\"color: #BA2121\">30<\/span>\n<span style=\"color: #7D9029\">memory_limit<\/span> <span style=\"color: #666666\">=<\/span> <span style=\"color: #BA2121\">64M<\/span>\n<span style=\"color: #7D9029\">error_reporting<\/span> <span style=\"color: #666666\">=<\/span> <span style=\"color: #BA2121\">E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR<\/span>\n<span style=\"color: #7D9029\">display_errors<\/span> <span style=\"color: #666666\">=<\/span> <span style=\"color: #BA2121\">Off<\/span>\n<span style=\"color: #7D9029\">log_errors<\/span> <span style=\"color: #666666\">=<\/span> <span style=\"color: #BA2121\">On<\/span>\n<span style=\"color: #7D9029\">error_log<\/span> <span style=\"color: #666666\">=<\/span> <span style=\"color: #BA2121\">\/var\/log\/php.log<\/span>\n<span style=\"color: #7D9029\">register_globals<\/span> <span style=\"color: #666666\">=<\/span> <span style=\"color: #BA2121\">Off<\/span><\/pre>\n<p>&nbsp;<\/p>\n<p>Add mysql support.<\/p>\n<pre class=\"literal-block\"># apt-get install php5-mysql<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now P for PHP 5: &nbsp; # apt-get install php5 php-pear php5-suhosin &nbsp; # nano \/etc\/php5\/apache2\/php.ini &nbsp; 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 &nbsp; Add mysql support. # apt-get install php5-mysql &nbsp; &nbsp; &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[191,210,273,274,309],"class_list":["post-702","post","type-post","status-publish","format-standard","hentry","category-linux","tag-installation","tag-lamp","tag-php-ini","tag-php5","tag-setup"],"_links":{"self":[{"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/posts\/702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/comments?post=702"}],"version-history":[{"count":0,"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/posts\/702\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/media?parent=702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/categories?post=702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.portnumber53.com\/index.php\/wp-json\/wp\/v2\/tags?post=702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}