0
votes
3answers
228 views

Detect CPU Vendor on OSX

So, I considered asking here instead of SO because people here are more likely to be familiar with this stuff. I'm currently using PHP to detect some generic stuff on the host OS. In this case, I'm ...
5
votes
1answer
1k views

Installing a php extension (xdiff) from pecl on Linux

I was getting this error on my php script: Fatal error: Call to undefined function xdiff_file_diff() I realised that I didn't had the xdiff extension installed. When I tried to install it using the ...
2
votes
3answers
1k views

Giving PHP the permission to make a git pull request

I would like to allow PHP to execute a Git pull command. But there are some problems with the user and permissions. How did you solve the problem? PHP runs as user www-data. Therefore I've changed ...