I had a server running on a windows xp machine using apache2 with php and mysql. I've recently upgraded to windows 7 and have been having trouble getting it to work. Apache works fine and php works, but I can't seem to get it to work with a php.ini file.
When I set PHPIniDir to a directory with a php.ini file, the Apache service does NOT start.
When I set PHPIniDir to a directory with NO php.ini file, the Apache service does start.
When I leave out PHPIniDir, the Apache service does not start.
Has anyone found a fix for this problem? Thanks!
EDIT:
PHPIniDir "C:\Windows" #works (no php.ini file)
PHPIniDir "C:\Program Files (x86)\php\" #does not work (contains php.ini file)
i enable at most one at any given time.