Hello everyone,

 I am new to this list. I am also new to php. this is the error I am getting
below.

# /etc/rc.d/init.d/httpd start
Shutting down http: [  OK  ]
Starting httpd: Processing config directory: /etc/httpd/conf/vhosts/normal
Processing config directory: /etc/httpd/conf/vhosts/ssl
Syntax error on line 14 of /etc/httpd/conf/httpd.include:
Invalid command 'php_admin_flag', perhaps mis-spelled or defined by a module
not included in the server configuration
[FAILED]

this started after we upgraded apache and PHP. We had no errors during the
upgrade. below is a work around I found for the httpd.include. If I put a #
in front of the php_admin_flag engine off then apache starts and runs fine
,but PHP does not work.

<Directory "/home/httpd/vhosts">
        AllowOverride All
        Options SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
        #php_admin_flag engine off

We have our hosting from interland. we are using one of the IBM with DI 7.2
with the following installed.

httpd -v
Server version: Apache/1.3.27 (Unix)  (Red-Hat/Linux)
Server built:   Oct 23 2002 11:00:07

php -v
PHP 4.3.3 (cli) (built: Sep  4 2003 11:48:59)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies

I have done the php -i with no errors. I have read everything on the web
about the errors above. none of those fixes worked for me. I could some help
on this one. One thing that is weird is that apache shows the correct
version but shows the wrong date. please send me an email if I left
something out.

thanks for the help in advanced
Race Dendy
[EMAIL PROTECTED]

Reply via email to