On Sat, 30 Nov 2002 18:49:57 -0800, Bill Kirk wrote: > I was wondering if anyone could tell me > how (maybe even step-by-step) you got PHP installed to run (I'm using a > windows 98 machine to test with) with Sambar, and what I could use as a test > to check it out?
To check out if PHP works, first try it out with the command line executable PHP-CLI.EXE; create a little text file, call it "phpinfo.php" with only one line in it: "<? phpinfo() ?>, and type this filename as parameter. Next, check both the Sambar MAPPINGS.INI if under [ISAPI] the correct path to the php4isapi.dll is configured (in case you want to run PHP as ISAPI, as I do, and not as CGI). You also need the PHP.INI in the windows directory, and you will have to modify the "include_path" and "extension_dir" parameters. BTW, since this parameter is close by, I would disable "file_uploads", for security reasons. Now you should be ready to test PHP in your browser. Copy your first PHP-Program (the "phpinfo.php" described earlier) into the DOCS directory of your Sambar server, and call it with your browser. You should get a nice formatted output with lots of information about your installation. It may be necessary to restart the server to make it reread the MAPPINGS.INI. BTW, this mailing list is the proper place for such questions, the other where you posted your question deals with development of the Sambar server. Yours, L�ko Willms ----------------------------------------------- Frankfurt/Main ------------------------------------------------------- To unsubscribe please go to http://www.sambar.ch/list/
