I have the latest image and I have php5 installed.
I can host and access php-files from the www-folder, and everything seems to work, BUT:
When I try to load a webpage into a DOMDocument, I get a "Class 'DOMDocument' not found", from this place in the code, more specifically the second line:
$doc = new DOMDocument();
@$doc->load($html);
Everything works on my usual web server, so I recon the problem lies with the Yun? Anybody have an idea?
I have the latest installation (I think - how to check that?), but I am confused about "how to activate it", like when I activated the php on the linux side.
To use the php bridgeclient you have to install php5, php5-mod-sockets, php5-mod-json and php5-cgi (or php5-cli). Then you can write your php page that include the bridgeclient class.
I will look into it later. All I really need is to communicate TO the Arduino side. It never needs to send anything back, so don't know if there is an easier way.
Warning: require(bridgeclient.class.php): failed to open stream: No such file or directory in /mnt/sda1/arduino/www/myproject/testfile.php on line 2
Fatal error: require(): Failed opening required 'bridgeclient.class.php' (include_path='.:') in /mnt/sda1/arduino/www/myproject/testfile.php on line 2