Apache - PHP problem

From: Date: Sat, 26 Apr 2003 06:38:40 +0000
Subject: Apache - PHP problem
Groups: php.install 
Request: Send a blank email to php-install+get-10718@lists.php.net to get a copy of this message
I am running Apache 1.3.27 on Win2K SP3. I have installed PHP 4.3.1-win32. Apache is not parsing the php files. I have tried for 2 days to find the problem. If I run php phpinfo.php from the command line I get a valid html output file. So php is running correctly as far as I can see. I am trying to run php as a module. Here are the key lines from my http.config file:- ServerType standalone ServerRoot "C:/Program Files/Apache Group/Apache" PidFile logs/httpd.pid ScoreBoardFile logs/apache_runtime_status Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 MaxRequestsPerChild 0 ThreadsPerChild 50 LoadModule php4_module c:/php/php4apache.dll LoadFile "c:/php/php4ts.dll" #AddModule mod_vhost_alias.c AddModule mod_env.c AddModule mod_log_config.c #AddModule mod_mime_magic.c AddModule mod_mime.c AddModule mod_negotiation.c #AddModule mod_status.c #AddModule mod_info.c AddModule mod_include.c AddModule mod_autoindex.c AddModule mod_dir.c AddModule mod_isapi.c AddModule mod_cgi.c AddModule mod_asis.c AddModule mod_imap.c AddModule mod_actions.c #AddModule mod_speling.c AddModule mod_userdir.c AddModule mod_alias.c #AddModule mod_rewrite.c AddModule mod_access.c AddModule mod_auth.c #AddModule mod_auth_anon.c #AddModule mod_auth_dbm.c #AddModule mod_auth_digest.c #AddModule mod_digest.c #AddModule mod_proxy.c #AddModule mod_cern_meta.c #AddModule mod_expires.c #AddModule mod_headers.c #AddModule mod_usertrack.c #AddModule mod_unique_id.c AddModule mod_so.c AddModule mod_setenvif.c AddModule mod_php4.c #AddModule mod_perl.c #AddModule mod_ssl.c # Port 80 ServerAdmin djmeyer@hinet.net.au ServerName DavidM DocumentRoot "C:/Apache/htdocs" <Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory> <Directory "C:/Apache/htdocs">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
    AddType application/x-httpd-php .php
Any help would be much appreciated. David Meyer

« previous php.install (#10718) next »