Apache error Log File problems

Discussion in 'Server Operation' started by miralem_pjanic, Apr 1, 2014.

  1. miralem_pjanic

    miralem_pjanic New Member

    Hello Everyone!

    I have problems with Apache error Log File. There are a lot of errors:

    Code:
    Failed loading /etc/zend/data/5_2_x_comp/ZendOptimizer.so:
     /etc/zend/data/5_2_x_comp/ZendOptimizer.so: cannot open shared object file: No such file or directory
    Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20060613/xcache.so:
    /usr/local/lib/php/extensions/no-debug-non-zts-20060613/xcache.so: cannot open shared object file: No such file or directory
    Can you help me?
     
  2. srijan

    srijan New Member HowtoForge Supporter

    Hi

    You have two errors
    For this refer the link.


    Use this, edit the file
    & change coment these options

    Br//
    Srijan
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    The xcache loadable module is missing. you should either reinstall it or comment out the extension=xcache.so line in your php.ini file.
     
  4. miralem_pjanic

    miralem_pjanic New Member

    Hi,


    I haven't edited because coment didn't exist


    I haven't got xcache.so in php.ini.

    could you tell me where i can find it in other location?
     
    Last edited: Apr 2, 2014
  5. Acceos

    Acceos New Member

    Hey,

    Please run;

    Code:
    php --ini
    It should show you used config files where you may have specified xcache.
     
  6. miralem_pjanic

    miralem_pjanic New Member

    Hi,

    Code:
    [root@warol ~]# php --ini
    Configuration File (php.ini) Path: /usr/local/lib
    Loaded Configuration File:     /usr/local/lib/php.ini
    Scan for additional .ini files in: (none)
    Additional .ini files parsed:   (none)
     
  7. Acceos

    Acceos New Member

    Okay that's a bit weird.

    Are you running ISPConfig or something else?

    I am not running ISPConfig so I am not sure if it does some magic somewhere.
     
  8. miralem_pjanic

    miralem_pjanic New Member

    I haven't got ISPConfig
     
  9. Acceos

    Acceos New Member

    Hi,

    Okay.

    Try finding the so-files. Ex:
    Code:
    find /* -iname xcache.so
    and
    Code:
    find /* -iname ZendOptimizer.so
    If you don't get any hits. Please install them. How you install them depends on your specific distro. Once done follow the instructions below.
    They are most likely in the wrong location. use "cp" to copy them. Ex
    Code:
    cp {Location of xcache} /usr/local/lib/php/extensions/no-debug-non-zts-20060613/
     

Share This Page