The Shibboleth V2 IdP and SP software have reached End of Life and are no longer supported. This documentation is available for historical purposes only. See the IDP v4 and SP v3 wiki spaces for current documentation on the supported versions.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

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