Ok, looks like you have some syntax error in
/etc/apache2/conf.d/mod_php4.conf. Can you post that file?

Secondly you can move that file to somewhere else and try  bringing  up
Apache. Apache as configured here seems to look for virtual hosts under
the /etc/apache2/conf.d directory. This is what I see in
/etc/apache2/httpd.conf. Perhaps you are trying to run with the example
config that is not set up yet.

# /etc/apache2/
#  |-- conf.d/
#  |   |-- apache2-manual.conf . . . . . . .  conf that comes with
apache2-doc
#  |   |-- mod_php4.conf . . . . . . . . . .  (example) conf that comes
with apa
che2-mod_php4
#  |   `-- ... . . . . . . . . . . . . . . .  other configuration added by
packa
ges
__________________________________________
Ranga Nathan / CSG
Systems Programmer - Specialist; Technical Services;
BAX Global Inc. Irvine-California
Tel: 714-442-7591   Fax: 714-442-2840




"Campbell, Breck" <[EMAIL PROTECTED]>

Sent by: Linux on 390 Port <[email protected]>
06/14/2005 08:46 AM
Please respond to
Linux on 390 Port <[email protected]>


To
[email protected]
cc

Subject
Re: Apache2 php4 problem






Since we last talked we have made some progress, unfortunately it has been
of the two-steps-back variety.
Now, when we reboot the LINUX environment we get the following errors that
we haven't been able to resolve:
                 Starting httpd2  (prefork)  Syntax error on line 1 of
/etc/apache2/conf.d/mod_php4.conf:
                 Invalid command 'php4", perhaps mis-spelled or defined by
a module
no included in the server
                 configuration

                 The command line was:
                 /usr/sbin/http2-prefork -f /etc/apache2/httpd.conf

In the end neither apache2 nor php4 come up anymore.

We tried to go back to the base by un installing both apache2 and pfp4 via
YAST, but for some reason YAST doesn't seem to unload all the files and
the
problems persist?

No sabe nada!

>  -----Original Message-----
> From:                  Campbell, Breck
> Sent:          Friday, June 10, 2005 3:32 PM
> To:            LINUX-390 List (E-mail)
> Cc:            Campbell, Breck; Doten, Fred; Spence, Jan; Storti, Jack;
Tougas,
> Susan
> Subject:               Apache2 php4 problem
>
> Hi All,
>
> We have just installed SuSE SLES9 under VM and are trying to get the
LAMP
> environment up, but are having trouble getting php4 to load with
Apache2.
> We have noticed that Apache2 doesn't bring up PHP4:
>
> Starting httpd2 (prefork) ..done
>
> On SLES8, when Apache1.3 comes up, we see the following:
>
> Starting httpd ( Mailman PERL PHP4 Python) ..done
>
> Our manuals seem to say that we can't use the SLES8 form of the httpd
> start with "prefork".  Apache2 seems to start but we can't find anything
> in the various error logs to point us on our way and the php4 test
script
> just stalls.
>
> Any suggestions?
>
> Breck Campbell
> Systems Developer II
> 133 State Street
> Montpelier, VT 05633-6601
> Telephone (802) 828-4692
> E-mail [EMAIL PROTECTED]
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to