A widely used, general-purpose scripting language designed for web development. This topic covers the use of PHP and how to host PHP web servers on the Raspberry Pi.
Questions tagged [php]
210 questions
12
votes
2 answers
How can I install PHP 5.6 (instead of 5.4)?
I'm actually stuck with a little problem.
I want to use Laravel on my pi but it requires at least PHP 5.5.9.
But actually, the latest version of PHP that I am able to install (via the official repository) is the 5.4
How can I upgrade to 5.6 (or…
Germain67
- 222
- 1
- 3
- 8
11
votes
1 answer
PHP 7.4 on raspbian
I'm trying for about 4 hours to install PHP 7.4 on my Raspberry Pi Zero W.
I tried different tutorials, but I endup crashing my raspbian completly or just the installed php. With crashing I mean, I get the following message: Illegal instruction.
I…
Mr.Tr33
- 229
- 1
- 2
- 4
10
votes
4 answers
Where is syslog being written?
I have an out of the box Pi. See below on what I have done. If I have in a PHP script, where the the message being logged?
$ sudo apt-get install nginx
$ sudo mkdir /var/www
$ sudo apt-get install…
user1032531
- 327
- 1
- 5
- 12
6
votes
2 answers
How to install PHP 7.1
Title pretty much says all. I know about adding the stretch to get PHP 7. But it doesn't show PHP 7.1.
deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi
Bonus question where should I drop the request to update the…
janw
- 533
- 3
- 8
- 19
6
votes
1 answer
Can I make a WiFi hotspot out of my Raspberry without it having an internet access?
I have made a Xamarin app for Android and WP, which is basically a music player, with the ability to sync music between devices, similar to Spotify, but it's used to sync music that you have downloaded as an mp3/flac or whatever in any way. Probably…
Martin Frøhlich
- 163
- 3
5
votes
0 answers
How can I read and write data to a Character Device File in Linux with PHP?
I'm trying to read and write to modules on the I2C bus on a Raspberry Pi using PHP. I'm using fopen() and fskeek().
Below is the code I've been trying to use to read data coming in from the physical device at location 19. This code reads nothing…
T. Brian Jones
- 153
- 6
5
votes
1 answer