LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] PHP Question - exec()

[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
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell