Related questions
Where can I find php.ini?
A few years ago I installed Apache 2.2x and PHP 5.3.1 on a Linux server I maintain. I used .tar.gz's and built them as instructed (instead of rpms and what-have-you). And all was fine.
Today I need to install this …
Where is the php.ini file on a Linux/CentOS PC?
I can't find PHP.ini location on my server. I've checked all Stack Overflow answers but I can't find my php.ini location.
I have Linux, Cent OS, zPanel. Last version of PHP.
My computer: Linux Mint 15 KDE.
Running a Python script from PHP
I'm trying to run a Python script from PHP using the following command:
exec('/usr/bin/python2.7 /srv/http/assets/py/switch.py arg1 arg2');
However, PHP simply doesn't produce any output. Error reporting is set to E_…