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

Go Back   LiteSpeed Support Forums > External Applications > PHP > PHP LiteSpeed SAPI from php sources?

Reply
 
Thread Tools Display Modes
  #1  
Old 09-06-2012, 05:32 AM
Druciak Druciak is offline
Member
 
Join Date: Apr 2006
Posts: 12
Default PHP LiteSpeed SAPI from php sources?

Hi,

Is the version of php lsapi from http://git.php.net/?p=php-src.git;a=...sapi/litespeed is up to date?

On the http://www.litespeedtech.com/support...wiki:php:lsapi it says:
"Note: LSAPI 5.5 is shipped with PHP source from PHP 5.3 onward. This step can be skipped if you build PHP 5.3 or above."


but the web server uses lsapi sources from http://www.litespeedtech.com/php-litespeed-sapi.html
Preparing all source code for building PHP 5.4.4 with LSAPI
php-5.4.4.tar.gz already downloaded, use the saved copy.
Extracting PHP source archive: tar -zxf php-5.4.4.tar.gz
Retrieving LSAPI from http://www.litespeedtech.com/package...espeed-5.5.tgz
Extracting LSAPI archive: tar -xzf php-litespeed-5.5.tgz
Finished gathering all source code for building PHP 5.4.4
**PREPARE_DONE**
Reply With Quote
  #2  
Old 09-06-2012, 05:53 AM
Druciak Druciak is offline
Member
 
Join Date: Apr 2006
Posts: 12
When i use clean php sources and build php
[builder@testserver php-5.4.6]$ ./configure --with-litespeed
...
[builder@testserver php-5.4.6]$ make

looks OK
[builder@testserver php-5.4.6]$ sapi/litespeed/php -i | grep LiteSpeed
Server API => LiteSpeed V5.5


when i try use php sources + lsapi from litespeed
[builder@testserver php-5.4.6]$ cd sapi/
...
[builder@testserver sapi]$ wget http://www.litespeedtech.com/package...espeed-5.5.tgz
...
[builder@testserver sapi]$ tar -zxf php-litespeed-5.5.tgz
[builder@testserver sapi]$ cd ..
[builder@testserver php-5.4.6]$ touch ac*
[builder@testserver php-5.4.6]$ ./buildconf --force
...
[builder@testserver php-5.4.6]$ ./configure --with-litespeed

i have error
make: *** No rule to make target `litespeed', needed by `all'. Stop.


I'm confused.
I do not know what to do then.
Lsapi version from php source works, does not work from LiteSpeed ​​web site.
Reply With Quote
  #3  
Old 09-06-2012, 11:35 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
The LSAPI source tarball downloaded from litespeedtech website is not for 5.4. There is a tweaking in the compile php script in Admin Console to work around this. If you build php from source manually, you REALLY should use the LSAPI comes with the PHP package as wiki pointed out.

btw, looks like http://git.php.net/?p=php-src.git;a=...sapi/litespeed IS up to date.

Last edited by webizen; 09-06-2012 at 11:38 AM..
Reply With Quote
  #4  
Old 09-07-2012, 04:13 AM
Druciak Druciak is offline
Member
 
Join Date: Apr 2006
Posts: 12
Quote:
Originally Posted by webizen View Post
Who maintained lsapi module in php sources?
PHP community or LiteSpeed​​ developers?
Reply With Quote
  #5  
Old 09-07-2012, 11:20 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
Quote:
Originally Posted by Druciak View Post
Who maintained lsapi module in php sources?
PHP community or LiteSpeed​​ developers?
LiteSpeed​​ developers
Reply With Quote
Reply

Tags
lsapi, php 5.4.x

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 03:24 AM.



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