Hello, help, please, with setting Apache 2.0.64 и PHP 5.2.17 Here is how I set up:

htaccess :

 Options Indexes FollowSymLinksDirectoryIndex index.php 

httpd.conf :

 LoadModule php5_module "C:/php5/php5apache2.dll" - когда подключаю не пашет Апач, когда AddType application/x-httpd-php .php 

Turning off - works.
I look forward to hearing, thank you very much.

  • Please format the text of the question correctly, and then some kind of porridge turns out ... Try to put [XAMPP] [1] [1]: en.wikipedia.org/wiki/XAMPP - Zerglyn 1

1 answer 1

I recommend, at least occasionally, to read the documentation: how to fasten 5 PHP to the second Apache in intall.txt is written in detail.

I give the summary:

  • Forget about htaccess and write DirectoryIndex in httpd.conf (in the "Main server config" part)

<IfModule dir_module>

DirectoryIndex index.html index.php

</IfModule>

  • Write all the required directives for PHP

PHPIniDir "C:/php5/"

LoadModule php5_module "C:/php5/php5apache2.dll"

AddType application/x-httpd-php phtml php