By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,081 Members | 861 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,081 IT Pros & Developers. It's quick & easy.

libphp4.so with --enable-sockets

P: n/a
Hello,

I'm using Suse 8.2 out of the box including Apache and PHP. Everthing runs
fine including Apache and PHP.

Now, I want to develop a PHP programing including TCP sockets. This part is
experimental in PHP and not available in the PHP version which comes with
Suse 8.2. During configuration I need the --with-sockets argument.

After downloading the source code of PHP I can use sockets connection in my
program when it runs from the command line. So far, so good.

Now I have to compile the PHP source code for apache (it must generate the
libphp4.so). I added the --with-apxs="path to source apache" argument when
executing the configure script.

After a while it stops with the message : "apxs:Error: @sbindir@/httpd not
found or not executable" The apsx cannot find the httpd executable because
the prefix directory is @sbindir@. It must be /usr/sbin/. When looking into
apsx (perl script) it looks like that all variable are not set.

To solve this i have the following options
1) Does someone have a download location where I can sownload the libphp4.so
for Suse 8.2 with the option --with-sockets
2) Does someone know how to solve the build problem.

Many thanks in advance

Richard
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.