23. april 2001 - 20:00Der er
16 kommentarer og 1 løsning
PHP server!!
Hej jeg har windows 2000, kan m,an gøre sådan at jeg kan se om mine php scripts virker nede på computere - så jeg ikke behøves være online hele tiden? Og hvordan?
I den mappe hvor du har instaleret php der ligger en readme fil hvor i der står hvordan du får php til at virke med iis5
- Install the DLLs as mentioned above. - If you wish to change any defaults, copy either the php.ini-dist or php.ini-optimized files into your Windows directory, and rename it to \'php.ini\'. You can then modify any of the directives inside it. - Start the Microsoft Management Console (may appear as \'Internet Services Manager\', either in your Windows NT 4.0 Option Pack branch or the Control Panel->Administrative Tools under Windows 2000). - Right click on your Web server node (will most probably appear as \'Default Web Server\'), and select \'Properties\'. - If you don\'t want to perform HTTP Authentication using PHP, you can (and should) skip this step. Under \'ISAPI Filters\', add a new ISAPI filter. Use \'PHP\' as the filter name, and supply a path to the php4isapi.dll that is included in the distribution. - Under \'Home Directory\', click on the \'Configuration\' button. Add a new entry to the Application Mappings; Use the path the php4isapi.dll as the Executable, supply .php as the extension, leave \'Method exclusions\', blank, and check the Script engine checkbox. - Stop IIS completely (you would have to stop the IIS Administration service for that - stopping it through the Management Console isn\'t good enough; You can do it by typing \'net stop iisadmin\' on a command prompt). - Start IIS again (you can do it by typing \'net start w3svc\' on a command prompt). - Put a .php file under your Web server\'s document root and check if it works!
IIS 4.0+ (CGI) 1. Copy the php.ini-dist to your systemroot (the directory where you installed windows), rename it to php.ini, and edit it to fit your needs 2. Start the Microsoft Management Console (may appear as \'Internet Services Manager\', either in your Windows NT 4.0 Option Pack branch or the Control Panel->Administrative Tools under Windows 2000). 3. Right click on your Web server node (will most probably appear as \'Default Web Server\'), and select \'Properties\'. 4. Under \'Home Directory\', click on the \'Configuration\' button. Add a new 5. entry to the Application Mappings; Use the path to php.exe as the Executable, supply .php as the extension, leave \'Method exclusions\', blank, and check the Script engine checkbox. 6. Put a .php file under your Web server\'s document root and check if it works!
jeg bruger xitami (www.xitami.com) med php (www.php.net) og med mysql... xitami er efter min mening, bedre end iis, plus at installationen er 100 gange nemmere hvis bare man har lidt omtanke i pæren :)
Når i ikke vil på dansk beholder jeg bare selv pointene...
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.