S
S
Sergey2014-06-16 22:14:41
PHP
Sergey, 2014-06-16 22:14:41

How to screw PHP 5.5.13 to Apache 2.2.25?

Good afternoon. I've been trying to attach php to Apache for two hours already.
I do everything as in numerous tutorials, I tried it this way and that - Apache does not start even if you crack.
PHP is delivered normally, reacts to php -v.
Apache without an entry in httpd.conf also starts with a bang. But it's worth adding an entry about PHP there - that's it, requested operation has failed.
I write the following in httpd.conf:

# 
LoadModule php5_module 'C:/php/php5apache2_4.dll'
AddHandler application/x-httpd-php .php

# configure the path to php.ini
PHPIniDir 'C:/php'

The file C:/php/php5apache2_4.dll exists.
I tried to register it as an extension in php.ini with copying to the ext folder - it did not help.
Tried to write not AddHandler , but AddType - didn't help.
Quotes put and such, and such - did not help.
Everything is downloaded from the official sites of the creators.
Anger is not enough...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question