Little PHP problem..
Fréderic Kinnaer <[email protected]>
| Newsgroups | gmane.comp.gnu.bayonne.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all I'm using bayonne on a FC2 box and compiled php myself (as there will run no webserver etc on it and rpm requires too much).. I just configured php with --with-mysql. Now the problem; I create my php scripts (TGI.php is in the correct dir, everything works fine on my gentoo box, but that's stock php..), I place them in /usr/local/libexec, fire them with a chmod +x and I put the shebang in (#!/usr/local/bin/php -q).. When I do a ./script.php now, everything works just fine. I launch them with bayonne: tgi: cmd=yiaha.php query= digits= clid=UNKNOWN dnid=UNKNOWN tgi: exec /usr/local/libexec/bayonne/yiaha.php fifo: cmd=Status: 404 fifo: cmd=Content-type: text/html fifo: cmd=X-Powered-By: PHP/4.3.11 fifo: cmd=No input file specified. fifo: cmd=wait 0 1959 fifo: cmd=exit 0 255 Can someone please help me out ? Thanks in advance Frederic