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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > Won't Compile w/ Settings.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-27-2008, 01:58 PM
Matthew_K Matthew_K is offline
Member
 
Join Date: Mar 2008
Posts: 39
Exclamation Won't Compile w/ Settings.

I cannot for the life of me figure out why this is:

I have two identical Litespeed web servers. Both have the same php settings and what not.

With one, when I compile with certain settings, it works and takes the settings as shown by phpinfo.

With the other, it will not accept any new settings.

I'm compiling with: --with-ffmpeg=/usr/lib/php5/20060613/ --with-mysql --with-zlib --with-gd=/usr/lib --enable-shmop --enable-track-vars --enable-sockets --enable-sysvsem --enable-sysvshm --disable-magic-quotes --enable-mbstring --with-iconv --with-jpeg-dir=/usr/lib --with-magickwand --with-curl --with-mcrypt --enable-ftp --with-freetype-dir= --with-ttf --enable-gd-native-ttf --enable-gd-jis-conv

But the server that won't take new settings stops at --with-mcrypt. That's the last item it takes.

On the other server the phpinfo shows all the settings correctly.

With the one that doesn't work, the log shows that it compiled correctly with all the settings. But still, for some strange reason it acts like it doesn't install the newly compiled version.

Any advice?

Last edited by Matthew_K; 04-27-2008 at 04:07 PM..
Reply With Quote
  #2  
Old 04-27-2008, 03:12 PM
Matthew_K Matthew_K is offline
Member
 
Join Date: Mar 2008
Posts: 39
Also, I just noticed the build date the one that wont change says: Apr 8 2008 13:12:47

The one that will change says: Apr 27 2008 04:27:26

So the build is definitely not installing on the other system.
Reply With Quote
  #3  
Old 04-27-2008, 05:31 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
Make sure you are using lsws/fcgi-bin/lsphp5 for the lsphp external app.
PHP binary should be installed to lsws/fcgi-bin/lsphp-5.2.5, please check the timestamp.
Reply With Quote
  #4  
Old 04-27-2008, 06:18 PM
Matthew_K Matthew_K is offline
Member
 
Join Date: Mar 2008
Posts: 39
This is interesting... I go to that directory in my FTP client, and it shows the date on it is 4/8/2008. But when I try to open it I get this message: "Directory /opt/lsws/fcgi-bin/lsphp-5.2.5: no such file or directory"
I assume that IS the binary and that my FTP client thinks it's a directory. Either way, the date on that is 4/8.

EDIT:
On the other web server it says that it is 4/27/2008.

Last edited by Matthew_K; 04-27-2008 at 06:20 PM..
Reply With Quote
  #5  
Old 04-28-2008, 09:39 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
try removing it and build again.
Reply With Quote
  #6  
Old 04-28-2008, 10:08 AM
Matthew_K Matthew_K is offline
Member
 
Join Date: Mar 2008
Posts: 39
I just renamed the old ones as backups, recompiled and the new ones are there with the right date. I don't know if the changes were made yet, since my load balancer is throwing everything to the other server right now, but I will check soon and report back. But so far so good.
Reply With Quote
  #7  
Old 04-28-2008, 10:10 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
It is better to have a dedicate domain name for each backend node for trouble shooting purpose.
Reply With Quote
  #8  
Old 04-28-2008, 10:12 AM
Matthew_K Matthew_K is offline
Member
 
Join Date: Mar 2008
Posts: 39
OK. I'll do that. That's a good idea.
Reply With Quote
  #9  
Old 04-28-2008, 01:52 PM
Matthew_K Matthew_K is offline
Member
 
Join Date: Mar 2008
Posts: 39
OK, happy to say it worked! Thanks, Mistwang. As always, you've been a big help!
Reply With Quote
  #10  
Old 06-02-2008, 08:27 AM
Matthew_K Matthew_K is offline
Member
 
Join Date: Mar 2008
Posts: 39
Upgraded to .13 and tried to recompile just now. Same problem happened. I went into the /opt/lsws/fcgi-bin folder and renamed the old files, recompiled and the new one did not show up at all.

Any suggestions?
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 07:32 AM.



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