{"id":41,"date":"2010-03-16T17:55:38","date_gmt":"2010-03-16T14:55:38","guid":{"rendered":"http:\/\/meekconsulting.com\/?p=41"},"modified":"2010-03-16T18:02:59","modified_gmt":"2010-03-16T15:02:59","slug":"41","status":"publish","type":"post","link":"https:\/\/meekconsulting.com\/?p=41","title":{"rendered":""},"content":{"rendered":"<p>Configuring Apache on CENTOS:<br \/>\nJust some random notes on what I had to do to get my Perferred tools installed on Apache under centos:<\/p>\n<blockquote><p>yum install php-Smarty php-pear php-pear-MDB2 php-mysql<\/p><\/blockquote>\n<p>To get pear configured I ran these commands:<\/p>\n<blockquote><p>pear upgrade MDB2<br \/>\npear install \u2018MDB2#mysql\u2019<br \/>\npear channel-discover pear.firephp.org<br \/>\npear install firephp\/FirePHPCore<\/p><\/blockquote>\n<p>After starting up mysqld I ran the script to set root password and lock down the mysql db:<\/p>\n<blockquote><p>service mysqld start<\/p>\n<p>\/usr\/bin\/mysql_secure_installation<\/p><\/blockquote>\n<p>=======<\/p>\n<p>Other useful commands:<\/p>\n<p>chcon -R -h -t httpd_sys_content_t www<\/p>\n<p>service httpd restart<\/p>\n<blockquote><p>mkdir \/usr2\/apps\/Smarty<\/p>\n<p>cd \/usr2\/apps\/Smarty<\/p>\n<p>wget http:\/\/www.smarty.net\/do_download.php?download_file=Smarty-2.6.26.tar.gz<\/p>\n<p>tar xozvf Smarty-2.6.26.tar.gz<\/p>\n<p>mkdir \/usr\/local\/lib\/php<\/p>\n<p>mkdir \/usr\/local\/lib\/php\/Smarty<\/p>\n<p>cp -r Smarty-2.6.26\/libs\/* \/usr\/local\/lib\/php\/Smarty<\/p><\/blockquote>\n<p>Set include path:<\/p>\n<blockquote><p>vi php.ini<\/p>\n<p>AND MAKE FOLLOWING edit tot he include path line<\/p>\n<p>include_path = \u201c.:\/usr\/share\/php:\/usr\/local\/lib\/php\/Smarty:\/usr\/share\/pear\u201d<\/p><\/blockquote>\n<p>Restart Webserver<\/p>\n<blockquote><p>service httpd restart<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Configuring Apache on CENTOS: Just some random notes on what I had to do to get my Perferred tools installed on Apache under centos: yum install php-Smarty php-pear php-pear-MDB2 php-mysql To get pear configured I ran these commands: pear upgrade &hellip; <a href=\"https:\/\/meekconsulting.com\/?p=41\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/meekconsulting.com\/index.php?rest_route=\/wp\/v2\/posts\/41"}],"collection":[{"href":"https:\/\/meekconsulting.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meekconsulting.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meekconsulting.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/meekconsulting.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=41"}],"version-history":[{"count":3,"href":"https:\/\/meekconsulting.com\/index.php?rest_route=\/wp\/v2\/posts\/41\/revisions"}],"predecessor-version":[{"id":43,"href":"https:\/\/meekconsulting.com\/index.php?rest_route=\/wp\/v2\/posts\/41\/revisions\/43"}],"wp:attachment":[{"href":"https:\/\/meekconsulting.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=41"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meekconsulting.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meekconsulting.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}