Apache can't be restarted after changes to the configuration file
Posted
by
Sharifhs
on Server Fault
See other posts from Server Fault
or by Sharifhs
Published on 2010-08-19T17:35:53Z
Indexed on
2011/02/18
15:27 UTC
Read the original article
Hit count: 316
Hello, I can't successfully configure the apache and php configuration files, can anybody help me in this way?
Apache 2.2.16 (win32-x86-no_ssl.msi) was installed into “C:\Apache2.2 “location.
Then PHP 5.3.3 (VC9 x86 Thread Safe) zip file was downloaded and extracted on “C:\php” location.
From “C:\php” I renamed the “php.ini-development” file into “php.ini”
“php.ini” file was opened with notepad, and modified as:
doc_root = "C:\Apache2.2\htdocs" extension_dir = "C:\php\ext"
The following lines were added to the Apache's configuration file “httpd.conf”:
LoadModule php5_module "C:/php/php5apache2_2.dll" AddType application/x-httpd-php .php PHPIniDir "C:/php"
N.B.: Thanks all for comments and answer, but I can't reply none your comments, I don't know why. May be I'm not privileged to put any comment as I'm new here (is it the case?)! That's why I'm to edit my post to reply you all. Tell me what can I do?
@ jer.salamon: do you want me to post full httpd.conf file? It'll be longer then!
@ davr: the server started first, but when I configured those files, its never started again
@jer.salamon: did you mean keeping this way:
doc_root =
extension_dir = "ext"
It not yet restared!
© Server Fault or respective owner