Page tree

The Shibboleth 2.x software has reached its End of Life and is no longer supported. This documentation is available for historical purposes only. See the IDP30 and SP3 wiki spaces for current documentation on the supported versions.

Skip to end of metadata
Go to start of metadata

To run Apple's Apache binary as a 32-bit process on a 64-bit Intel Mac, you can take one of two approaches:

  • Strip all but the i386 arch from the binary.
  • Modify the OS scripts to launch Apache using the arch command.

Since the first is destructive and the second is not, the second option is recommended.

To modify the Apache launch commands, make the following changes:

  • Edit /usr/sbin/apachectl and change the value of the HTTPD variable as follows:
HTTPD="arch -i386 /usr/sbin/httpd"
  • Edit /System/Library/LaunchDaemons/org.apache.httpd.plist and change the <array> element below the ProgramArguments key as follows:
<array>
    <string>/usr/bin/arch</string>    <!-- new line -->
    <string>-i386</string>   <!-- new line -->
    <string>/usr/sbin/httpd</string>
    <string>-D</string>
    <string>FOREGROUND</string>
</array>

To verify that your change worked, start Apache and run ps -el | grep httpd. The "F" column should contain numbers that do NOT end in 4.

  • No labels