PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
i know this is kinda avoiding your problem, but i use xampp
its a preconfigured package w/ php apache perl etc.....
it comes w/ both php4 and 5, and they have a php-switch.bat file that is used as a php switch. clicking it switches between php 4 and 5. its really handy.
@ECHO OFF
if exist php\phpcli.exe GOTO Normal
if exist php\cli\php.exe GOTO Unnormal
if not exist php\cli\php.exe GOTO Abort
:Abort
echo Sorry ... cannot find php cli!
echo Must abort these process!
pause
GOTO END
:Unnormal
if exist php\cli\php.exe GOTO Copy
GOTO END
:Copy
copy /Y php\cli\php.exe php\phpcli.exe
GOTO Normal
:Normal
set PHP_BIN=php\phpcli.exe
set CONFIG_PHP=install\php-switch.php
%PHP_BIN% -n -d output_buffering=0 %CONFIG_PHP%
GOTO END
:END
pause