Re: Running php as scripting language

From: Date: Mon, 27 Sep 2004 21:34:38 +0000
Subject: Re: Running php as scripting language
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-24655@lists.php.net to get a copy of this message
You can either associate all .php files (or some other extension) with php.exe (php5) or cli\php.exe (php4).. I would probably write a batch file to run the cli executable with some parameters to get the right php.ini and so on.. My biggest problem was to get the HTML to the browser (I wanted to be able to doubleclick a .php file and get the results shown in explorer).. I think I succeded somehow though.. -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com "Danielb" <mailinglists@danielb.org.uk> skrev i meddelandet news:20040927085759.34881.qmail@web60701.mail.yahoo.com... > How easy is it to set php up to run as a scripting language > on Windows? I've set it up and ran it on web servers before > but not as a local scripting language. > > What I am needing to be able to do is run a php script like > you would a batch file, and I need it to not time out after > 30 seconds as well. As I'm needing to call a php script > from a batch file so I can add information to a MySQL > database via the batch file. > > Cheers, > > Daniel

« previous php.windows (#24655) next »