Hello! I try to run php4 as cgi and php5 as module on Apache 2.2 on my Debian. But i get error message on test php4: "The requested URL /usr/lib/cgi-bin/php4/info.php4 was not found on this server." Action Directive doesn't work. Do you have any suggestion?
Did you add this to your Apache configuration? Code: AddHandler php-script .php4 Action php-script /cgi-bin/php4 Where's info.php4 located?
Yes, I followed instructions of the article from this site. DirectoryIndex, AddHandler, Action lines are added to /etc/apache2/apache2.conf. These modules are enabled: actions, ssl, rewrite, suexec, include. The php5 works properly. Looks like Action Directive doesn't work. It wants to run /usr/lib/cgi-bin/php4/info.php4 not /usr/lib/cgi-bin/php4.