Win7; 64bit; Apache/2.2.25 (Win32); PHP/5.3.28; mysql-workbench; PHPmyadmin; Drupal; Not using drupal in this case. Only HTML and PHP. Going from HTDOCS in Apache. Index.html in the HTDOCS directory does show the "IT WORKS" test. Can also do the PHPinfo.php from HTDOCs Directory. The app I am trying to run is in the HTDOCs directory inside a subdirectory, in this case, A or B.
PROBLEM: 1st case (Directory A - with only PHP and HTML web pages) PHP works in HTML when I start the app and click on an option and click on the Submit button which is strictly HTML then passes thru a complete PHP program which in turn call a HTML-PHP webpage. If I don't do this PHP does not work and I only get the section of the code on the screen in between the HTML. If I tried to start PHP by itself I only get to see the code if it comes from HTML web page. If try to run on its own I get a blank page like when there are errors in PHP.
2nd case (Directory B - same app but different Directory with drupal stuff) is that I do not get anything but a blank page. I start the app with the HTML web page and do click over an option and click the submit button but only get a blank page like when I have errors in PHP. I believe there are no errors b/c it exactly the same code.
I been researching this for a couple of days and found and tried the following but it did not help or maybe I used them incorrectly.
A: directory - my lastest attempt was to remove everything that was neede and left the HTML and PHP web pages.
B: put an empty .htaccess file in Directory B and tried the following lines. By what I understand if the .htaccess is in the same folder than it takes priority over the original .htaccess which I do not know where it resides. Some of these I found in this forum (felgall:Stephen J Chapman).
THIS THE ORIGINAL LINE #AddType application/x-httpd-php .php .html
I tried them as other persons said to do it and then I tried them all at the same time.
RemoveHandler .html .htm
AddType application/x-httpd-php .php .php4 .php3 .phtml .html .htm .shtml
AddHandler application/x-httpd-php5 .html .htm .shtml
AddType application/x-httpd-php-source .phps
AddType text/html .shtml
AddHandler server-parsed .html
AddHandler server-parsed .shtml
AddHandler php-cgi .html .htm .php
Options Indexes FollowSymLinks Includes
Any help will be greatly appreciated.