LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Compile PHP

Reply
 
Thread Tools Display Modes
  #1  
Old 08-05-2009, 12:40 PM
fazewire fazewire is offline
New Member
 
Join Date: Jul 2009
Location: Seattle, WA
Posts: 7
Question Compile PHP

Hello,

Before we made the switch to LSWS, we used easyapache for everything. Is there an alternative to that, that makes it easy, for LSWS? If not, then how do I do it manually? When I try, I get this:

Quote:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 25312 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 25312 100 25312 0 0 82171 0 --:--:-- --:--:-- --:--:-- 305k
Forcing buildconf
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.59 (ok)
buildconf: Your version of autoconf likely contains buggy cache code.
Running cvsclean for you.
To avoid this, install autoconf-2.13.
rebuilding configure
aclocal.m4:2150: PHP_PROG_LEX is expanded from...
rebuilding main/php_config.h.in
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
aclocal.m4:2150: PHP_PROG_LEX is expanded from...
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
shtool:echo:Warning: unable to determine terminal sequence for bold mode
shtool:echo:Warning: unable to determine terminal sequence for bold mode
checking for cc... cc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Thanks for your help.
Reply With Quote
  #2  
Old 08-05-2009, 12:42 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Please use the build matching PHP feature in our WHM plugin.
Reply With Quote
  #3  
Old 08-05-2009, 12:44 PM
fazewire fazewire is offline
New Member
 
Join Date: Jul 2009
Location: Seattle, WA
Posts: 7
Quote:
Originally Posted by mistwang View Post
Please use the build matching PHP feature in our WHM plugin.
So I should compile apache, using easyapache, the way I want it, then match that build?

Thanks for the quick answer!
Reply With Quote
  #4  
Old 08-05-2009, 12:54 PM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
Quote:
Originally Posted by fazewire View Post
So I should compile apache, using easyapache, the way I want it, then match that build?

Thanks for the quick answer!
Yes, that's the way.
Reply With Quote
  #5  
Old 08-05-2009, 12:55 PM
fazewire fazewire is offline
New Member
 
Join Date: Jul 2009
Location: Seattle, WA
Posts: 7
Great, I'll give that a shot. Thanks!

Any input on the error above?
Reply With Quote
  #6  
Old 08-13-2009, 10:18 AM
annoumure
Guest
 
Posts: n/a
Default Compile PHP

Cool...thanks a bunch for the help so far. I deleted my old compile files just to really try and force it to make new compile files...these are the errors that show up:

Warning: Smarty::includetemplates_cF7F72F726CAB6mainadmin.t pl.html.php function.Smarty-include: failed to open stream: No such file or directory in D:Hosting4078872htmllibrarysmartylibsSmarty.class. php on line 1266

Warning: Smarty::include function.include: Failed opening templates_cF7F72F726CAB6mainadmin.tpl.html.php for inclusion include_path=.;Chp5pear in D:Hosting4078872htmllibrarysmartylibsSmarty.class. php on line 1266

I know its finding the template files because if i delete them i get an error that says it couldnt find whatever.tpl.html instead of the errors above.

what do you think?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:03 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.