770 | | if {${os.platform} == "darwin" && ${os.major} > 10} { |
771 | | # oracle-instantclient 10.2.0.4.0 crashes in 64-bit mode on Lion and up. |
772 | | supported_archs i386 |
773 | | |
774 | | notes-append " |
775 | | On OS X 10.7 Lion and later, ${subport} is only available 32-bit, but ${php}\ |
776 | | runs 64-bit by default. To use the Oracle functions in PHP, you must start\ |
777 | | ${php} in 32-bit mode using the arch command, i.e.: |
778 | | |
779 | | arch -i386 ${php} example.php |
780 | | |
781 | | If using PHP via a web server, configure the web server to start 32-bit. |
782 | | |
783 | | Using ${php} 64-bit while ${subport} is active will result in warning messages\ |
784 | | and the Oracle functions being unavailable. |
785 | | " |
786 | | } |
787 | | |