Results 1 to 6 of 6

Thread: selinux php

  1. #1
    Meyer is offline Sugar Community Member
    Join Date
    Oct 2006
    Location
    south africa
    Posts
    646

    Default selinux php

    hi

    Does anybody know what the se linux php.ini should look like.
    As wel as what the right to the files should be, for 777 does not work on this ver of linux?

    thanks

    * Server: Localhost via UNIX socket
    * Server version: 5.0.51a-24+lenny1-log
    * Protocol version: 10
    * User: ccidevcrm@localhost
    * MySQL charset: UTF-8 Unicode (utf8)

    Web server

    * Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny3 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g
    * MySQL client version: 5.0.51a
    * PHP extension: mysql

    attached is the php.ini, just rename ext to .ini
    Attached Files Attached Files
    Last edited by Meyer; 2009-07-07 at 06:21 AM.

  2. #2
    sanjaykatiyar1's Avatar
    sanjaykatiyar1 is offline Sugar Community Member
    Join Date
    Feb 2006
    Location
    Bangalore
    Posts
    600

    Default Re: selinux php

    File is right.
    No need of 777 for this file. Default permission will work.
    Sanjay Katiyar
    iPhone and Android solutions http://www.apptility.com

  3. #3
    Meyer is offline Sugar Community Member
    Join Date
    Oct 2006
    Location
    south africa
    Posts
    646

    Default Re: selinux php

    do i need curl to work with reports?

  4. #4
    Meyer is offline Sugar Community Member
    Join Date
    Oct 2006
    Location
    south africa
    Posts
    646

    Default Re: selinux php

    http://196.220.52.83/devcrm/cache/ge...246955141.html
    error 403 - forbidden
    when i try to download web to lead form

  5. #5
    Meyer is offline Sugar Community Member
    Join Date
    Oct 2006
    Location
    south africa
    Posts
    646

    Default Re: selinux php

    and
    webserver is running SUEXEC

  6. #6
    Meyer is offline Sugar Community Member
    Join Date
    Oct 2006
    Location
    south africa
    Posts
    646

    Default Re: selinux php

    solved

    Its because Apache is creating the files as -rw-rw---- permission and
    reading it back seems to be a problem for some strange reason even
    though the owner is the same as what Apache is suExec it too.

    As a temp work around i added a cronjob script that chmod's that
    entire dir every 1 minute.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •