/usr/local/lsws/fcgi-bin/lsphp5 exists, but not runnable:

#1
Hello
im on directadmin
after i installed LSWS
i built Maching PHP liblary for Litespeed using

the PHP version on server is 5.3.27 as FASTCGI
and also i was having problem with directadmin with custombuild 1.1
that when i run build matching php library i get an error that said it is not possible to run cgi and cli simultaneously
so i upgraded to directadmin custombuild 2 and compile php as fastcgi


Code:
 /usr/local/directadmin/plugins/litespeed/admin/build_lsphp
know i have some problems

1st : when i go to PHP build page of directadmin it shows

/usr/local/lsws/fcgi-bin/lsphp5 exists, but not runnable

and this is not fixed with duble run of build command

2nd
i want to change some parameters in php.ini and also enable Eaccelator and IONCUBE loader

when i run
Code:
/usr/local/lsws/fcgi-bin/lsphp5 -i | grep "Configuration File"
i get this
Code:
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => (none)
also /usr/local/lsws/fcgi-bin/lsphp5 -i | grep php.ini output is
Configuration File (php.ini) Path => /usr/local/lib




what is the problem

and another question is what is the difference between build matching php library with the Build Button in admin console of litespeed that have different php versions for select and also have extentions like Eaccelerator and memcached ?

i want to have E-accelerator and memcache on this server


please help me
thanks
 
Last edited:

mistwang

LiteSpeed Staff
#3
Just try build matching PHP one more time, one small issue has been fixed in PHP LSAPI 6.3 code.
You need to put php.ini in /usr/local/lib/ .
 
#4
Thnaks
i tried to build agin
and no diffrense
waht about other questions ?
what is "build PHP" in admin console doses and what is the difference with Build matchin PHP ?
 

mistwang

LiteSpeed Staff
#5
You can do that with "build PHP" feature from admin console as well.
Build matching PHP set the PHP configuration parameters matching that in your Apache setup, with "build PHP" you have to set parameters by yourself.
 
Top