The Apache2 service terminated with service-specific error 1

Trouble during PacsOne Server installations
Post Reply
rbarrs
Posts:6
Joined:Tue Nov 23, 2004 4:54 pm
The Apache2 service terminated with service-specific error 1

Post by rbarrs » Tue Nov 23, 2004 5:05 pm

I have reviewed the forum and it seems my problem is related to the modifying of the httpd.conf and php.ini file, but I cannot figure out the issue. I have been reviewing for hours and am now caught in a tailspin.

The apache server was working.

I modified the httpd.conf and the php.ini and now I get the above message in the event log everytime I try to start the apache server.



I am running php5, pacsone basic, apache 2.0.5 on a windows 2000 computer.

The apache server is installed in c:\program files\apache group\apache2
The php is installed in the same home directory above (I reinstalled here after I could not get it to work in c:\php.
The pacsone software is in c:\program files\pacsone

Here are my lines from the httpd.conf file.

LoadModule php5_module "c:/Program Files/Apache Group/Apache2/php5apache2.dll"



<IfModule mod_mime.c>
TypesConfig conf/mime.types
AddType application/x-tar .tgz
AddType application/x-rar-compressed .rar
<IfModule sapi_apachi.c>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
<IfModule>
<IfModule>



Alias /pacsone/ "c:/Program Files/pacsone/php/"
<Directory "c:/Program Files/pacsone/php">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>


Here are the php.ini edits.


extension_dir="c:\program files\apache group\apache2\ext"

extension_dir="c:\program files\apache group\apache2\ext"

extension=php5_imagick.dll



Any help would be extremely appreciated.

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Re: The Apache2 service terminated with service-specific err

Post by pacsone » Wed Nov 24, 2004 1:36 am

rbarrs wrote:<IfModule mod_mime.c>
TypesConfig conf/mime.types
AddType application/x-tar .tgz
AddType application/x-rar-compressed .rar
<IfModule sapi_apachi.c>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
<IfModule>
<IfModule>
The above section in httpd.conf has the wrong end tags, which should be:

</IfModule>
</IfModule>

You can also check the Apache error log file (error_log) under the logs sub-directory where Apache 2 is installed.

Post Reply