Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Compile Problems   » PHP 5.0.0b1

UBBFriend: Email this page to someone!    
Author Topic: PHP 5.0.0b1
<admirald>
unregistered

posted July 15, 2003 05:48 PM           Edit/Delete Post  Reply With Quote 
I'm trying to get PHP 5.0.0b1 running under Mac OS X 10.2.6 / Apache 2.0.46. I have compiled and installed PHP 4.3.3RC1 successfully.

Oddly, the problem doesn't seem to be in getting it to compile at all. I had to downgrade autoconf to 2.13 to get it to compile right.

I compiled it as so:

code:

su root
./configure --with-mysql --with-apxs=/Library/Apache2/bin/apxs --without-dom
make
make install

Few errors I got:

During 'make': ld: warning dynamic shared library: /sw/lib/libiconv.dylib not made a weak library in output with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1

During 'make install': Warning! dlname not found in /Library/Apache2/modules/libphp5.so.

But neither of these were show-stopping, and libphp5.so built.

I went into my httpd.conf file, and added: 'LoadModule php5_module modules/libphp5.so', while disabling 'LoadModule php4_module modules/libphp4.so'.

The probelm is, when I start apache, I get this error:

code:

[root@xanadu:/Library/apache2/bin] # > ./apachectl -k start
./apachectl: line 87: 10738 Trace/BPT trap $HTTPD $ARGV

Any ideas?


IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2