Find the answer to your Linux question:
Results 1 to 3 of 3
when I start apache2 daemon I got this error apache2 is giving error with php 4.3.8 Code: Apache2 has detected a syntax error in your configuration files: Syntax error on ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2004
    Posts
    33

    apach2 php4 error


    when I start apache2 daemon
    I got this error
    apache2 is giving error with php 4.3.8
    Code:
    Apache2 has detected a syntax error in your configuration files:
    Syntax error on line 5 of /usr/lib/apache2/conf/modules.d/70_mod_php.conf:
    Cannot load /usr/lib/apache2/extramodules/libphp4.so into server: /usr/lib/libfontconfig.so.1: undefined symbol: FT        _Get_BDF_Property
    and the 70_mod_php.conf

    Code:
    <IfModule !sapi_apache2.c>
    line 5        LoadModule php4_module    extramodules/libphp4.so
    </IfModule>
    have media-libs/fontconfig-2.2.2 installed

  2. #2
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    I think you may need to install "libfreetype". You may be able to do this via RPM or emerge, alternativly build from source provided here:
    http://sourceforge.net/project/showf...?group_id=3157

  3. #3
    Just Joined!
    Join Date
    Jan 2004
    Posts
    33
    removed fontconfig and reinstalled php
    every thing worked.

Posting Permissions

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