{"id":305,"date":"2009-12-08T11:25:55","date_gmt":"2009-12-08T17:25:55","guid":{"rendered":"http:\/\/24.183.55.167:8101\/wordpress\/?p=305"},"modified":"2012-08-14T20:50:14","modified_gmt":"2012-08-15T01:50:14","slug":"installing-xampp-on-fedora-12-64-bit","status":"publish","type":"post","link":"https:\/\/icesquare.com\/wordpress\/installing-xampp-on-fedora-12-64-bit\/","title":{"rendered":"Installing XAMPP on Fedora 12 64-bit system"},"content":{"rendered":"<p>I was installing XAMPP on Fedora 11 64-bit today, and I saw this famous message:<\/p>\n<pre>\r\nsudo \/opt\/lampp\/lampp startapache\r\nXAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system.\r\n<\/pre>\n<p>The message is very clear that XAMPP doesn&#8217;t like 32-bit system. So, we will need to cheat XAMPP that the system is 32-bit. First, we will need to install some libraries:<\/p>\n<pre>\r\nsudo yum -y install glibc.i686 libgcc.i686 libstdc++.i686\r\n<\/pre>\n<p>and now, we need to skip the 32-bit annoying check. Use Nano or your favorite editor to open this file:  \/opt\/lampp\/lampp<\/p>\n<pre>\r\nsudo nano \/opt\/lampp\/lampp\r\n<\/pre>\n<p>Replace the following from:<\/p>\n<pre>\r\n# XAMPP is currently 32 bit only\r\ncase `uname -m` in\r\n       *_64)\r\n       if \/opt\/lampp\/bin\/php -v > \/dev\/null 2>&1\r\n       then\r\n               :\r\n       else\r\n               $de && echo \"XAMPP gibt es zur Zeit nur als 32-Bit Applikation. Bitte verwende eine 32-Bit Kompatibilitaetsbibliothek fuer Dein System.\"\r\n               $de || echo \"XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system.\"\r\n               exit\r\n       fi\r\n       ;;\r\nesac\r\n<\/pre>\n<p>To:<\/p>\n<pre>\r\n# XAMPP is currently 32 bit only\r\n#case `uname -m` in\r\n#       *_64)\r\n#       if \/opt\/lampp\/bin\/php -v > \/dev\/null 2>&1\r\n#       then\r\n#               :\r\n#       else\r\n#               $de && echo \"XAMPP gibt es zur Zeit nur als 32-Bit Applikation. Bitte verwende eine 32-Bit Kompatibilitaetsbibliothek fuer Dein System.\"\r\n#               $de || echo \"XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system.\"\r\n#               exit\r\n#       fi\r\n#       ;;\r\n#esac\r\n<\/pre>\n<p>Now run the following the start XAMPP:<\/p>\n<pre>\r\nsudo \/opt\/lampp\/lampp startapache\r\n<\/pre>\n<p>Wow! Everything is working great!<\/p>\n<p>&#8211;Derrick<\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was installing XAMPP on Fedora 11 64-bit today, and I saw this famous message: sudo \/opt\/lampp\/lampp startapache XAMPP is currently only availably as 32 bit application. Please use a <a class=\"more-link\" href=\"https:\/\/icesquare.com\/wordpress\/installing-xampp-on-fedora-12-64-bit\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[94,144,6],"tags":[8,49,48,9,172,58],"class_list":["post-305","post","type-post","status-publish","format-standard","hentry","category-computer-problems-computer-help-pc-support","category-sever-problem","category-technology","tag-apache","tag-fedora","tag-linux","tag-mysql","tag-php","tag-xampp"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p1sqzr-4V","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":3495,"url":"https:\/\/icesquare.com\/wordpress\/xampp-php-fatal-error-class-ziparchive-not-found\/","url_meta":{"origin":305,"position":0},"title":"XAMPP &#8211; PHP Fatal error:  Class &#8216;ZipArchive&#8217; not found","author":"Derrick","date":"March 11, 2014","format":false,"excerpt":"I just finished writing a program written in PHP today. When I moved to the another environment, I found that the script didn't work. After some investigations, I found that the program stopped running because of the following error: PHP Fatal error: Class 'ZipArchive' not found in ... The error\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/icesquare.com\/wordpress\/wp-content\/uploads\/2014\/03\/xampp-logo.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1063,"url":"https:\/\/icesquare.com\/wordpress\/xampp-error-1-couldnt-start-apache-sorry-ive-no-idea-whats-going-wrong\/","url_meta":{"origin":305,"position":1},"title":"XAMPP: Error 1! Couldn&#8217;t start Apache! &#8230; Sorry, I&#8217;ve no idea what&#8217;s going wrong.","author":"Derrick","date":"November 14, 2010","format":false,"excerpt":"Today I helped my friend to install XAMPP on a Debian system. When I tried to start the Apache webserver, I got the following message: #\/opt\/lampp\/lampp startapache XAMPP: Starting Apache with SSL (and PHP5)... XAMPP: Error 1! Couldn't start Apache! XAMPP: Starting diagnose... XAMPP: Sorry, I've no idea what's going\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2156,"url":"https:\/\/icesquare.com\/wordpress\/cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysql-sock-2\/","url_meta":{"origin":305,"position":2},"title":"Can&#8217;t connect to local MySQL server through socket &#8216;\/var\/lib\/mysql\/mysql.sock&#8217; (2)","author":"Derrick","date":"December 21, 2011","format":false,"excerpt":"When I tried to connect to the MySQL server through PHP, I got the following error: Can't connect to local MySQL server through socket '\/var\/lib\/mysql\/mysql.sock' (2) To give you some background, here is my situation. My Fedora Linux is a 64-bit machine, and I have installed a 32-bit version of\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3134,"url":"https:\/\/icesquare.com\/wordpress\/php-network-error\/","url_meta":{"origin":305,"position":3},"title":"PHP Network Error","author":"Derrick","date":"February 21, 2013","format":false,"excerpt":"One of my PHP web applications stopped working today. After I investigated the issues, I noticed that this is a very famous, yet unsolved error. I have no idea why it happens, but I do have a work around solution for it. Basically, this article applies to you if you\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1919,"url":"https:\/\/icesquare.com\/wordpress\/fedora-16-etc-rc-local\/","url_meta":{"origin":305,"position":4},"title":"[Solved]Fedora 16 \/etc\/rc.local is missing","author":"Derrick","date":"November 29, 2011","format":false,"excerpt":"Finally, I got a chance to try the new Fedora 16. The overall experience is pretty good, except that it comes with some troublesomes. I guess it is a bonus feature to test your troubleshooting skills. No problem, those are piece of cake to me. After trying for about 15\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"\/wordpress\/wp-content\/uploads\/2011\/08\/fedora-logo-150x150.png","width":350,"height":200},"classes":[]},{"id":2788,"url":"https:\/\/icesquare.com\/wordpress\/phpfatal-error-allowed-memory-size-of-x-bytes-exhausted-tried-to-allocate-y-bytes\/","url_meta":{"origin":305,"position":5},"title":"[PHP]Fatal error: Allowed memory size of x bytes exhausted (tried to allocate y bytes)","author":"Derrick","date":"May 4, 2012","format":false,"excerpt":"[ad#adbrite] A user complained to me that my PHP web applications stopped working today. After I digged into the error log, I found that following message: PHP Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 261900 bytes) in Unknown on line 0 Obviously, this is related\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"\/wordpress\/wp-content\/uploads\/2011\/12\/computer-problem.jpg","width":350,"height":200},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/305","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/comments?post=305"}],"version-history":[{"count":17,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/305\/revisions"}],"predecessor-version":[{"id":2920,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/305\/revisions\/2920"}],"wp:attachment":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/media?parent=305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/categories?post=305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/tags?post=305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}