Error Install PHP-CGI ON Centos 5 Not Found

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
ip4ay
Posts: 1
Joined: 2007/07/03 17:35:14
Contact:

Error Install PHP-CGI ON Centos 5 Not Found

Post by ip4ay » 2007/07/03 18:34:04

dear all,

i want confiuration php4 end php 5 on my centos 5

1 configuration php-4

./configure --prefix=/usr/local/php4 --enable-force-cgi-redirect --enable-fastcgi --with-config-file-path=/usr/local/etc/php4/cgi --with-curl --with-curl-dir=/usr/local/lib

2. configuration /etc/httpd/conf.d/php4.conf
DirectoryIndex index.php4 index.php3
#Action php4-script /cgi-bin/php
Action php4-script /usr/local/php/bin/php
AddHandler php4-script .php3 .php4

3 create phpinfo.php4

4 access http://www.rivai.web.id/phpinfo.php4

i have error message with

Not Found

The requested URL /usr/local/php/bin/php/info.php4 was not found on this server.


pls give me suuggest , thank

Post Reply