First, drop into a DOS Box in the Apache directory and enter...

     apache -t

This should test the conf file and tell you if there are any issues.

To solve my php/Apache interface issues I ended up not modifing my
httpd.conf file beyond adding this at the end of the file...

    # Include other conf files, any and all..
    include conf.d/*.conf

And in that directory I have a php.conf file.

And in that file I have ths configuration setup [see below]...

Modify the paths I have to match where you have these files and you should
be ducky.

If you have any questions or concerns about this, I'll help as I can.

Walter


===========================================================

#
# Adding PHP integration
#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#
# Un*x version
# LoadModule php4_module modules/libphp4.so

# WARNING: This is not the installation paths stated in the
#          offical PHP.net installation instructions
#          I changed them to macth my attitude about Windows
#          all the apps I have runing that originaled in the
#          UNIX have paths closely mimicing the UNIX structure.
#          After severl yeasrs of doing this, I had had ZERO
#          issues with it.
#          But that's me, your milage may vary.

# Windows Win32 version
LoadFile "/etc/php/gnu_gettext.dll"
LoadModule php4_module "/etc/php/sapi/php4apache2.dll"
Action application/x-httpd-php "/etc/php/php.exe"
ScriptAlias /php/ "/etc/php/"
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps

#
# Cause the PHP interpreter handle files with a .php extension.
#
<Files *.php>
   SetOutputFilter PHP
   SetInputFilter PHP
   LimitRequestBody 524288
</Files>
#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php

# eof




-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to