Forum » Pomoč in nasveti » Nastavitve za PHP
Nastavitve za PHP
Muflon1 ::
Glede na to da sem popolni začetnik bi prosil za obrazložitev:
V Windowsih XP:
Namestil sem po prebiranju nekaterih tutorialov:
-MySQL
-PHP 4
-Instaliral pa sem tudi IIS 5
Prav tako sem za začetek in preverjanje delovanja napisal tole kodo:
$myvar = "Hello World";
echo $myvar;
?>
(ne vem zakaj tle zginejo html in body forme?)
Dreamweaver je zaznal da je to PHP skripta vendar pa ko to stran shranjeno kot (*.html, *.php) odprem v internet explorerju vidim samo prazno belo stran.
Bral sem da moraš vklopit podporo PHPju takole:
In either case, you need to 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/XP). Then right click on your Web server node (this will most probably appear as 'Default Web Server'), and select 'Properties'.
If you want to use the CGI binary, do the following:
Under 'Home Directory', 'Virtual Directory', or 'Directory', click on the 'Configuration' button, and then enter the App Mappings tab.
Click Add, and in the Executable box, type: c:phpphp.exe (assuming that you have unziped PHP in c:php).
vendar tega nikjer ne najdem v administrative tools nimam internet services manager ampak samo Internet Information services in nikjer potem ne najdem tega Default Web Server ampak samo Default Web Page in tam ni nobene Add Mappings opcije.
Prosim za konkretne odgovore in ne one v stilu uporabljaj Apache/Linux and so on....
lp David
V Windowsih XP:
Namestil sem po prebiranju nekaterih tutorialov:
-MySQL
-PHP 4
-Instaliral pa sem tudi IIS 5
Prav tako sem za začetek in preverjanje delovanja napisal tole kodo:
$myvar = "Hello World";
echo $myvar;
?>
(ne vem zakaj tle zginejo html in body forme?)
Dreamweaver je zaznal da je to PHP skripta vendar pa ko to stran shranjeno kot (*.html, *.php) odprem v internet explorerju vidim samo prazno belo stran.
Bral sem da moraš vklopit podporo PHPju takole:
In either case, you need to 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/XP). Then right click on your Web server node (this will most probably appear as 'Default Web Server'), and select 'Properties'.
If you want to use the CGI binary, do the following:
Under 'Home Directory', 'Virtual Directory', or 'Directory', click on the 'Configuration' button, and then enter the App Mappings tab.
Click Add, and in the Executable box, type: c:phpphp.exe (assuming that you have unziped PHP in c:php).
vendar tega nikjer ne najdem v administrative tools nimam internet services manager ampak samo Internet Information services in nikjer potem ne najdem tega Default Web Server ampak samo Default Web Page in tam ni nobene Add Mappings opcije.
Prosim za konkretne odgovore in ne one v stilu uporabljaj Apache/Linux and so on....
lp David
Opica80 ::
Kolikor je meni znano PHP ne deluje direktno pod windows.
Jaz sem PHP poganjal preko Apach strežnika.
Jaz sem PHP poganjal preko Apach strežnika.
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | IIS problemiOddelek: Omrežja in internet | 1586 (1304) | extr3m3 |
» | Windows PHP restart ?Oddelek: Izdelava spletišč | 791 (627) | PujsaPepa |
» | Remote desktop connectionOddelek: Programska oprema | 3240 (2828) | CaqKa |
» | php na domačem računalnikuOddelek: Izdelava spletišč | 1848 (1673) | Cokolesnik |
» | Server problemiOddelek: Omrežja in internet | 1139 (1103) | Bug |