Apache2 server fails to load

I’ve installed BeOS webserver kit on the fresh built Haiku. The try to load ‘httpd’ resulted in an error message saying there’s no libphp4.so file. I tried ‘tail /var/log/syslog’ and got a correct error message ‘runtime_loader: cannot open file APP’.

With help from Urias McCullough we found a mailing list thread connected to APP:

As far as I understood, the solution proposed in this thread is not acceptable in my case when httpd trys to load libphp4.so and libcgi.so, both requre APP lib.

Does anyone have a general case solution?