{"id":2019,"date":"2008-01-09T08:48:17","date_gmt":"2008-01-09T15:48:17","guid":{"rendered":"http:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/"},"modified":"2008-01-09T08:48:17","modified_gmt":"2008-01-09T15:48:17","slug":"suexec-fpr-apache-under-os-x","status":"publish","type":"post","link":"https:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/","title":{"rendered":"suExec fpr Apache under OS X"},"content":{"rendered":"<p>In order to get Apache running with suexec under OS X 10.4.11 and also have php you will need to do the following:<br \/>\n<code><br \/>\n1) get the apache sources. (1.3.39)<\/p>\n<p>2) get the php4 sources (php-4.4.8)<\/p>\n<p>3) extract in the same directory and go into the php one to run:<\/p>\n<p>.\/configure --prefix=\/usr \\<br \/>\n    --sysconfdir=\/etc \\<br \/>\n    --localstatedir=\/var \\<br \/>\n    --mandir=\/usr\/share\/man \\<br \/>\n    --with-xml \\<br \/>\n    --with-apache=..\/apache1.3.39<\/p>\n<p>make<br \/>\nsudo make install<\/p>\n<p>4) then go into the apache folder and<\/p>\n<p>.\/configure --with-layout=Darwin \\<br \/>\n--enable-module=most \\<br \/>\n--enable-shared=max \\<br \/>\n--enable-suexec \\<br \/>\n--suexec-caller=www \\<br \/>\n--suexec-docroot=\/Library\/WebServer\/Documents \\<br \/>\n--activate-module=src\/modules\/php4\/libphp4.a \\<br \/>\n--suexec-userdir=Sites<\/p>\n<p>make -j2<br \/>\nsudo make install<\/p>\n<p>5) I had to change \/etc\/httpd\/htddp.conf like:<\/p>\n<p>comment out modules in httpd.conf<br \/>\n#LoadModule userdir_module     libexec\/httpd\/mod_userdir.so<\/p>\n<p>#LoadModule php4_module        libexec\/httpd\/libphp4.so<br \/>\n#LoadModule hfs_apple_module   libexec\/httpd\/mod_hfs_apple.so<br \/>\n#LoadModule bonjour_module     libexec\/httpd\/mod_bonjour.so<\/p>\n<p>#AddModule mod_userdir.c<\/p>\n<p>AddModule mod_php4.c<br \/>\n#AddModule mod_hfs_apple.c<br \/>\n#AddModule mod_bonjour.c<\/p>\n<p>Please note that mod_php4 gets added but not loaded. Probably since it got compiled in.<br \/>\nMy httpd rejected to start with hfs_apple or bonjour loaded and crashed with userdir.<\/p>\n<p><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In order to get Apache running with suexec under OS X 10.4.11 and also have php you will need to do the following: 1) get the apache sources. (1.3.39) 2) get the php4 sources (php-4.4.8) 3) extract in the same directory and go into the php one to run: .\/configure &#8211;prefix=\/usr \\ &#8211;sysconfdir=\/etc \\ &#8211;localstatedir=\/var [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,27,29,19],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>suExec fpr Apache under OS X - Andreas Wacker<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"suExec fpr Apache under OS X - Andreas Wacker\" \/>\n<meta property=\"og:description\" content=\"In order to get Apache running with suexec under OS X 10.4.11 and also have php you will need to do the following: 1) get the apache sources. (1.3.39) 2) get the php4 sources (php-4.4.8) 3) extract in the same directory and go into the php one to run: .\/configure --prefix=\/usr  --sysconfdir=\/etc  --localstatedir=\/var [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/\" \/>\n<meta property=\"og:site_name\" content=\"Andreas Wacker\" \/>\n<meta property=\"article:published_time\" content=\"2008-01-09T15:48:17+00:00\" \/>\n<meta name=\"author\" content=\"1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@_andreaswacker\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"1\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/\"},\"author\":{\"name\":\"1\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/691b5221b886b3b09742e476a16e5631\"},\"headline\":\"suExec fpr Apache under OS X\",\"datePublished\":\"2008-01-09T15:48:17+00:00\",\"dateModified\":\"2008-01-09T15:48:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/\"},\"wordCount\":28,\"publisher\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/c1f46a348eafeb52ee54843dce18442a\"},\"articleSection\":[\"Apple\",\"confessions of a pixel pusher\",\"OSX\",\"technology\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/\",\"url\":\"https:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/\",\"name\":\"suExec fpr Apache under OS X - Andreas Wacker\",\"isPartOf\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#website\"},\"datePublished\":\"2008-01-09T15:48:17+00:00\",\"dateModified\":\"2008-01-09T15:48:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.andreaswacker.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"suExec fpr Apache under OS X\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#website\",\"url\":\"https:\/\/www.andreaswacker.com\/blog\/\",\"name\":\"Andreas Wacker\",\"description\":\"weblog\",\"publisher\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/c1f46a348eafeb52ee54843dce18442a\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.andreaswacker.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/c1f46a348eafeb52ee54843dce18442a\",\"name\":\"Andreas Wacker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/06\/awfavion.png\",\"contentUrl\":\"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/06\/awfavion.png\",\"width\":248,\"height\":248,\"caption\":\"Andreas Wacker\"},\"logo\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/www.andreaswacker.com\",\"https:\/\/www.instagram.com\/_andreaswacker\/\",\"https:\/\/x.com\/_andreaswacker\",\"https:\/\/www.youtube.com\/channel\/UCWwFtVC_HATVr-R5EiNmhHw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/691b5221b886b3b09742e476a16e5631\",\"name\":\"1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"caption\":\"1\"},\"url\":\"https:\/\/www.andreaswacker.com\/blog\/author\/1\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"suExec fpr Apache under OS X - Andreas Wacker","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/","og_locale":"en_US","og_type":"article","og_title":"suExec fpr Apache under OS X - Andreas Wacker","og_description":"In order to get Apache running with suexec under OS X 10.4.11 and also have php you will need to do the following: 1) get the apache sources. (1.3.39) 2) get the php4 sources (php-4.4.8) 3) extract in the same directory and go into the php one to run: .\/configure --prefix=\/usr  --sysconfdir=\/etc  --localstatedir=\/var [&hellip;]","og_url":"https:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/","og_site_name":"Andreas Wacker","article_published_time":"2008-01-09T15:48:17+00:00","author":"1","twitter_card":"summary_large_image","twitter_site":"@_andreaswacker","twitter_misc":{"Written by":"1","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/#article","isPartOf":{"@id":"https:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/"},"author":{"name":"1","@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/691b5221b886b3b09742e476a16e5631"},"headline":"suExec fpr Apache under OS X","datePublished":"2008-01-09T15:48:17+00:00","dateModified":"2008-01-09T15:48:17+00:00","mainEntityOfPage":{"@id":"https:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/"},"wordCount":28,"publisher":{"@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/c1f46a348eafeb52ee54843dce18442a"},"articleSection":["Apple","confessions of a pixel pusher","OSX","technology"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/","url":"https:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/","name":"suExec fpr Apache under OS X - Andreas Wacker","isPartOf":{"@id":"https:\/\/www.andreaswacker.com\/blog\/#website"},"datePublished":"2008-01-09T15:48:17+00:00","dateModified":"2008-01-09T15:48:17+00:00","breadcrumb":{"@id":"https:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.andreaswacker.com\/blog\/2008\/01\/09\/suexec-fpr-apache-under-os-x\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.andreaswacker.com\/blog\/"},{"@type":"ListItem","position":2,"name":"suExec fpr Apache under OS X"}]},{"@type":"WebSite","@id":"https:\/\/www.andreaswacker.com\/blog\/#website","url":"https:\/\/www.andreaswacker.com\/blog\/","name":"Andreas Wacker","description":"weblog","publisher":{"@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/c1f46a348eafeb52ee54843dce18442a"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.andreaswacker.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/c1f46a348eafeb52ee54843dce18442a","name":"Andreas Wacker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/06\/awfavion.png","contentUrl":"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/06\/awfavion.png","width":248,"height":248,"caption":"Andreas Wacker"},"logo":{"@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/www.andreaswacker.com","https:\/\/www.instagram.com\/_andreaswacker\/","https:\/\/x.com\/_andreaswacker","https:\/\/www.youtube.com\/channel\/UCWwFtVC_HATVr-R5EiNmhHw"]},{"@type":"Person","@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/691b5221b886b3b09742e476a16e5631","name":"1","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"1"},"url":"https:\/\/www.andreaswacker.com\/blog\/author\/1\/"}]}},"_links":{"self":[{"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/posts\/2019"}],"collection":[{"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/comments?post=2019"}],"version-history":[{"count":0,"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/posts\/2019\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/media?parent=2019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/categories?post=2019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/tags?post=2019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}