[solved] wordpress FTP and litespeed

#1
Hello,

I have installed wordpress and when I went to install themes , wordpress asks FTP info and even after giving the correct FTP info, wordpress still says cannot connect to FTP. But when I switch to Apache again, It works and installs theme. Why so? This is so annoying. Any solution?
 
Last edited by a moderator:

NiteWave

Administrator
#4
can you provide more detail about this ?
paste output
#ps -ef|grep lsphp
under litespeed
and similar output under apache(mod_php or php-fcgi etc)
 
#5
under litespeed:

root@server [~]# ps -ef|grep lsphp
root 30915 30840 0 10:50 pts/0 00:00:00 grep lsphp

Under apache:


root@server [~]# ps -ef|grep suphp
root 31757 30840 0 10:56 pts/0 00:00:00 grep suphp
 

mistwang

LiteSpeed Staff
#8
Please compare phpinfo() page from LiteSpeed and Apache, PHP configuration should be similar, with similar PHP modules.
If you use suphp with Apache, you need to turn on PHP suEXEC on LiteSpeed, if not, you should disable PHP suEXEC.
 
#9
Please compare phpinfo() page from LiteSpeed and Apache, PHP configuration should be similar, with similar PHP modules.
If you use suphp with Apache, you need to turn on PHP suEXEC on LiteSpeed, if not, you should disable PHP suEXEC.
Turned php suEXEC on and the problem solved. Thanks.
 
Top