{"id":16933,"date":"2012-11-22T16:06:03","date_gmt":"2012-11-22T14:06:03","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=16933"},"modified":"2012-11-22T16:06:03","modified_gmt":"2012-11-22T14:06:03","slug":"phing-fatal-error-after-upgrade-to-2-4-13","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2012\/11\/22\/phing-fatal-error-after-upgrade-to-2-4-13\/","title":{"rendered":"phing fatal error after upgrade to 2.4.13"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>If you are using <a href=\"http:\/\/www.phing.info\/\">phing<\/a> for building and deploying projects (and you should), and using <a href=\"http:\/\/rpms.famillecollet.com\/\">Remi repository<\/a> for PHP 5.3 and related tools for CentOs and RedHat, be prepared to see a problem with phing and build.xml files that use conditions in If. \u00a0 Here is a sample snippet from the\u00a0build.xml:<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;!-- Directory separator based on the current file system --&gt;\r\n&lt;property name=&quot;ds&quot; value=&quot;\\&quot; \/&gt;\r\n&lt;if&gt;\r\n  &lt;equals arg1=&quot;${host.fstype}&quot; arg2=&quot;UNIX&quot; \/&gt;\r\n  &lt;then&gt;\r\n    &lt;property name=&quot;ds&quot; value=&quot;\/&quot; override=&quot;yes&quot; \/&gt;\r\n  &lt;\/then&gt;\r\n&lt;\/if&gt;\r\n<\/pre>\n<p>and here is the error:<\/p>\n<pre>Error reading project file [wrapped: build.xml:39:20: Error initializing nested element &lt;equals&gt; [wrapped: equals (unknown) doesn't support the 'arg1' attribute.]]<\/pre>\n<p>The <a href=\"http:\/\/www.phing.info\/trac\/ticket\/943\">bug #943<\/a> has already been filed in assigned in phing trac, and after a brief chat with devs in IRC channel, it seems like it will be fixed soon (by 2.4.14 release). The best cause of action for now though is reverting back phing 2.4.12.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>If you are using phing for building and deploying projects (and you should), and using Remi repository for PHP 5.3 and related tools for CentOs and RedHat, be prepared to see a problem with phing and build.xml files that use conditions in If. \u00a0 Here is a sample snippet from the\u00a0build.xml: &lt;!&#8211; Directory separator based &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2012\/11\/22\/phing-fatal-error-after-upgrade-to-2-4-13\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">phing fatal error after upgrade to 2.4.13<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_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,"_links_to":"","_links_to_target":""},"categories":[1,18,62],"tags":[3134,1586,3133,38],"keyring_services":[],"class_list":["post-16933","post","type-post","status-publish","format-standard","hentry","category-general","category-programming","category-technology","tag-bugs","tag-deployment","tag-phing","tag-php"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"If you are using phing for building and deploying projects (and you should), and using Remi repository for PHP 5.3 and related tools for CentOs and RedHat, be prepared to see a problem with phing and build.xml files that use conditions in If. Here is a sample snippet from the build.xml: [code lang=&quot;xml&quot;]\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Leonid Mamchenkov\"\/>\n\t<meta name=\"google-site-verification\" content=\"VHvdD0_usx1_4DzKy_QCVcICVgX2EgA2ybELT-wl7kQ\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/mamchenkov.net\/wordpress\/2012\/11\/22\/phing-fatal-error-after-upgrade-to-2-4-13\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Leonid Mamchenkov - Life, universe, and everything else\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"phing fatal error after upgrade to 2.4.13 - Leonid Mamchenkov\" \/>\n\t\t<meta property=\"og:description\" content=\"If you are using phing for building and deploying projects (and you should), and using Remi repository for PHP 5.3 and related tools for CentOs and RedHat, be prepared to see a problem with phing and build.xml files that use conditions in If. Here is a sample snippet from the build.xml: [code lang=&quot;xml&quot;]\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/mamchenkov.net\/wordpress\/2012\/11\/22\/phing-fatal-error-after-upgrade-to-2-4-13\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2012-11-22T14:06:03+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2012-11-22T14:06:03+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/MamchenkovBlog\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@mamchenkov\" \/>\n\t\t<meta name=\"twitter:title\" content=\"phing fatal error after upgrade to 2.4.13 - Leonid Mamchenkov\" \/>\n\t\t<meta name=\"twitter:description\" content=\"If you are using phing for building and deploying projects (and you should), and using Remi repository for PHP 5.3 and related tools for CentOs and RedHat, be prepared to see a problem with phing and build.xml files that use conditions in If. Here is a sample snippet from the build.xml: [code lang=&quot;xml&quot;]\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@mamchenkov\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/11\\\/22\\\/phing-fatal-error-after-upgrade-to-2-4-13\\\/#blogposting\",\"name\":\"phing fatal error after upgrade to 2.4.13 - Leonid Mamchenkov\",\"headline\":\"phing fatal error after upgrade to 2.4.13\",\"author\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/11\\\/22\\\/phing-fatal-error-after-upgrade-to-2-4-13\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"},\"datePublished\":\"2012-11-22T16:06:03+02:00\",\"dateModified\":\"2012-11-22T16:06:03+02:00\",\"inLanguage\":\"en-US\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/11\\\/22\\\/phing-fatal-error-after-upgrade-to-2-4-13\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/11\\\/22\\\/phing-fatal-error-after-upgrade-to-2-4-13\\\/#webpage\"},\"articleSection\":\"All, Programming, Technology, bugs, deployment, phing, PHP\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/11\\\/22\\\/phing-fatal-error-after-upgrade-to-2-4-13\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/programming\\\/#listItem\",\"name\":\"Programming\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/programming\\\/#listItem\",\"position\":3,\"name\":\"Programming\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/programming\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/11\\\/22\\\/phing-fatal-error-after-upgrade-to-2-4-13\\\/#listItem\",\"name\":\"phing fatal error after upgrade to 2.4.13\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/11\\\/22\\\/phing-fatal-error-after-upgrade-to-2-4-13\\\/#listItem\",\"position\":4,\"name\":\"phing fatal error after upgrade to 2.4.13\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/programming\\\/#listItem\",\"name\":\"Programming\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\",\"name\":\"Leonid Mamchenkov\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/11\\\/22\\\/phing-fatal-error-after-upgrade-to-2-4-13\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/\",\"name\":\"Leonid Mamchenkov\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/11\\\/22\\\/phing-fatal-error-after-upgrade-to-2-4-13\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/11\\\/22\\\/phing-fatal-error-after-upgrade-to-2-4-13\\\/#webpage\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/11\\\/22\\\/phing-fatal-error-after-upgrade-to-2-4-13\\\/\",\"name\":\"phing fatal error after upgrade to 2.4.13 - Leonid Mamchenkov\",\"description\":\"If you are using phing for building and deploying projects (and you should), and using Remi repository for PHP 5.3 and related tools for CentOs and RedHat, be prepared to see a problem with phing and build.xml files that use conditions in If. Here is a sample snippet from the build.xml: [code lang=\\\"xml\\\"]\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2012\\\/11\\\/22\\\/phing-fatal-error-after-upgrade-to-2-4-13\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"datePublished\":\"2012-11-22T16:06:03+02:00\",\"dateModified\":\"2012-11-22T16:06:03+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/\",\"name\":\"Blog of Leonid Mamchenkov\",\"description\":\"Life, universe, and everything else\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"phing fatal error after upgrade to 2.4.13 - Leonid Mamchenkov","description":"If you are using phing for building and deploying projects (and you should), and using Remi repository for PHP 5.3 and related tools for CentOs and RedHat, be prepared to see a problem with phing and build.xml files that use conditions in If. Here is a sample snippet from the build.xml: [code lang=\"xml\"]","canonical_url":"https:\/\/mamchenkov.net\/wordpress\/2012\/11\/22\/phing-fatal-error-after-upgrade-to-2-4-13\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"VHvdD0_usx1_4DzKy_QCVcICVgX2EgA2ybELT-wl7kQ","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/11\/22\/phing-fatal-error-after-upgrade-to-2-4-13\/#blogposting","name":"phing fatal error after upgrade to 2.4.13 - Leonid Mamchenkov","headline":"phing fatal error after upgrade to 2.4.13","author":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"publisher":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/11\/22\/phing-fatal-error-after-upgrade-to-2-4-13\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"},"datePublished":"2012-11-22T16:06:03+02:00","dateModified":"2012-11-22T16:06:03+02:00","inLanguage":"en-US","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/11\/22\/phing-fatal-error-after-upgrade-to-2-4-13\/#webpage"},"isPartOf":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/11\/22\/phing-fatal-error-after-upgrade-to-2-4-13\/#webpage"},"articleSection":"All, Programming, Technology, bugs, deployment, phing, PHP"},{"@type":"BreadcrumbList","@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/11\/22\/phing-fatal-error-after-upgrade-to-2-4-13\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress#listItem","position":1,"name":"Home","item":"https:\/\/mamchenkov.net\/wordpress","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/programming\/#listItem","name":"Programming"},"previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/programming\/#listItem","position":3,"name":"Programming","item":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/programming\/","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/11\/22\/phing-fatal-error-after-upgrade-to-2-4-13\/#listItem","name":"phing fatal error after upgrade to 2.4.13"},"previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/11\/22\/phing-fatal-error-after-upgrade-to-2-4-13\/#listItem","position":4,"name":"phing fatal error after upgrade to 2.4.13","previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/programming\/#listItem","name":"Programming"}}]},{"@type":"Person","@id":"https:\/\/mamchenkov.net\/wordpress\/#person","name":"Leonid Mamchenkov","image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/11\/22\/phing-fatal-error-after-upgrade-to-2-4-13\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"}},{"@type":"Person","@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author","url":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/","name":"Leonid Mamchenkov","image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/11\/22\/phing-fatal-error-after-upgrade-to-2-4-13\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"}},{"@type":"WebPage","@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/11\/22\/phing-fatal-error-after-upgrade-to-2-4-13\/#webpage","url":"https:\/\/mamchenkov.net\/wordpress\/2012\/11\/22\/phing-fatal-error-after-upgrade-to-2-4-13\/","name":"phing fatal error after upgrade to 2.4.13 - Leonid Mamchenkov","description":"If you are using phing for building and deploying projects (and you should), and using Remi repository for PHP 5.3 and related tools for CentOs and RedHat, be prepared to see a problem with phing and build.xml files that use conditions in If. Here is a sample snippet from the build.xml: [code lang=\"xml\"]","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#website"},"breadcrumb":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2012\/11\/22\/phing-fatal-error-after-upgrade-to-2-4-13\/#breadcrumblist"},"author":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"creator":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"datePublished":"2012-11-22T16:06:03+02:00","dateModified":"2012-11-22T16:06:03+02:00"},{"@type":"WebSite","@id":"https:\/\/mamchenkov.net\/wordpress\/#website","url":"https:\/\/mamchenkov.net\/wordpress\/","name":"Blog of Leonid Mamchenkov","description":"Life, universe, and everything else","inLanguage":"en-US","publisher":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#person"}}]},"og:locale":"en_US","og:site_name":"Leonid Mamchenkov - Life, universe, and everything else","og:type":"article","og:title":"phing fatal error after upgrade to 2.4.13 - Leonid Mamchenkov","og:description":"If you are using phing for building and deploying projects (and you should), and using Remi repository for PHP 5.3 and related tools for CentOs and RedHat, be prepared to see a problem with phing and build.xml files that use conditions in If. Here is a sample snippet from the build.xml: [code lang=&quot;xml&quot;]","og:url":"https:\/\/mamchenkov.net\/wordpress\/2012\/11\/22\/phing-fatal-error-after-upgrade-to-2-4-13\/","og:image":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg","og:image:secure_url":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg","og:image:width":1024,"og:image:height":1024,"article:published_time":"2012-11-22T14:06:03+00:00","article:modified_time":"2012-11-22T14:06:03+00:00","article:publisher":"https:\/\/www.facebook.com\/MamchenkovBlog","twitter:card":"summary_large_image","twitter:site":"@mamchenkov","twitter:title":"phing fatal error after upgrade to 2.4.13 - Leonid Mamchenkov","twitter:description":"If you are using phing for building and deploying projects (and you should), and using Remi repository for PHP 5.3 and related tools for CentOs and RedHat, be prepared to see a problem with phing and build.xml files that use conditions in If. Here is a sample snippet from the build.xml: [code lang=&quot;xml&quot;]","twitter:creator":"@mamchenkov","twitter:image":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg"},"aioseo_meta_data":{"post_id":"16933","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-07-20 00:45:46","updated":"2026-01-15 08:26:47","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/programming\/\" title=\"Programming\">Programming<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tphing fatal error after upgrade to 2.4.13\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/mamchenkov.net\/wordpress"},{"label":"Technology","link":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/"},{"label":"Programming","link":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/programming\/"},{"label":"phing fatal error after upgrade to 2.4.13","link":"https:\/\/mamchenkov.net\/wordpress\/2012\/11\/22\/phing-fatal-error-after-upgrade-to-2-4-13\/"}],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":28439,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/03\/19\/have-you-tried-composer-scripts-you-do-not-need-phing\/","url_meta":{"origin":16933,"position":0},"title":"Have you tried Composer Scripts? You DO not need Phing.","author":"Leonid Mamchenkov","date":"March 19, 2018","format":false,"excerpt":"\"Have you tried Composer Scripts? You may not need Phing.\" is a nice blog post showing how to use Composer scripts to solve simple build and deployment automation.\u00a0 There's plenty of good advice in there. However I have one issue with it.\u00a0 It's the \"You may not need Phing.\" part.\u00a0\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":21770,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/05\/08\/phingistrano-php-software-build-and-deployment-utility-using-phing\/","url_meta":{"origin":16933,"position":1},"title":"Phingistrano &#8211; PHP software build and deployment utility using phing","author":"Leonid Mamchenkov","date":"May 8, 2014","format":"link","excerpt":"Phingistrano - PHP software build and deployment utility using phing","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":22402,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/08\/19\/phake-php-task-management-software\/","url_meta":{"origin":16933,"position":2},"title":"Phake &#8211; PHP task management software","author":"Leonid Mamchenkov","date":"August 19, 2014","format":"link","excerpt":"Phake - PHP task management software. \u00a0This Phake is a clone of Ruby's rake, not to be confused with Phake - PHP Mocking Framework. \u00a0Think Phing, not PHPUnit. \u00a0Use Phake for process automation such as, for example, project deployment.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11936,"url":"https:\/\/mamchenkov.net\/wordpress\/2009\/11\/19\/day-in-brief\/","url_meta":{"origin":16933,"position":3},"title":"Day in brief","author":"Leonid Mamchenkov","date":"November 19, 2009","format":false,"excerpt":"Woke up with no hangover what so ever. That is very suspicious. Upgraded to Fedora 12. Now for breakfast and more talks. #ipc09 # Stress-free deployment talk for me to kick off the last day of #ipc09 # Automatic deployment of database scheme changes. Tools: dbdeploy, LiquiBase, Doctrine. #ipc09 #\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":18442,"url":"https:\/\/mamchenkov.net\/wordpress\/2013\/07\/03\/github-adds-releases\/","url_meta":{"origin":16933,"position":4},"title":"GitHub adds Releases","author":"Leonid Mamchenkov","date":"July 3, 2013","format":false,"excerpt":"By now you know that I can't praise GitHub enough. \u00a0It is one of the best tools for developers ever. \u00a0Seriously. \u00a0It's up there with git itself, and even Vim. \u00a0If you aren't using it yet, stop whatever it is you are doing and rush there. \u00a0Now. I'm not kidding.\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"GitHub releases","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2013\/07\/GitHub-releases-500x254.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":15018,"url":"https:\/\/mamchenkov.net\/wordpress\/2011\/06\/03\/pagoda-box-scalable-platform-for-your-php-application\/","url_meta":{"origin":16933,"position":5},"title":"Pagoda Box &#8211; scalable platform for your PHP application","author":"Leonid Mamchenkov","date":"June 3, 2011","format":false,"excerpt":"I got my hands on a private beta of Pagoda Box. \u00a0It is a platform that you can deploy your PHP applications to. \u00a0 I gave it a brief look around and I have to say it's pretty sweet. Right after you register and get access to your dashboard, you\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2011\/06\/pagodabox-500x313.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/16933","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=16933"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/16933\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=16933"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=16933"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=16933"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=16933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}