{"id":1445,"date":"2018-01-19T19:22:51","date_gmt":"2018-01-19T19:22:51","guid":{"rendered":"http:\/\/goofy-trucks.flywheelsites.com\/installing-php-gtk-on-linux\/"},"modified":"2018-01-19T19:24:47","modified_gmt":"2018-01-19T19:24:47","slug":"installing-php-gtk-on-linux","status":"publish","type":"post","link":"https:\/\/phpbuilder.com\/installing-php-gtk-on-linux\/","title":{"rendered":"Installing PHP-GTK on Linux"},"content":{"rendered":"<div class=\"phpbuilder-content\">\n<div class=\"phpbuilder-meta\">\n<div class=\"\">By John Starkey<\/div>\n<div class=\"\">on April 1, 2003<\/div>\n<\/p><\/div>\n<div id=\"overflow-content\">\n<div class=\"articlePara\">\nOne of the better inventions of the 21st Century is with no doubt PHP-Gtk. Released in March 2001, in an effort<br \/>\nto show that PHP isn&#8217;t just a web scripting language, PHP-Gtk offers coders running GTK the opportunity to create<br \/>\ncustom desktop applications without having to meddle outside of their language of choice.<\/div>\n<div class=\"articlePara\">\nIn this article, I&#8217;m going to walk you through the process of installing PHP-Gtk on a Linux desktop.<br \/>\nI&#8217;m running <a href=\"http:\/\/www.tummy.com\/\" target=\"_blank\">KRUD 8<\/a>, from tummy.com, using Gnome, but everything<br \/>\nhere should work with any distro.<\/div>\n<div class=\"articlePara\">\nAs a side note, PHP-Gtk is also available to Windows users. Unfortunately, I rarely delve into the world of<br \/>\nWindows, so I won&#8217;t attempt to overlap. It&#8217;d be great if someone could chime in with another article centering<br \/>\non the Windows install. Until, then I&#8217;d recommend posting in our <a href=\"http:\/\/board.phpbuilder.com\/\">PHP Install<\/a> forum, searching<br \/>\nthe PHP-Gtk archive or posting on the general mailing list if you run into a snag. The last two can be found here:<br \/>\n<a href=\"http:\/\/gtk.php.net\/resources.php\" target=\"_blank\">http:\/\/gtk.php.net\/resources.php<\/a><\/div>\n<div class=\"articleHeader\">\nWhat You&#8217;ll Need<\/div>\n<div class=\"articlePara\">\nAs you probably guessed, you will need a Linux desktop running Gtk. The developers are currently planning to<br \/>\nimplement a Gtk2 version, but as of this writing, it&#8217;s not yet available and there is no solid target date. No<br \/>\nworries though if you&#8217;re running Gtk2, the Gtk functionality should still work fine.<\/div>\n<div class=\"articlePara\">\nYou&#8217;ll also need the latest version of <a href=\"http:\/\/www.php.net\/downloads.php\" target=\"_blank\">PHP<\/a><br \/>\nand <a href=\"http:\/\/gtk.php.net\/download.php\" target=\"_blank\">PHP-Gtk<\/a>. &#8220;make&#8221; and a C compiler<br \/>\nwill also be needed in order to compile the source. Both of these are standard includes with most Linux<br \/>\ndistros and can be easily installed using your normal package manager.<\/div>\n<\/div>\n<p><\/p>\n<div style=\"float: left; padding:15px; color:#17AAF3\">\n<div style=\"background-color:#B6E5FC; font-size:16px; margin-top:1px; padding:1px 4px 1px 4px; color:#000; font-style:bold; float:left;\">1<\/div>\n<div style=\"float:left; font-size:16px; color:#FF7A22; padding:2px 2px 2px 2px; \">| <\/div>\n<div style=\"float:left; padding:2px 4px 2px 4px;\"><a class=\"pageNumber\" href=\"starkey200304014658.html?page=2\">2<\/a> <\/div>\n<div style=\"float:left; font-size:16px; color:#FF7A22; padding:2px 2px 2px 2px; \">| <\/div>\n<div style=\"float:left; padding:2px 4px 2px 4px;\"><a class=\"pageNumber\" href=\"starkey200304019ba9.html?page=3\">3<\/a> <\/div>\n<div style=\"float:left; padding:2px;\"><a class=\"paginationPageLink\" href=\"starkey200304014658.html?page=2\">Next Page \u00bb<\/a><\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>One of the better inventions of the 21st Century is with no doubt PHP-Gtk. Created in March 2001, in an effort to show that PHP isn&#8217;t just a web<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1445","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"_links":{"self":[{"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/posts\/1445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/comments?post=1445"}],"version-history":[{"count":1,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/posts\/1445\/revisions"}],"predecessor-version":[{"id":3303,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/posts\/1445\/revisions\/3303"}],"wp:attachment":[{"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/media?parent=1445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/categories?post=1445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/tags?post=1445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}