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

Go Back   LiteSpeed Support Forums > External Applications > PHP > Can't compile PHP thru interface

Reply
 
Thread Tools Display Modes
  #11  
Old 04-21-2008, 03:04 PM
DJ XtAzY DJ XtAzY is offline
Member
 
Join Date: Oct 2007
Posts: 24
is the lsphp5 in /usr/local/lsws/fcgi-bin automatically updated after being compiled? When I check whether the file was modified, it was still a few months old.

Edit: nm i restarted LS and its updated

Last edited by DJ XtAzY; 04-21-2008 at 04:14 PM..
Reply With Quote
  #12  
Old 04-21-2008, 03:13 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
lsphp-5.2.5 should be the updated and lsphp5 should be a symbolic link to lsphp-5.2.5
Reply With Quote
  #13  
Old 05-08-2008, 05:18 PM
DJ XtAzY DJ XtAzY is offline
Member
 
Join Date: Oct 2007
Posts: 24
Ok so I tried to compile PHP 5.2.6 and made neccessary changes in the 'utility' folder. I installed php with prefix /usr/local since thats how cpanel installed php there in the first place. But in the fcgi-bin directory, the lsphp5 is still version 5.2.5. The CLI php is updated, but not the api.
Reply With Quote
  #14  
Old 05-08-2008, 06:15 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Please check the configuration options with the installed CLI php.

php -i

then check the PHP build directory see if the sapi/litespeed/php get created or not. If not, try "make" from command line see if there is any errors.
Reply With Quote
  #15  
Old 05-08-2008, 06:44 PM
DJ XtAzY DJ XtAzY is offline
Member
 
Join Date: Oct 2007
Posts: 24
php -i looks fine. I can only get up to sapi/litespeed and in there are random files. I tried to run make and it just gave me

make: *** No targets specified and no makefile found. Stop.
Reply With Quote
  #16  
Old 05-08-2008, 09:16 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
do make at the root source directory.
Reply With Quote
  #17  
Old 05-20-2008, 05:17 PM
DJ XtAzY DJ XtAzY is offline
Member
 
Join Date: Oct 2007
Posts: 24
I fixed my problem. For some reason my fcgi-bin folder has the ownership root:root. I changed it to nobody:nobody to fix this issue. Should I have it root:nobody instead?
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 04:10 PM.



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