I have been unable to get Apache to render PHP forms.  When opening a simple php test 
template the PHP code is displayed as text in the browser.  Does anyone have any other 
suggestions?

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

The installation text document with PHP has the following description which 
seems to be happening here but no solutions are provided:

" For test purposes it is best to use just a simple test script. One
  containing just the following line will suffice:
  <?php phpinfo();?>

  You have installed PHP, but when try to access a php script file via your
  browser, you get a blank screen:

   Do a 'view source' in the web browser and you will probably find that you
   can see the source code of your php script. This means that the web server
   did not send the script to php for interpretation. Something is wrong with
   the server configuration - double check the server configuration against
   the php installation instructions."

I have double checked the configuration files and find no problems.  

CONFIGURATION:
The following are the latest versions of each package 
Running Windows 2000(5), Apache 2.0.48, PHP 4.3.4

SOFTWARE DIRECTORIES:
c:/php-4.3.4-Win32/
C:/Program Files/Apache Group/Apache2/

MODULES COPIED:
dlls to  winnt/system32
php4ts.dll to  winnt/system32


CHANGES MADE TO PHP.INI (In WINNT folder):
extension_dir = "c:\php-4.3.4-Win32"

CHANGES MADE TO HTTPD.CONF:

LoadModule php4_module c:/php-4.3.4-Win32/sapi/php4apache2.dll
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
ScriptAlias /php/ "c:/php-4.3.4-Win32/"

Reply via email to