Re: [PHP] re-compiling PHP on Mac OS X

2008-01-23 Thread mbneto
Hi,

I've checked all pages and downloaded the php5.2.5.release1.tar.gz (the
latest I found) but I get the same errors

httpd: Syntax error on line 484 of /private/etc/apache2/httpd.conf: Syntax
error on line 8 of /private/etc/apache2/other/entropy-php.conf: Cannot load
/usr/local/php5/libphp5.so into server: dlopen(/usr/local/php5/libphp5.so,
10): Symbol not found: _xmlTextReaderSchemaValidate\n  Referenced from:
/usr/local/php5/libphp5.so\n  Expected in: /usr/lib/libxml2.2.dylib\n

Does anyone have a working .dmg/.tar.gz for 10.5.1 Mac Intel with PDO/Mysql
working?

-thanks.

On Dec 17, 2007 1:23 PM, David Powers [EMAIL PROTECTED] wrote:

 Frank Arensmeier wrote:
  When you install PHP5 with the package from entropy.ch, the new PHP5
  will install under /usr/local/php5.

 The Mac package from entropy.ch is not compatible with Leopard (Mac OS X
 10.5). Marc Liyanage is working on a Leopard-compatible version. Check
 the forum on his site for the latest details. There's an extremely long
 thread about PHP on Leopard. A command line installation is somewhere
 around page 15 of the thread.

 --
 David Powers

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] re-compiling PHP on Mac OS X

2008-01-23 Thread Greg Donald
On 1/23/08, mbneto [EMAIL PROTECTED] wrote:
 Hi,

 I've checked all pages and downloaded the php5.2.5.release1.tar.gz (the
 latest I found) but I get the same errors

 httpd: Syntax error on line 484 of /private/etc/apache2/httpd.conf: Syntax
 error on line 8 of /private/etc/apache2/other/entropy-php.conf: Cannot load
 /usr/local/php5/libphp5.so into server: dlopen(/usr/local/php5/libphp5.so,
 10): Symbol not found: _xmlTextReaderSchemaValidate\n  Referenced from:
 /usr/local/php5/libphp5.so\n  Expected in: /usr/lib/libxml2.2.dylib\n

 Does anyone have a working .dmg/.tar.gz for 10.5.1 Mac Intel with PDO/Mysql
 working?

Your existing Entropy PHP install is tring to load things your newly
compiled PHP doesn't have support for.  Either use Entropy or clean it
out completely so it doesn't mess with your new version.  Or a third
option, supply the missing dependencies Entropy wants.  You will find
most all of them in Macports.  `port search xml|grep lib` shows a lot
of results.

Here's how I built mine the day I blog'd it:

http://destiney.com/blog/php-4-5-macos-x


-- 
Greg Donald
http://destiney.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] re-compiling PHP on Mac OS X

2007-12-17 Thread Frank Arensmeier

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?
http://www.entropy.ch/software/macosx/php/

Download the latest package and make a custom install. I think there  
are 40/50 PHP extensions included. Just pick what you want.


//frank

ps. merry christmas ds.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] re-compiling PHP on Mac OS X

2007-12-17 Thread 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.

 I think there are
 40/50 PHP extensions included. Just pick what you want.

I'll have the blond ;-)

 
 //frank
 
 ps. merry christmas ds.
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] re-compiling PHP on Mac OS X

2007-12-17 Thread Frank Arensmeier

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



Re: [PHP] re-compiling PHP on Mac OS X

2007-12-17 Thread Jason Pruim


On Dec 17, 2007, at 6:47 AM, Frank Arensmeier wrote:


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.


Just opened up terminal on my Leopard iMac G5 and found out that PHP  
is located in: /usr/bin/php and apache is located in: /usr/sbin/httpd


I haven't done it on leopard because my server is still on tiger  
(Stupid fiscal money issues!) but the installer from entropy  
downloaded and installed like a charm and I don't know much about the  
CLI YET :) Born and raised on Macs so I never needed to know alot of  
CLI stuff...






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




--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424
www.raoset.com
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] re-compiling PHP on Mac OS X

2007-12-17 Thread David Powers

Frank Arensmeier wrote:
When you install PHP5 with the package from entropy.ch, the new PHP5 
will install under /usr/local/php5.


The Mac package from entropy.ch is not compatible with Leopard (Mac OS X 
10.5). Marc Liyanage is working on a Leopard-compatible version. Check 
the forum on his site for the latest details. There's an extremely long 
thread about PHP on Leopard. A command line installation is somewhere 
around page 15 of the thread.


--
David Powers

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] re-compiling PHP on Mac OS X

2007-12-17 Thread Frank Arensmeier

17 dec 2007 kl. 18.23 skrev David Powers:


Frank Arensmeier wrote:
When you install PHP5 with the package from entropy.ch, the new  
PHP5 will install under /usr/local/php5.


The Mac package from entropy.ch is not compatible with Leopard (Mac  
OS X 10.5). Marc Liyanage is working on a Leopard-compatible  
version. Check the forum on his site for the latest details.  
There's an extremely long thread about PHP on Leopard. A command  
line installation is somewhere around page 15 of the thread.


Thanks for the information! As a matter of fact, although I already  
have a Leopard DVD, I haven't updated my development machine yet. My  
impression of Leopard (installed on my iMac at home) is that the OS  
still is somewhat unstable. I'll wait for 10.5.2 / 10.5.3


//frank



--
David Powers

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php