Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Instaklling Apache with PHP Problem
Results 1 to 5 of 5

Thread: Instaklling Apache with PHP Problem

  1. #1
    Member omidkamangar's Avatar
    Join Date
    Mar 2006
    Location
    Kurdistan
    Posts
    239

    Instaklling Apache with PHP Problem

    Hi,
    I always install apache with php on my linux with no problem but this time I'v got a problem.
    When I install Apache at first it is OK and runs without any problem but after installing php when I want to restart Apache I get this message :
    Code:
    [root@localhost php-5.1.2]# /usr/local/apache2/bin/apachectl start
    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
    can any one help?
    This will be over soon, and then I can ...

  2. #2
    Either disable SELinux, or do something like

    chcon -t whateveraccountIrunphpwith /usr/local/apache2/modules/libphp5.so
    My crime is that of curiosity. My crime is that of judging people by what they say and think, not what they look like. My crime is that of outsmarting you, something that you will never forgive.

  3. #3
    Member omidkamangar's Avatar
    Join Date
    Mar 2006
    Location
    Kurdistan
    Posts
    239
    Hi,
    when I disabled SELinux it worked,
    but can you give me more information on this :
    chcon -t whateveraccountIrunphpwith /usr/local/apache2/modules/libphp5.so
    Any tutorials, Articles ?
    thanks.
    This will be over soon, and then I can ...

  4. #4
    My crime is that of curiosity. My crime is that of judging people by what they say and think, not what they look like. My crime is that of outsmarting you, something that you will never forgive.

  5. #5
    Member omidkamangar's Avatar
    Join Date
    Mar 2006
    Location
    Kurdistan
    Posts
    239
    Thanks for all that information.
    This will be over soon, and then I can ...

Similar Threads

  1. apache server problem
    By pankajkarde in forum Redhat / Fedora
    Replies: 2
    Last Post: 01-17-2007, 10:16 AM
  2. problem with configuring apache
    By leva008 in forum Linux - General Topics
    Replies: 3
    Last Post: 04-22-2005, 09:28 PM
  3. Apache and PHP problem
    By imported_root in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 04-21-2005, 02:13 PM
  4. Apache Authentication Problem
    By rhonneil in forum Linux - General Topics
    Replies: 2
    Last Post: 11-10-2003, 08:49 AM
  5. Problem starting Apache 2.0
    By Compunuts in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 09-14-2003, 02:15 AM

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
  •