ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Introduction to Socket Programming with PHP
Subject:   Re: unable to run this script
Date:   2003-01-29 02:51:12
From:   dsolin
Response to: Re: unable to run this script

Hi again,

Did you compile and install PHP from source? If so, recompile it but this time run the configure-script without the --with-apxs switch:

cd <php-src-dir>
./configure --prefix=/usr/local

This should generate a php binary (a file called 'php') in your <php-src-dir>. Simply copy this file to /usr/local/bin:

cp php /usr/local/bin

If you installed PHP from a binary package, try to find a CGI-version of the package, and install that one. What Linux distribution do you use?