Hello to all,

I am new to php, just know enough to install and do some programming
interface to it.  I have a system running RedHat Linux 7.2 with PHP4.2.2-7.
I installed following red hat instruction as a cgi-bin, instead of apache.
I have done this with a 7.3 install on another system and no problem.  My
server root directory is /var/www/html.  When I create a test.php file and
go to a browser and type something like  http://192.168.0.101/test.php, I
get an error 404.  When I check the /var/log/httpd/error_log file, I see an
error like    File does not exist :
/var/www/html/usr/local/php4/bin/php/test.php.  I am not sure where the
extra usr/local/php4/bin/php is coming from, outside of the fact that it is
my --prefix on install.  Once again , I have done this on 7.3 kernels and
have no problem whatsoever.  I also do an rpm -q php and it tells me the
package is not installed although from the command line I can redirect
commands through php and all of my directories, include, libraries, etc are
there.

So I am not sure where to go from here, I am familiar with httpd.conf and
php.ini file, those seem to be configured OK, compared to other systems.

Any help would greatly be appreciated.


Thanks in advance,

Chris Golden





Reply via email to