[ILUG] PHP Question - exec()
Pangurban
pangurban at eircom.net
Fri Jun 3 16:03:29 IST 2005
Thank you Kae.
A wee tweek of the permissions -> chmod o+rw /dev/ttyS0 - which is the
port heyu works with solved my last problem.
Kae Verens wrote:
> Pangurban wrote:
>
>> Turning off selinux has had an effect.
>>
>> whoami - produces "apache" when test.php is called from the browser
>> but
>> heyu info - produces an empty array and a return value of 1
>>
>> While from the command line - php /var/www/html/test.php
>>
>> whoami - produces "apache"
>> and
>> heyu info - produces a populated array (the print that it produces when
>> called from the command line) and a return value of 0
>>
>>
>
> what about logs?
>
> call your script, then do
> ls -tr /var/logs
> to find out what logs were affected by it, and tail the affected ones.
> there may be a clue there.
>
> Kae
>
>
>
--
Regards,
Brian -- In Ireland
More information about the ILUG
mailing list