php-general Digest 28 Jul 2012 16:46:50 -0000 Issue 7901

Topics (messages 318584 through 318587):

Re: Mac 10.7 Install/Copy fresh PHP over Pre-Installed PHP
        318584 by: Daniel Fenn
        318585 by: Jason Pruim
        318586 by: Tamara Temple
        318587 by: TR Shaw

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-gene...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
Hi,

In my experience there are 2 ways of installing php, conpile or
download a package for your OS that already been built.

On windows, you can build php or you download a msi/exe file and use
that to install it
Linux, you can use yum or apt-get to install php or you can compile it.

Regarding macs, I'm not too sure on that one, all I know that you can
get php on it.
I know that this won't be much help but just sharing my experience
with getting php installed.

Regards,
Daniel Fenn






On Sat, Jul 28, 2012 at 5:56 AM, JeffPGMT <jeffp...@gmail.com> wrote:
> Please correct me if I'm wrong and IMAP is available (maybe a known config
> issue?)
>
> Mac OSX 10.7, Using the pre-installed Apache & Php, IMAP is not installed,
> pulled out my Apple for this server OS.
>
> $ php -v
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/lib/php/extensions/no-debug-non-zts-20090626/php_imap.dll' -
> dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/php_imap.dll, 9):
> image not found in Unknown on line 0
> PHP 5.3.10 with Suhosin-Patch (cli) (built: Feb 20 2012 22:55:53)
> Copyright (c) 1997-2012 The PHP Group
> Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
>
> Because Mac choose to not include "make" or IMAP (c-client 2007e or f)
> support in the pre-installed PHP...
>
> Can I install PHP into another folder and then copy it over the
> pre-installed location/folder?
>
> As I understand it "Make" requires the developer tools which I'm reluctant
> to install as I'm not IT and this is not a dev box.
>
> So, where can I find a version of PHP that does not require "make" which is
> not included in 10.7 nor to my knowledge 10.8?
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--- End Message ---
--- Begin Message ---
Look for software called mamp. It's independent installs of apache, MySQL, php, 
all for the mac.. They might have it enabled with what you need...

I can tell you though if you can handle writing php code.. Installing with the 
developer tools is a piece of cake :) its not as hard as it sounds.. Lots of 
examples on the net for what need to be put into the command line.


Jason Pruim

On Jul 27, 2012, at 3:56 PM, "JeffPGMT" <jeffp...@gmail.com> wrote:

> Please correct me if I'm wrong and IMAP is available (maybe a known config 
> issue?)
> 
> Mac OSX 10.7, Using the pre-installed Apache & Php, IMAP is not installed, 
> pulled out my Apple for this server OS.
> 
> $ php -v
> PHP Warning:  PHP Startup: Unable to load dynamic library 
> '/usr/lib/php/extensions/no-debug-non-zts-20090626/php_imap.dll' - 
> dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/php_imap.dll, 9): 
> image not found in Unknown on line 0
> PHP 5.3.10 with Suhosin-Patch (cli) (built: Feb 20 2012 22:55:53)
> Copyright (c) 1997-2012 The PHP Group
> Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
> 
> Because Mac choose to not include "make" or IMAP (c-client 2007e or f) 
> support in the pre-installed PHP...
> 
> Can I install PHP into another folder and then copy it over the 
> pre-installed location/folder?
> 
> As I understand it "Make" requires the developer tools which I'm reluctant 
> to install as I'm not IT and this is not a dev box.
> 
> So, where can I find a version of PHP that does not require "make" which is 
> not included in 10.7 nor to my knowledge 10.8? 
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

--- End Message ---
--- Begin Message ---
JeffPGMT <jeffp...@gmail.com> wrote:
> Please correct me if I'm wrong and IMAP is available (maybe a known config 
> issue?)
> 
> Mac OSX 10.7, Using the pre-installed Apache & Php, IMAP is not installed, 
> pulled out my Apple for this server OS.

I don't know if it is, but something below seems very odd to me:

> $ php -v
> PHP Warning:  PHP Startup: Unable to load dynamic library 
> '/usr/lib/php/extensions/no-debug-non-zts-20090626/php_imap.dll' - 
> dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/php_imap.dll, 9): 
> image not found in Unknown on line 0

I might be wrong here on 10.7, as I haven't even migrated off 10.5, but,
I've never seen a .dll file on a mac -- they're windows dynamic link
libraries. I think somehow things are little messed up there...

Someone has suggested installing MAMP, which is a much better solution
in general that what Apple supplies. The issue is knowing which you're
running at any point in time, which for most things, MAMP will handle
correctly. But it may not be the case for command line execution as
you've shown above.

--- End Message ---
--- Begin Message ---
Actually, adding extensions (even normally bundled ones) to the stock Snow 
Leopard PHP is quite easy:

1) Download the source tarball of php and unpack it

2) cd into ext/name_of_the_extension (like ext/intl in your case)

3) run phpize

4) run ./configure with appropriate flags

5) make install

Then you just enable the freshly built .so file in your php.ini and you are 
done. 

On Jul 28, 2012, at 12:25 AM, Tamara Temple wrote:

> JeffPGMT <jeffp...@gmail.com> wrote:
>> Please correct me if I'm wrong and IMAP is available (maybe a known config 
>> issue?)
>> 
>> Mac OSX 10.7, Using the pre-installed Apache & Php, IMAP is not installed, 
>> pulled out my Apple for this server OS.
> 
> I don't know if it is, but something below seems very odd to me:
> 
>> $ php -v
>> PHP Warning:  PHP Startup: Unable to load dynamic library 
>> '/usr/lib/php/extensions/no-debug-non-zts-20090626/php_imap.dll' - 
>> dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/php_imap.dll, 9): 
>> image not found in Unknown on line 0
> 
> I might be wrong here on 10.7, as I haven't even migrated off 10.5, but,
> I've never seen a .dll file on a mac -- they're windows dynamic link
> libraries. I think somehow things are little messed up there...
> 
> Someone has suggested installing MAMP, which is a much better solution
> in general that what Apple supplies. The issue is knowing which you're
> running at any point in time, which for most things, MAMP will handle
> correctly. But it may not be the case for command line execution as
> you've shown above.
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


--- End Message ---

Reply via email to