Hey All -
I'm posting this here in case someone else comes up with this problem (and hopefully I'll get a solution).
I'm having an issue getting PHP and Apache working.
I have a Clean install of Win7.
I have 2 hard drives - so I made one W for Work (had done that anyway), and on it, I created a programming folder - and under there I have the same directory structure as listed in the first post, so it looks like:
Code:
W:\ (Root)
\--programming
--| projects
--| websites
--|--\ sandbox
--|--workspace
--|--\ environment
--|--|--| http-service
--|--|--| language
--|--|--|--\ php
I downloaded php-5.3.3-Win32-VC6-x86.zip file (VC6 Safe Thread). Unzipped it and stuck it in W:\programming\workspace\environments\language\php\5.3.0
Made the 3 changes listed (extension was unremarked and left at "ext", while the other two were listed as W:\Temp\sessions & W:\Temp\uploads.
Tested as listed and got the correct php version.
On to Apache!
For Apache - I downloaded httpd-2.2.16-win32-x86-no_ssl.msi from the site, and installed as directed in the instructions ( under W:\programming\workspace\environment\http-service )
I made the following changes to the httpd.conf file:
Code:
DocumentRoot "W:/programming/websites/sandbox"
<Directory "W:/programming/websites/sandbox">
(changed allowoverride to all)
I Saved - stopped, and restarted the service. All Well. went to http://localhost - It Worked!
Went further and unhashed the 4 items suggested - Stopped and Restarted - All Well.
Here is where I have problems.
Added the following:
Code:
LoadModule php5_module "W:\programming\workspace\enviroment\language\php\5.3.0\php5apache2_2.dll"
PHPIniDir "W:\programming\workspace\enviroment\language\php\5.3.0"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
So the example - only modified by adding the "programming" directory to the front - and when I stop and restart - I get "The Requested Operation has failed" error when the apache server tries to restart.
If I comment out the 4 new lines and re-save - then it restarts - so its not liking something with php, and I'm at a loss to figure out what!
Any ideas/help on this?
TIA
DK
Bookmarks