Evil|Clan HOME EVIL|ARCHIVE Evil|Clan
HOME EVIL|ARCHIVE PASTEBIN PRIVACY CONTACT

Pastebin

show all

PaniC posted at 2015-04-14 22:05:51 | show line numbers

bash script start php -S

#/bin/bash
checkphpserver=`ps -ef | grep php | grep localhost | grep connect.php`
phpcommand="php -S localhost:8080 connect.php"

if [ -z "$checkphpserver" ];
then
echo "start php server"
$phpcommand
else
echo "php server runs already"
fi
exit 0