Building PHP for Leopard

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gordon

    Building PHP for Leopard

    Has anybody had any success compiling a PHP build for Leopard,
    specifically for Leopard running on a 64 bit Intel architecture? I
    have been using the Entropy builds up to now but there has been a
    major lack in progress with them in recent months and I get the
    impression the developer has stopped working on them.

    Apple do provide a PHP with Leopard but its capabilities are severely
    limited, and Apple, in their infinite wisdom, didn't compile any
    extensions for you to include in the php.ini file. The only database
    supported in the Apple build is MySQL and important extensions like GD
    and mcrypt are missing. So if anyone else can help out with a better
    build I'd appreciate it.
  • Gordon

    #2
    Re: Building PHP for Leopard

    On Aug 4, 5:57 pm, Michael Vilain <vil...@NOspamc op.netwrote:
    In article
    <7248b93f-ac37-49ee-aded-0e2086ef1...@t5 4g2000hsg.googl egroups.com>,
    >
     Gordon <gordon.mc...@n tlworld.comwrot e:
    Has anybody had any success compiling a PHP build for Leopard,
    specifically for Leopard running on a 64 bit Intel architecture?  I
    have been using the Entropy builds up to now but there has been a
    major lack in progress with them in recent months and I get the
    impression the developer has stopped working on them.
    >
    Apple do provide a PHP with Leopard but its capabilities are severely
    limited, and Apple, in their infinite wisdom, didn't compile any
    extensions for you to include in the php.ini file.  The only database
    supported in the Apple build is MySQL and important extensions like GD
    and mcrypt are missing.  So if anyone else can help out with a better
    build I'd appreciate it.
    >
    If you have the developer tools installed, you can download the sources
    and build it yourself.  What's stopping you?
    >
    --
    DeeDee, don't press that button!  DeeDee!  NO!  Dee...
    [I filter all Goggle Groups posts, so any reply may be automatically by ignored]
    I've attempted to do just that, and couldn't get it to compile
    successfully.

    Comment

    • Gordon

      #3
      Re: Building PHP for Leopard

      On Aug 5, 9:53 pm, Michael Vilain <vil...@NOspamc op.netwrote:
      In article
      <fafe0de7-645c-4390-842e-7801ef0af...@2g 2000hsn.googleg roups.com>,
      >
      >
      >
       Gordon <gordon.mc...@n tlworld.comwrot e:
      On Aug 4, 5:57 pm, Michael Vilain <vil...@NOspamc op.netwrote:
      In article
      <7248b93f-ac37-49ee-aded-0e2086ef1...@t5 4g2000hsg.googl egroups.com>,
      >
       Gordon <gordon.mc...@n tlworld.comwrot e:
      Has anybody had any success compiling a PHP build for Leopard,
      specifically for Leopard running on a 64 bit Intel architecture?  I
      have been using the Entropy builds up to now but there has been a
      major lack in progress with them in recent months and I get the
      impression the developer has stopped working on them.
      >
      Apple do provide a PHP with Leopard but its capabilities are severely
      limited, and Apple, in their infinite wisdom, didn't compile any
      extensions for you to include in the php.ini file.  The only database
      supported in the Apple build is MySQL and important extensions likeGD
      and mcrypt are missing.  So if anyone else can help out with a better
      build I'd appreciate it.
      >
      If you have the developer tools installed, you can download the sources
      and build it yourself.  What's stopping you?
      >
      --
      DeeDee, don't press that button!  DeeDee!  NO!  Dee...
      [I filter all Goggle Groups posts, so any reply may be automatically by
      ignored]
      >
      I've attempted to do just that, and couldn't get it to compile
      successfully.
      >
      There are "pre-built" sandboxes you can buy and download
      >

      >
      which is a better approach than building your own version that may get
      trashed by Apple's next update.  Unfortunately, it doesn't say if it's
      64-bit Intel.  It also hasn't been updated in a while.
      >
      Then there are the binaries on the php site:
      >

      >
      which installs in /usr/local and is unaffected by Software Update.  
      There are also links on support sites that may be of help.
      >
      On SUN's X86 Solaris, you can mix applications that are 32-bit and
      64-bit and run them on the 64-bit kernel (but only run the 32-bit on the
      32-bit kernel).  You can't _build_ stuff with a mix of 32 and 64-bit
      libraries, but you can run both.  I don't know what MacOS X does with
      64-bit and 32-bit applications.
      >
      If you're having trouble building php, you might try the php developer
      forums.  If you have no experience building open-source software or how
      to diagnose and fix build problems, you'll either have to learn how or
      hire someone to build this for you.  Your call on how much it's worth to
      you in time and money.
      >
      --
      DeeDee, don't press that button!  DeeDee!  NO!  Dee...
      [I filter all Goggle Groups posts, so any reply may be automatically by ignored]
      I was already aware of MAMP and Entropy, MAMP is no use to me because
      it only seems to support MySQL and I work for a Postgres shop.
      Entropy is what I'm already using, but its 5.2.5 build for Leopard
      hasn't been updated in months and it appears as if the maintainer
      isn't working on it anymore.

      MacOS on 64 bit systems can run both 32 and 64 bit code, but a 64 bit
      application can't use 32 bit libraries.

      Comment

      • Gordon

        #4
        Re: Building PHP for Leopard

        On Aug 5, 9:53 pm, Michael Vilain <vil...@NOspamc op.netwrote:
        In article
        <fafe0de7-645c-4390-842e-7801ef0af...@2g 2000hsn.googleg roups.com>,
        >
        >
        >
         Gordon <gordon.mc...@n tlworld.comwrot e:
        On Aug 4, 5:57 pm, Michael Vilain <vil...@NOspamc op.netwrote:
        In article
        <7248b93f-ac37-49ee-aded-0e2086ef1...@t5 4g2000hsg.googl egroups.com>,
        >
         Gordon <gordon.mc...@n tlworld.comwrot e:
        Has anybody had any success compiling a PHP build for Leopard,
        specifically for Leopard running on a 64 bit Intel architecture?  I
        have been using the Entropy builds up to now but there has been a
        major lack in progress with them in recent months and I get the
        impression the developer has stopped working on them.
        >
        Apple do provide a PHP with Leopard but its capabilities are severely
        limited, and Apple, in their infinite wisdom, didn't compile any
        extensions for you to include in the php.ini file.  The only database
        supported in the Apple build is MySQL and important extensions likeGD
        and mcrypt are missing.  So if anyone else can help out with a better
        build I'd appreciate it.
        >
        If you have the developer tools installed, you can download the sources
        and build it yourself.  What's stopping you?
        >
        --
        DeeDee, don't press that button!  DeeDee!  NO!  Dee...
        [I filter all Goggle Groups posts, so any reply may be automatically by
        ignored]
        >
        I've attempted to do just that, and couldn't get it to compile
        successfully.
        >
        There are "pre-built" sandboxes you can buy and download
        >

        >
        which is a better approach than building your own version that may get
        trashed by Apple's next update.  Unfortunately, it doesn't say if it's
        64-bit Intel.  It also hasn't been updated in a while.
        >
        Then there are the binaries on the php site:
        >

        >
        which installs in /usr/local and is unaffected by Software Update.  
        There are also links on support sites that may be of help.
        >
        On SUN's X86 Solaris, you can mix applications that are 32-bit and
        64-bit and run them on the 64-bit kernel (but only run the 32-bit on the
        32-bit kernel).  You can't _build_ stuff with a mix of 32 and 64-bit
        libraries, but you can run both.  I don't know what MacOS X does with
        64-bit and 32-bit applications.
        >
        If you're having trouble building php, you might try the php developer
        forums.  If you have no experience building open-source software or how
        to diagnose and fix build problems, you'll either have to learn how or
        hire someone to build this for you.  Your call on how much it's worth to
        you in time and money.
        >
        --
        DeeDee, don't press that button!  DeeDee!  NO!  Dee...
        [I filter all Goggle Groups posts, so any reply may be automatically by ignored]
        opy

        Comment

        Working...