I am having a problem with my php setup bein able to see the apache server or vise versa
1 I copied all dlls, MSVCRT.dll and PHP4TS.dll to the system32 folder
2 I copied the php.ini-dist and saved it to system32 folder.
3 edited extension_dir to point to C:\WINDOWS\system32 and doc_root to point to C:\Program Files\Apache Group\Apache\htdocs in the php.ini file.
4 Uncommented the extension=php_*.dll to load the modules
5 now with the httpd.conf file i did teh following:
ScriptAlias /php/ "C:/php/"
AddType application/x-tar .tgz
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php .html
AddType application/x-httpd-php .htm
Action application/x-http-php "/php/php.exe"
restarted the server created the test.php file to see if i got that info page but i just get the all too familiar
Page Cannot be displayed
Installation Help
Moderator: General Moderators
You mentioned that you copied the php.ini-dist file to the system32 directory. Did you in the mean time rename that to php.ini?
Also, are you putting your script in C:/php/ where your script alias is pointing to? This path should be where you locate your files to be executed. However...you don't need to point the ScriptAlias to anything for this purpose, because the AddType for extension .php should inform the server to server-side parse the file. This would allow you to put your test script in the document root. It should get handled appropriately...
HTH!
Matt
Also, are you putting your script in C:/php/ where your script alias is pointing to? This path should be where you locate your files to be executed. However...you don't need to point the ScriptAlias to anything for this purpose, because the AddType for extension .php should inform the server to server-side parse the file. This would allow you to put your test script in the document root. It should get handled appropriately...
HTH!
Matt