PHP LiteSpeed SAPI from php sources?

Druciak

Active Member
#1
Hi,

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

On the http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_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/packages/lsapi/php-litespeed-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**
 

Druciak

Active Member
#2
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/packages/lsapi/php-litespeed-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.
 
Top