PHP help!

OSX_MAN

Registered
I am brand new to this Unix stuff. I want to set up PHP on my Mac. I followed the instructions found on Devshep and it does not seem to work. wget fails, so I just downloaded the PHP via my browser. Then I went to the terminal and typed cd / and dragged the folder to the treminal which created the path. Then I "./configure" and then "make". When I make I get alot of permission denied and this at the end

Code:
make[1]: *** [libphp4.la] Error 1
make: *** [all-recursive] Error 1
[localhost:~/Desktop/php-4.0.6] mikefrank%

Please help!!
:confused:
 
PHP is already there in10.1 as far as I know. But if you want to compile it you'll need to either log in as root or use the sudo command.
 
the error is
/usr/bin/ld: -undefined error must be used when -twolevel_namespace is in effect
make[1]: *** [libphp4.la] Erreur 1
make: *** [all-recursive] Erreur 1
I don't have solution for the moment but it seem to be a bug in configure script
 
if you have alredy try to make :
make clean
setenv LDFLAGS -flat_namespace
make
make install

else
./configure --your options
setenv LDFLAGS -flat_namespace
make
make install
 
Back
Top