Does anyone know how to update/recompile PHP to include IMAP?

I've just installed phplist (http://www.phplist.com/), which is a newsletter mailer based on php. Some of the features require that IMAP be installed with the php installation. Evidently Apple's OSX install does not include IMAP in PHP by default, but presumably IMAP can be added if PHP is recompiled. (See http://www.php.net/manual/en/ref.imap.php). I was planning on updating PHP using Alex's very helpful tutorial, available at http://osx.topicdesk.com/content/category/4/18/62/, and at the same time adding IMAP.
Altho Alex does not touch on IMAP in his tutorial, I believe that to includ IMAP in the PHP installation, the configuration string must include "--with-imap-ssl=/sw --with-imap=/usr/share/c-client", or something similar. In any event, it seems that "c-client" does not live in /usr/share nor anywhere on my system, so I have not attempted an installation so far.
Does anyone know how to update/recompile PHP to include IMAP? And if "c-client" is required, how do I intall that first?

Disregard last post--that was a non-starter, but I think I have a successful installation, which I will post here as the documentation on this from php and from phplist is pretty bad:
First get and compile the c-client library, which is necessary for those wanting to run phplist:
sudo mkdir -p /SourceCache
cd /SourceCache
sudo curl -O ftp://ftp.cac.washington.edu/imap/c-client.tar.Z
sudo tar xzf c-client.tar.Z
cd imap-2006h
sudo make oxp
sudo mkdir lib
sudo mkdir include
Next open /SourceCache/c-client and drag all the */.h files (including the aliases) into “include.” Then drag all the */.c files (aliases too) into “lib”.
Find “c-client.a” and change name to "libc-client.a" and place in the lib folder.
Correct permissions on lib and include.
Finally install php (cheers to Alex) as follows:
cd /SourceCache
sudo curl –O http://us.php.net/distributions/php-4.4.7.tar.gz
sudo tar xzpf php-4.4.7.tar.gz
cd /SourceCache/php-4.4.7
sh
CFLAGS=-DBIND8COMPAT
export CFLAGS
sudo ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --with-apxs --with-ldap=/usr --with-kerberos=/usr --enable-cli --with-zlib-dir=/usr --enable-trans-sid --with-xml --enable-exif --enable-ftp --enable-mbstring --enable-mbregex --enable-dbx --enable-sockets --with-iodbc=/usr --with-curl=/usr --with-config-file-path=/etc --sysconfdir=/private/etc --with-mysql=/usr --with-mysql-sock=/var/mysql/mysql.sock --with-imap=/SouceCache/imap-2006h --without-pear
sudo make
sudo make install
sudo apachectl graceful restart
exit
One last question, Alex: can I safely delete the SourceCache folder now that the installation is complete? My only concern is that the config string points to items in the folder, and I'm wondering whether I ought to have placed them inside /usr/share instead of SourceCache, or doesn't it make a difference?
Lost count Mac OS X (10.4.9)

Similar Messages

  • Does anyone know how to update OSX Mountain Lion 10.8.1. to 10.8.2. on a late 2012 Mac mini. All I get are 'not compatible' messages even using supplementary updates etc?

    Does anyone know how to update OSX Mountain Lion 10.8.1. to 10.8.2. on a late 2012 Mac mini. All I get are 'not compatible' messages even using supplementary updates etc?

    It appears that many of the problems with the HDMI are the "monitors" that are being used. Samsung and Vizeo both DO NOT support a computer input on HDMI only VGA. There probably are others, manuals must be read to confirm compatability.
    I strongly believe that the reason the 10.8.2 update was pulled is due to the fact (it happened to me) that the new Disk Utility creates a Fusion drive if aftermarket SSDs are added to the system. I think Apple wants this propriatary Fusion Drive to be something you buy from them not a "homebrew" for lots less money.

  • Hey, does anyone know how to update your NEW APPLE ID & PASSWORD on iphone?

    Hey, does anyone know how to update your NEW APPLE ID & PASSWORD on iphone?

    Tap Settings > iTunes & App Store
    Tap the current Apple ID then click Sign Out.
    Be aware. If you change the Apple ID and password, whatever content was purchased from the prior Apple ID will not be available on the iPhone.

  • Does anyone know how to update the software on an iPhone 4 when there is no software update button?!

    Does anyone know how to update the software on an iPhone 4 when there is no software update button?!
    Many thanks.

    Update it from iTunes on a computer as described at the bottom of this article; devices running an iOS version prior to 5.0 can't be updated straight from the device. It will be updated to the newest iOS version supported by the device’s hardware.
    (83714)

  • Does anyone know how to update your e-mail in iCloud

    Does anyone know how to change your email address for iCloud? It won't let me back up without doing so

    I have never lost anything updating.
    What are you talking about?

  • Does anyone know how to update apps via itunes

    I have the latest software and i am having difficulties installing updates of my apps. Does anyone know how to install updates through the app store

    http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf

  • Does anyone know how to update ipod first generation?

    Because itunes is not letting me download it from there! any suggestions?

    If you are trying to update to iOS 3.1.3 and getting the 8288 error I know on no solution.  Othere users have posted a similar question. Have you contacted iTunes.
    Apple - Support - iTunes Store - Contact Us

  • My ipad won't let me sign in to my FaceTime and iMessage and won't update my apps no more ever since I got my iphone and put them on the same account. Does anyone know how to fix it or why it's doing this

    II've had my ipad with retina display for about a 1 now and everything was fine In till I got my iphone 4s and put them on the same account then my ipad stopped letting me log in to my FaceTime and iMessage and it doesn't let me update my apps and dosnt let me log in to iCloud ever since I got my phone and put them on the same account does anyone know how I could fix it and still be able to connected to my iphone??

    Did you change your Apple ID?
    Unable to make or receive FaceTime calls after April 16, 2014
    http://support.apple.com/kb/TS5419
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Set Up Alert Sounds
    http://www.quepublishing.com/articles/article.aspx?p=1873027&seqNum=3
    Extra FaceTime IDs
    http://tinyurl.com/k683gr4
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Fix Can’t Sign Into FaceTime or iMessage iOS 7
    http://ipadtutr.com/fix-login-facetime-imessage-ios-7/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    iOS 7 allows you to block phone numbers or e-mail addresses from contacting you via the Phone, FaceTime, or Messages
    http://howto.cnet.com/8301-11310_39-57602643-285/you-can-block-people-from-conta cting-you-on-ios-7/
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457#19087457
    How to watch FaceTime calls on the big screen with Apple TV
    http://www.imore.com/daily-tip-ios-5-airplay-mirroring-facetime
    Send an iMessage as a Text Message Instead with a Quick Tap & Hold
    http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Text on the iPad
    http://ipad.about.com/od/ipad_tricks/a/How-To-Text-On-The-Ipad.htm
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    How to Receive SMS Messages on an iPad
    http://yourbusiness.azcentral.com/receive-sms-messages-ipad-16776.html
    Apps for Texting http://appadvice.com/appguides/show/apps-for-texting
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • Hi. I get the following message when trying to update or install an application: "impossible to connect to iTunes store". Does anyone know how to fix this? Thanks!

    Hi. I get the following message when trying to update or install an application: "impossible to connect to iTunes store". Does anyone know how to fix this? Thanks!

    Try updating your iTunes using an iTunesSetup.exe (or iTunes64Setup.exe) installer file downloaded from the Apple website:
    http://www.apple.com/itunes/download/

  • TS1702 Does anyone know how to resolve the problem of apps not being able to download in the App Store? After the IOS 6 update I haven't been able to download any apps.

    Does anyone know how to resolve the problem of apps not being able to download in the App Store? After the IOS 6 update I haven't been able to download any apps.

    Maybe here:
    IOS 6 App store crash: Apple Support Communities

  • I keep getting the error message when trying to update iMovie There was an error in the App Store. Please try again later. (20)" Does anyone know how to fix it?

    I keep getting this error message when updating imovie "There was an error in the App Store. Please try again later. (20).  Does anyone know how to fix?

    If you're having problems with the App Store you might try this:
    1 - enable the Debug menu in App Store:
    open the Terminal application.
    copy the command below and paste into the Terminal window:
    defaults write com.apple.appstore ShowDebugMenu -bool true
    followed by Enter.
    launch App Store, login.
    2 - select the Debug ➙ Reset Application option:
    3 - try again.
    OT

  • I don't know of there is anyone than can fix this age old Apple problem.   Does anyone know how to retrieve things under an old Apple ID when the email used for that account no longer exists? I am trying to update a number of apps that was bought under an

    I don't know of there is anyone than can fix this age old Apple problem.   Does anyone know how to retrieve apps under an old Apple ID when the email used for that account no longer exists & I can't remember the password? After speaking with Apple Acct. Security, I got the security Q right but my birthday was wrong! They wanted the serial number from my phone that was 3 iPhones ago! Seriously??!!
    Any updated way to work around this? No Apple people can correct it.
    Thanks,
    Joe

    You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
    (122986)

  • TS2755 Ever since I updated my iphone 4 to 5.1.1, I am not able to send more than one picture at a time in a text message. Does anyone know how to fix this?

    Ever since I updated my iphone 4 to 5.1.1, I am not able to send more than one picture at a time in a text message. Does anyone know how to fix this?

    Yes, I know the photos stored on the device... But which app are you accessing the photos with? Which app do you want to be able to highlight more than one pic at a time in?
    There are literally thosands of apps that access the iOS Photo Library - which one(s) are you using?

  • I updated my iphone to OS 5.0.1 and i can not add events to my iphone calendar- does anyone know how to fix this issue?

    I updated my iphone to OS 5.0.1 and i can not add events to my iphone calendar- does anyone know how to fix this issue?

    I updated today to the 5.0.1 and now when I try to sync to ITunes, it doesn't recognize my phone and an error message comes up saying that "This iPhone cannot be used because the Apple Mobile Device service is not started.'  What does this mean?  Never mind - I found an article in the Support about this very thing!  Thanks!
    Message was edited by: Peytsmom

  • HT4623 I have IPAD 2.  i want to update to a more current version of IOS, but I don't have a "software update" option.  Does anyone know how I should go about updating my ipad.  I bought it in April, 2011.

    I have an IPAD 2 that I purchased two years ago.  I would like to get a more current version of the IOS so that I can download games, etc.  The instructions say to go to General and select Software Download.  I do not have that option listed in my General area.  Does anyone know how I should go about getting the more current IOS?  Also, will the download hurt my IPAD.  I was told it might damage my operating system.  Thank you, Marilyn

    No. The Download is the operating system. It won't damage it because its released by Apple and signed to work on it.
    It will update the Operating system to the newer version.
    In the Article you came from:
    iOS: How to update your iPhone, iPad, or iPod touch
    Scroll down to the section titled: Update your device using iTunes

Maybe you are looking for

  • Example for ALV interactive report

    Do you have any example of interactive ALV report? My requirement is: First I have to display all sales orders on a ALV output. Then if the user clicks on a particular sales order among these, it will go to another ALV output containing the details r

  • How to add one symbol for field in mapping

    Hi Experts, I am doing proxy to file scenario. my requirement is like this, i need to add ~ symbol for each fieldbefore sending to receiver. if the field length eqal to 12 the target field must be like this. if the field is contains 6 characters the

  • Can't empty trash error -8003

    I am trying to empty the trash on my MacBook Pro running OS X 10.6.8. When I try to empty the trash using the "secure empty" button on the trash window (or the menu bar) I get error code -8003. What does this mean and how can I empty the trash?

  • PSCS5 won't associate with .jpg files

    Last night and this morning I installed PSCS5 on both my laptop and desktop after removing PSCS4.  I tried to open a .jpg attachment to an email on my desktop and received a message that it couldn't find an application.  I have tried right-clicking o

  • 'Static' class reloading

    OK - there are no static classses but. . . For a class which provides no way to create an instance of itself, does the class loader ever remove the class from memory? For instance, assume class Foo has a hugh static initializer. No other classes ever