Web Hosting Forum | Lunarpages
News: October 6, 2008 - Submit Your Site for the October 2008 Site of the Month!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 13, 2008, 03:02:43 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Problems installing eaccelerator  (Read 718 times)
fuuup
Space Explorer
***
Offline Offline

Posts: 6


« on: November 09, 2007, 04:40:12 PM »

My resource usage due to my php scripts is causing my vps to hit the soft and hard limits very often.  Taking my site down several times an hour, so I'm hoping that installing eaccelerator will help.  I'm running into some errors though.

Using php 4.3.9 and the guide here: http://www.lunarforums.com/lunarpages_vps_hosting/how_do_i_setup_my_vps_server-t41213.0.html

Code:
[root@vps eaccelerator-0.9.5.1]# export PHP_PREFIX="/usr"   
[root@vps eaccelerator-0.9.5.1]# $PHP_PREFIX/bin/phpize
configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.in:32: warning: underquoted definition of PHP_EXT_BUILDDIR
configure.in:33: warning: underquoted definition of PHP_EXT_DIR
configure.in:34: warning: underquoted definition of PHP_EXT_SRCDIR
configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED
acinclude.m4:19: warning: underquoted definition of PHP_PROG_RE2C
configure.in:65: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
[root@vps eaccelerator-0.9.5.1]# ./configure --enable-eaccelerator=shared --with-php-config=$PHP_PREFIX/bin/php-config
configure: error: cannot run /bin/sh ./config.sub
[root@vps eaccelerator-0.9.5.1]#

I've tried with various versions of eaccelerator including the latest and the one listed in the guide.  I always get the same error.

Whats strange is that if I update to php5, it works just fine.  But due to compatibility issues between with my main php script, it doesn't work properly with php5, so I have to use php4.

I talked to support and they said that they wont help me, but they'll install it for me for 75$.  It looks like the problem is with phpize or maybe something wrong with ./config.sub but I'm not sure.  I don't think either of those are related to the script, so that wouldn't really be a 3rd party sort of deal.

I also have the managed lite package.  If it is related to the script, don't I get one free 3rd party script installation per year?  I thought I read that somewhere.

Thanks for the help
« Last Edit: November 09, 2007, 04:46:56 PM by fuuup » Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1058



« Reply #1 on: November 09, 2007, 10:50:09 PM »

Hi,

Do you have libtool installed? You can setup it via yum.

As for the managed addon, the managed lite package comes with 24/7/365 monitoring of your server and does not include free script setup.
Logged

Kind Regards,
Vlad Artamonov
fuuup
Space Explorer
***
Offline Offline

Posts: 6


« Reply #2 on: November 10, 2007, 11:19:44 AM »

That did it.  Thanks.
Logged
perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1058



« Reply #3 on: November 10, 2007, 08:27:15 PM »


Not a problem at all Wink
Logged

Kind Regards,
Vlad Artamonov
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM