The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

phpsuexec support + eaccelerator or ioncube

Discussion in 'General Discussion' started by Secret Agent, Jul 2, 2006.

  1. Secret Agent

    Secret Agent Guest

    Does phpsuexec support work with eaccelerator, ioncube, zend optimizer (either one or all)?

    I'm getting this error:

    Failed loading /ea/eaccelerator-0.9.4-rc1/modules/eaccelerator.so: /ea/eaccelerator-0.9.4-rc1/modules/eaccelerator.so: undefined symbol: empty_string


    Odd part is, it works fine on another servre same config and all, except this problem server has php 5 where the others have 4
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    eAccelerator doesn't work with phpsuexec enabled - it can't. You may well have in compiled in on another server, but it won't actually be working.
     
  3. panayot

    panayot Well-Known Member

    Joined:
    Nov 18, 2004
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    16
    I think the only way is to use fastcgi + phpsuexec + eaccelerator. I will be trying this when apache2 is out. hope it works out :) but even without the accelerator I suppoese it will be worth.
     
  4. Secret Agent

    Secret Agent Guest

    Ok thanks for your response. I have this odd issue that I am unable to figure out.

    I disabled eaccelerator and ioncube and still getting 500 (phpsuexec support enabled still)

    [Sun Jul 2 11:22:28 2006] [error] [client xxx.117.97.5] Premature end of script headers: /home/csweely/public_html/blog/index.php
    [Sun Jul 2 11:22:28 2006] [error] [client xxx.117.97.5] File does not exist: /home/csweely/public_html/500.shtml

    What to do from here? There is no htaccess file and the files are owned by the user

    Code:
    drwxr-xr-x   5 csweely csweely 4.0K Jul  2 11:08 ./
    drwxr-x---  13 csweely nobody  4.0K Jul  2 11:12 ../
    -rw-r--r--   1 csweely csweely   36 Mar 14 02:53 fantversion.php
    -rw-r--r--   1 csweely csweely   95 Feb 13  2005 index.php
    -rw-r--r--   1 csweely csweely  15K Apr  1  2003 license.txt
    -rw-r--r--   1 csweely csweely 8.0K Dec 21  2005 readme.html
    drwxr-xr-x   4 csweely csweely 4.0K Mar 10 00:00 wp-admin/
    -rw-r--r--   1 csweely csweely 2.0K Jun 10  2005 wp-atom.php
    -rw-r--r--   1 csweely csweely  759 Jun 12  2005 wp-blog-header.php
    -rw-r--r--   1 csweely csweely 2.3K Mar  1 15:17 wp-comments-post.php
    -rw-r--r--   1 csweely csweely 3.6K Dec 15  2005 wp-commentsrss2.php
    -rw-r--r--   1 csweely csweely  880 Jul  2 11:08 wp-config.php
    -rw-r--r--   1 csweely csweely  887 Aug  2  2005 wp-config-sample.php
    drwxr-xr-x   4 csweely csweely 4.0K Mar 10 00:00 wp-content/
    -rw-r--r--   1 csweely csweely  762 Mar 29  2005 wp-feed.php
    drwxr-xr-x   4 csweely csweely 4.0K Mar 10 00:00 wp-includes/
    -rw-r--r--   1 csweely csweely 2.3K Jan 23 17:10 wp-links-opml.php
    -rw-r--r--   1 csweely csweely 9.9K Jan  2 02:46 wp-login.php
    -rw-r--r--   1 csweely csweely 5.1K Jan 23 17:49 wp-mail.php
    -rw-r--r--   1 csweely csweely  299 Mar 13  2005 wp-pass.php
    -rw-r--r--   1 csweely csweely 2.2K Sep  8  2005 wp-rdf.php
    -rw-r--r--   1 csweely csweely 5.7K Mar  7 01:06 wp-register.php
    -rw-r--r--   1 csweely csweely 2.2K Nov 28  2005 wp-rss2.php
    -rw-r--r--   1 csweely csweely 1.4K Jun 10  2005 wp-rss.php
    -rw-r--r--   1 csweely csweely 7.7K Feb 28 15:50 wp-settings.php
    -rw-r--r--   1 csweely csweely 3.2K Dec 27  2005 wp-trackback.php
    -rw-r--r--   1 csweely csweely  37K Jan 30 15:19 xmlrpc.php
    /usr/bin/php -f /home/csweely/public_html/blog/index.php

    (above shows the code of that page)


    Domlogs:

    xxx.117.97.5 - - [02/Jul/2006:20:24:11 -0500] "GET /blog/ HTTP/1.1" 500 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4"
    xxx.117.97.5 - - [02/Jul/2006:20:24:12 -0500] "GET /blog/ HTTP/1.1" 500 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4"
    xxx.117.97.5 - - [02/Jul/2006:20:24:47 -0500] "GET /blog/ HTTP/1.1" 500 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4"
    xxx.117.97.5 - - [02/Jul/2006:20:24:55 -0500] "GET /blog/ HTTP/1.1" 500 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4"

    Apache error logs:

    [Sun Jul 2 20:25:11 2006] [error] [client xxx.117.97.5] Premature end of script headers: /home/csweely/public_html/blog/index.php
    [Sun Jul 2 20:25:11 2006] [error] [client xxx.117.97.5] File does not exist: /home/csweely/public_html/500.shtml
     
  5. panayot

    panayot Well-Known Member

    Joined:
    Nov 18, 2004
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    16
    The other php sites on the server work? Anything in the VirtualHost maybe?
     
  6. Secret Agent

    Secret Agent Guest

    Yes other php sites work, even this client except on /blog does not
     
  7. panayot

    panayot Well-Known Member

    Joined:
    Nov 18, 2004
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    16
    check if there is suspicious .htaccess in public_html

    try with a very simple php file

    no idea really.
     
  8. Secret Agent

    Secret Agent Guest

    htaccess in public_html has nothing to do with it, the main domain works but not the /blog area
     
  9. Secret Agent

    Secret Agent Guest

    Quick question:

    Now that phpsuexec support is on and many say zend/ion/eaccelerator do not work then what would be done in a case where some programs require any of these two (zend or ion) to work?
     
  10. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Zend Optimizer and Ioncube work without issue with phpsuexec enabled. It's only eAccellerator and its related ilk that don't.
     
  11. NoAgendas

    NoAgendas Guest

    I'm having this problem as well.

    all sites (php) aer getting internal 500 errors after simply upgrading php 4.4.2 to 4.4.3 (nothing else changed in options)

    I ran /scripts/chownpublichtmls

    After running the above script, they show 403 now

    Why would this happen? I have phpsuexec enabled as well

    Apache logs says "premature end of script headers" for any php site
     
    #11 NoAgendas, Aug 16, 2006
    Last edited by a moderator: Aug 16, 2006
  12. erick_paper

    erick_paper Well-Known Member

    Joined:
    Apr 19, 2005
    Messages:
    245
    Likes Received:
    0
    Trophy Points:
    16

    Somewhere in this thread someone says that fastcgi + phpsuexec + eaccelerator would work. Is this true? Does anyone have this working?
     
  13. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    so, which caching engine would I then be able to use with Zend + phpsuexec + ioncube?
     
  14. MaraBlue

    MaraBlue Well-Known Member

    Joined:
    May 3, 2005
    Messages:
    335
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Carmichael, CA
    cPanel Access Level:
    Root Administrator
    One of the moderators is gonna wrap you on the knuckles, hard, for reviving a 6 month old thread. Wait for it...

    Technology changes, issues change. If it's an issue for you *now*, start a new a thread.
     
  15. duranduran

    duranduran Well-Known Member

    Joined:
    Apr 30, 2004
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    16

    APC (Alternative PHP Cache) or Xcache works with the phpsuexec ?
     
Loading...

Share This Page