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[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