It gives this error

Not Found

The requested URL /php_dir/php-cgi.exe/index.php was not found on this server.

  • set up as a module and do not fool yourself :) - Zowie
  • But in more detail, which module? - Edward1 September

1 answer 1

you open the httpd.conf file, and somewhere at the very bottom you register:

 LoadModule php5_module "C:/php5/php5apache.dll" AddType application/x-httpd-php .php 

Note: for Apache 1.3, connect php5apache.dll. Apache 2.0 - php5apache2.dll. Apache 2.2 - php5apache2_2.dll.

then restart the server and the trick is done. php installed as apache module