17 dec 2007 kl. 12.03 skrev Jochem Maas:
Frank Arensmeier schreef:
hi guys (& girls),
any Mac heads about? I have a MacBook Pro in front of me ...
super cool,
it even comes with apache & php installed as standard. nice.
only thing is php is not compiled with with all the extensions I
need,
the
question is what is the *correct* way to update/recompile the
standard
installed
copy of php on a Mac? I quite comfortable with compiling/installing
[mulitple]
custom apache+php installs on a linux server but I'd like to keep
this
Mac as
clean as possible if I can.
If any one has recommendations I love to here from you :-)
in the mean time I'll keep hunting
rgds,
Jochem
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Why not do it the "Mac-way"?
I've had this Mac for about 5 minutes - it's my first one ... I'm
not yet
upto speed on the "Mac-way" :-) ... heck I've even figured out what
the key
above the TAB key is (I was used to having a backtick/tilde there
and it took
me longer than I care to admit to figure out that key lies next to
the SHIFT key.
http://www.entropy.ch/software/macosx/php/
Download the latest package and make a custom install.
ok let's assume I know exactly what a 'custom install' is in
MacWorld (I don't ;-))
and let's assume I install this 'custom install' what happens to
the standard php
install - I'd rahter not have 2 php builds installed to start with
(especially if
it's because my lack of knowledge means I don't know how to
'correctly' remove the
original, standard installation.
anyway thanks for the hint so far ... Im off to investigate.
Uninstalling the pre-installed PHP module shouldn't be that hard. The
PHP CLI is located under /usr/bin (at least under Tiger, not sure if
this location was changed under Leopard). The Apache module is
located under /usr/libexec/httpd
When you install PHP5 with the package from entropy.ch, the new PHP5
will install under /usr/local/php5. Just download the package to the
desktop and double click. This opens the "Installer" application
within the Utilities folder - the install process should be self-
explaining. Somewhere in the install process, you will see a button
labeled "Custom install". All necessary configuration of Apache will
be done automatically.
You might check if /usr/local and /usr/local/php5/bin is stored in
your PATH environment.
I mean, it is possible to compile PHP from scratch, but it's not that
easy. See for example here: http://blog.phpdoc.info/archives/83-
php-5.2.5-on-Leopard.html
You might check out MAMP as well http://sourceforge.net/projects/mamp
I think there are
40/50 PHP extensions included. Just pick what you want.
I'll have the blond ;-)
Sorry, already taken...
//frank
ps. merry christmas ds.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php