httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /us
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2005
    Posts
    128

    httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /us

    I have this error httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied
    and the only way I can get apache to run is by putting SElinux in permissive mode

    anybody know how I can get it to work without lowering my security level

  2. #2
    Join Date
    Apr 2005
    Location
    Finland
    Posts
    5,073
    Use the Apache httpd and PHP packages provided by Fedora instead of self-compiled ones. Fedora packages work correctly with SELinux.

  3. #3
    pete_1967 Guest
    Or alternatively, if FC packages are not viable for you, you need to manually either create new policy or label the required files.

    http://fedoraproject.org/wiki/SELinux

    Of course, last option is for you to disable SELinux but I wouldn't recommend that.

Similar Threads

  1. configuration syntax error in httpd.conf.
    By Query in forum Servers & Networking
    Replies: 16
    Last Post: 7th June 2008, 08:50 AM
  2. vi /usr/local/apache2/conf/httpd.conf
    By tidy_boy in forum Servers & Networking
    Replies: 3
    Last Post: 1st May 2006, 12:09 AM
  3. ci problems with /etc/httpd/conf/httpd.conf
    By lonelylost_brar in forum Servers & Networking
    Replies: 2
    Last Post: 8th June 2005, 08:17 PM

Tags for this Thread

Posting Permissions

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