{"id":27,"date":"2012-07-29T13:19:00","date_gmt":"2012-07-29T13:19:00","guid":{"rendered":"http:\/\/www.mirageglobe.com\/wp\/?p=27"},"modified":"2012-07-29T13:19:00","modified_gmt":"2012-07-29T13:19:00","slug":"php-cms-and-frameworks","status":"publish","type":"post","link":"https:\/\/pages.alldaycity.com\/mirageglobe\/php-cms-and-frameworks\/","title":{"rendered":"Php CMS and Frameworks"},"content":{"rendered":"<div dir=\"ltr\">\n<div><span><br \/><\/span><\/div>\n<div><span><em>What is a php framework?<\/em>\u00a0A php framework is a set of prebuilt libraries that allows any php developer to use and develop websites with. The main difference between\u00a0<acronym title=\"Content Management System\">CMS<\/acronym>\u00a0and Frameworks is the flexibility. Php frameworks just extends on the current php language so as to provide a quicker way for developing websites or applications. Thus these frameworks are more commonly known as Rapid Application Development. Most frameworks support normal php code as well as extended php functions or classes; and quite a number of them boasts a learning curve of 1 to 2 days (considering if you have experience with php beforehand).<\/span><\/div>\n<div><span><br \/><\/span><\/div>\n<div><span>Zend Php(Free License) &#8211;\u00a0<a href=\"http:\/\/framework.zend.com\/\" title=\"http:\/\/framework.zend.com\/\">ZendPhpFramework<\/a><\/span><\/div>\n<div><span><br \/><\/span><\/div>\n<div><span>Qcodo(Fully\u00a0<acronym title=\"Massachusetts Institute of Technology\">MIT<\/acronym>) &#8211;\u00a0<a href=\"http:\/\/www.qcodo.com\/\" title=\"http:\/\/www.qcodo.com\/\">Qcodo<\/a><\/span><\/div>\n<div><span><br \/><\/span><\/div>\n<div><span>Symfony(<acronym title=\"Massachusetts Institute of Technology\">MIT<\/acronym>) &#8211;\u00a0<a href=\"http:\/\/www.symfony-project.com\/\" title=\"http:\/\/www.symfony-project.com\/\">Symfony<\/a><\/span><\/div>\n<div><span><br \/><\/span><\/div>\n<div><span>CakePHP(Fully\u00a0<acronym title=\"Massachusetts Institute of Technology\">MIT) &#8211;\u00a0<\/acronym><a href=\"http:\/\/www.cakephp.com\/\" title=\"http:\/\/www.cakephp.com\/\">CakePHP<\/a><\/span><\/div>\n<div><span>Wiki Software<br \/>Content Management System<br \/><span>Setting up WordPress<\/span><\/span><\/div>\n<div><span><br \/><\/span><\/div>\n<div><span>Dokuwiki(Fully\u00a0<acronym title=\"Massachusetts Institute of Technology\">MIT) &#8211;\u00a0<\/acronym><a href=\"http:\/\/tatewake.com\/wiki\/projects:monobook_for_dokuwiki\" title=\"http:\/\/tatewake.com\/wiki\/projects:monobook_for_dokuwiki\">Monobook for Dokuwiki<\/a>,\u00a0<a href=\"http:\/\/wiki.splitbrain.org\/wiki:dokuwiki\" title=\"http:\/\/wiki.splitbrain.org\/wiki:dokuwiki\">Dokuwiki<\/a><\/span><\/div>\n<div><span><br \/><\/span><\/div>\n<div><span>Mediawiki(Fully\u00a0<acronym title=\"Massachusetts Institute of Technology\">MIT) &#8211;\u00a0<\/acronym><a href=\"http:\/\/www.mediawiki.org\/wiki\/MediaWiki\" title=\"http:\/\/www.mediawiki.org\/wiki\/MediaWiki\">Mediawiki<\/a><\/span><\/div>\n<div><span><br \/><\/span><\/div>\n<div><span>Joomla &#8211;\u00a0<a href=\"http:\/\/www.joomla.org\/\" title=\"http:\/\/www.joomla.org\/\">Joomla<\/a><\/span><\/div>\n<div><span><br \/><\/span><\/div>\n<div><span>Typo3 &#8211;\u00a0<a href=\"http:\/\/typo3.com\/\" title=\"http:\/\/typo3.com\/\">Typo3<\/a><\/span><\/div>\n<div><span><br \/><\/span><\/div>\n<div><span>Mambo<\/span><\/div>\n<div><span><br \/><\/span><\/div>\n<div><span><br \/><\/span><\/div>\n<div><span><br \/><\/span><\/div>\n<div><span>[Another big topic. please read other installation guide]<\/span><\/div>\n<div><span>[ftp into your main domain]<\/span><\/div>\n<div><span>[download the latest version of wordpress]<\/span><\/div>\n<div><span>[upzip and upload to public folder]<\/span><\/div>\n<div><span>[the following copies the wordpress setup from mydomain.com to mydomain2.com]<\/span><\/div>\n<div><span>&gt; cd \/home\/mydomain2.com\/public<\/span><\/div>\n<div><span>&gt; cp -R \/home\/mydomain.com\/wp wp<\/span><\/div>\n<div><span>&gt; chown -R mydomain2.com wp<\/span><\/div>\n<div><span>[remember to regenerate API keys.]<\/span><\/div>\n<div><span>[remember to create new db and update config file]<\/span><\/div>\n<div><span>[recommended plugins: zero conf mail, configure smtp, google anilicator]<\/span><\/div>\n<div><span>[make sure ownership is correct.]<\/span><\/div>\n<div><span>[this might come in handy: &gt; chown -R mydomain.com:www-data \/home\/mydomain.com\/public]<\/span><\/div>\n<div><span>[Adding lighttpd supported permalinks]<\/span><\/div>\n<div>\n<div><span>[Ref: http:\/\/www.cyberciti.biz\/tips\/lighttpd-and-wordpress-setup-clean-seo-friendly-urls.html]<\/span><\/div>\n<div><span><br \/><\/span><span><b>Setting up Joomla<\/b><\/span><\/div>\n<div><\/div>\n<ol>\n<li><span>Go to Joomla website (http:\/\/www.joomla.org\/)<\/span><\/li>\n<li><span>Download the latest 1.0x version stable full package from the site.<\/span><\/li>\n<li><span>Unzip joomla onto your local desktop and rename the folder to joomla<\/span><\/li>\n<li><span>Setup a new connection with WinSCP to your webserver and make sure you are in the htdocs folder<\/span><\/li>\n<li><span>Drag the unzipped folder of joomla into the folder.<\/span><\/li>\n<li><span>Now try to access the joomla site with your browser. Eg (www.myjoomlasite.com\/joomla)<\/span><\/li>\n<li><span>You should get a new installation screen right now with all the requirements.<\/span><\/li>\n<li><span>Going back to your winscp connection, create a folder called tmp in joomla folder on the server.<\/span><\/li>\n<li><span>Now right click on the tmp folder and set permissons to 777 by checking all the checkboxes<\/span><\/li>\n<li><span>Now create and upload a file called configuration.php. make sure its empty<\/span><\/li>\n<li><span>Rename htaccess.txt to .htaccess<\/span><\/li>\n<li><span>Edit the htaccess file and add the following lines to the end of the page<\/span><\/li>\n<\/ol>\n<ul>\n<li><span>php_value register_globals 0<\/span><\/li>\n<li><span>php_value session.save_path &#8216;\/tmp\/&#8217;<\/span><\/li>\n<\/ul>\n<li><span>open globals.php and change<\/span><\/li>\n<ul>\n<li><span>define( &#8216;RG_EMULATION&#8217;, 1 ); to<\/span><\/li>\n<li><span>define( &#8216;RG_EMULATION&#8217;, 0 );<\/span><\/li>\n<\/ul>\n<li><span>now alter all the folders and set the permissions to 777.. make sure all the requirements on the page is green \ud83d\ude00<\/span><\/li>\n<li><span>now set up and follow the sql server instructions<\/span><\/li>\n<li><span>Finally when you have finished, remember to delete the installtion folder and all its contents.\u00a0<\/span><span>and volia!.. you have installed Joomla CMS<\/span><\/li>\n<div><b>Php on IIS 6.0<\/b><\/div>\n<div><\/div>\n<div>I was trying to enable an extension (xml-rpc) on iis6 with php, but i didnt want to restart iis. The steps is to:<\/p>\n<ol>\n<li>create a php file in your root folder or subfolder with a php code &#8220;phpinfo();&#8221;<\/li>\n<p><\/p>\n<li>navigate to that page and search for the extension you want.<\/li>\n<p><\/p>\n<li>locate the php.ini file on your server (check the phpinfo to get hints on where this is)<\/li>\n<p><\/p>\n<li>now enable the extension by removing the semi colon.<\/li>\n<p><\/p>\n<li>go to iis6 manager on your server<\/li>\n<p><\/p>\n<li>right click on default application pool<\/li>\n<p><\/p>\n<li>and select recycle.<\/li>\n<p><\/p>\n<li>check your phpinfo file again and the extension should be loaded<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>What is a php framework?\u00a0A php framework is a set of prebuilt libraries that allows any php developer to use and develop websites with. The main difference between\u00a0CMS\u00a0and Frameworks is the flexibility. Php frameworks just extends on the current php language so as to provide a quicker way for developing websites or applications. Thus these [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":0,"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"wp:attachment":[{"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pages.alldaycity.com\/mirageglobe\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}