phpsuexec support + eaccelerator or ioncube

S

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
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,462
25
473
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.
 

panayot

Well-Known Member
Nov 18, 2004
126
0
166
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.
 
S

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
 
S

Secret Agent

Guest
Yes other php sites work, even this client except on /blog does not
 
S

Secret Agent

Guest
htaccess in public_html has nothing to do with it, the main domain works but not the /blog area
 
S

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?
 
N

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
 
Last edited by a moderator:

erick_paper

Well-Known Member
Apr 19, 2005
245
0
166
Zend Optimizer and Ioncube work without issue with phpsuexec enabled. It's only eAccellerator and its related ilk that don't.

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

MaraBlue

Well-Known Member
May 3, 2005
334
2
168
Carmichael, CA
cPanel Access Level
Root Administrator
Somewhere in this thread someone says that fastcgi + phpsuexec + eaccelerator would work. Is this true? Does anyone have this working?
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.