PHP 5.0.0b1

Find out how to get that @*&^$&@ thing to compile!

PHP 5.0.0b1

Postby <admirald> » Wed Jul 16, 2003 12:48 am

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:

<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>
su root
./configure --with-mysql --with-apxs=/Library/Apache2/bin/apxs --without-dom
make
make install
</pre>[/quote]

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:

<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>
[root@xanadu:/Library/apache2/bin] # > ./apachectl -k start
./apachectl: line 87: 10738 Trace/BPT trap $HTTPD $ARGV
</pre>[/quote]

Any ideas?
<admirald>
 

Return to Compile Problems

Who is online

Users browsing this forum: No registered users and 2 guests

cron