Angelene and all-
This by far was the most hopeful realistic thread. I think I've tried every combination of different versions in either the CGI or module options.
I've spent 25+ hours trying to get PHP to work with Apache 1.3 from various materials (nushpere CDs and instructions, kevin yank book/instructions, php/mySQL for dummies CDs and instructions, actual web site download and instructions, and forum emails). Yet, these "open source" tools arent getting me anywhere close to the end objective. As of now, Conclusion is that PHP SEEMS TO BE THE PROBLEM CHILD not wanting to play.
I've tried Aarons outline....not work for me yet, but provided some option ideas.
I have XP. Currently Apache 2.0 working and MySQL version 3.2.3. No scripts run...either as partial html or html and php. Although, scripts ran under apache 1.3 just not executed php portion.
I do get the Apache "successful" web page when run local host in I.E. browser. HOwever, now does not recognize any *.php scripts within the defined directory....C:apache group/apache/htdocs. However, under 1.3 version it did without a hitch - would run the .html portion but not the .php portion. Now, does neither.
- I deinstalled all previous evidence of PHP 4.1.1 and Apache 1.3.
- I downloaded the Apache 2.0.? Binary File .exe and installed, since I have XP.
- Had some intial errors of sharing port info....I uncommented the line that references an IP address above line "port 80". That worked. But, then later had to undo.
- Added the 2 lines
LoadModule php4_module c:/php/sapi/php4apache2.dll
AddType application/x-httpd-php .php
- Downloaded the 2 PHP files: win32 zip package and the installer package (someone said together in the thread). Unzipped the package then ran the installer package. Earlier tried each individually, but seemed incomplete when alone.
- Edited the php.ini to update the doc root to apache/htdocs and to update extension_dir to c:php/extension.
- Also, copied the php4ts.dll to the system32, windows, php and sapi directories. Threads seem to have success in one of these so I put in all. Did the same for the php4apache2.dll file.
- Apache didnt work at all with both httpd.conf and php.ini changed.
- Went back to initial download version (virgin file).
- Apache is only working now. Have readded the LoadModule and AddType application lines...apache still working. Have copied the PHP 4.3 DEV version files of php4apache.dll, php4apache2.dll and php4ts.dll to following folders system32, windows, php, sapi. Have not yet tweeked the php.ini file again.
This in plans for future troubleshooting.
I dont know if this makes sense or helps anyone....3am where I am and long few days.
please keep suggestions or final solutions to situation coming.
aka Tessa
This should not be this difficult.