Running PHP Script

scholl

Registered Member
Joined
Oct 14, 2015
Messages
54
Reaction score
4
Hi guys,

I coded myself a small bot using an php library, now that i tested it about 1-2 months on my laptop i'm thinking about buying an raspberry pi to run it 24/7 on there.

I want to run my script for about 5 accounts at the moment
1.) What raspberry PI version do i need for that purpose can i use "zero" ?
2.) What else do i have to take care about, probably an sd card and power?
3.) Do you have any suggestions, i'm new to this raspberry stuff so i dont really know what i could have forgotten

i hope you can help me, maybe someone is already using an raspberry pi ?

Scholl
 
Hi guys,

I coded myself a small bot using an php library, now that i tested it about 1-2 months on my laptop i'm thinking about buying an raspberry pi to run it 24/7 on there.

I want to run my script for about 5 accounts at the moment
1.) What raspberry PI version do i need for that purpose can i use "zero" ?
2.) What else do i have to take care about, probably an sd card and power?
3.) Do you have any suggestions, i'm new to this raspberry stuff so i dont really know what i could have forgotten

i hope you can help me, maybe someone is already using an raspberry pi ?

Scholl
Why do you want to run it on a raspberry PI instead of using something like DigitalOcean?
Anyway you'll also need a USB Wifi dongle unless you buy the Raspberry Pi 3 and of course being familiar with the Linux CLI.
 
Hi guys,

I coded myself a small bot using an php library, now that i tested it about 1-2 months on my laptop i'm thinking about buying an raspberry pi to run it 24/7 on there.

I want to run my script for about 5 accounts at the moment
1.) What raspberry PI version do i need for that purpose can i use "zero" ?
2.) What else do i have to take care about, probably an sd card and power?
3.) Do you have any suggestions, i'm new to this raspberry stuff so i dont really know what i could have forgotten

i hope you can help me, maybe someone is already using an raspberry pi ?

Scholl

Raspberry pi 2 or 3 and yes an SD card and power (its low power you shouldn't notice too much (if any) spikes in utility bills)

My advice is use raspbian for your OS its based off of Debian

I'm quite good with GNU/Linux if you have any more questions post here and I will try to answer.
 
Thanks guys, both of you talk about raspberry pi 2 or 3, can u tell me why not the zero version?
I'm quite good with GNU/Linux if you have any more questions post here and I will try to answer.
I'm have basic linux knowledge but do you have skype so i can message you if i have major problems?
 
Thanks guys, both of you talk about raspberry pi 2 or 3, can u tell me why not the zero version?

I'm have basic linux knowledge but do you have skype so i can message you if i have major problems?

Why would you want the zero version? There is progress for a reason. The 2+ and 3 are more powerful and loaded with more features than zero. It might not be an issue now but you might wish you did everything on the 2 or 3 later on rather than have to migrate everything.

If you already have the zero then use the zero version. Also pm'd skype if you have any major issues.
 
Thanks guys, both of you talk about raspberry pi 2 or 3, can u tell me why not the zero version?

I'm have basic linux knowledge but do you have skype so i can message you if i have major problems?
You can go with the Zero but at the end you'll pay an extra ~$20 for a wifi dongle or ethernet hub, so buy the 3 you'll have a better processor, more ram and a built-in Wifi and Ethernet port.
And I'm 90% sure the zero is out of stock everywhere.
 
lol thats funny, why you want running 24/7 php script on raspberry.. It is not worthed, instead buy very very cheap linux vps.
trust me your script doesn't always work, because ig changing frequently.
 
I'm kinda scared to screw it up setting up a vps, never done that before and i dont want to throw my money right out of the window if i fail
 
I'm kinda scared to screw it up setting up a vps, never done that before and i dont want to throw my money right out of the window if i fail

On vps you can just reload os to default setting. Just reload , connect ssh and you good to go.
If you want to play linux vps find nat vps that very very cheap. Less than $1 an month.
 
Are there any vps tutorials out there how to easily set one up, connect, transfer files and run the script?
 
Back
Top