[solved] wordpress FTP and litespeed

Discussion in 'Word Press' started by raamee, Nov 2, 2011.

  1. raamee

    raamee New Member

    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: Nov 8, 2011
  2. NiteWave

    NiteWave Administrator

    check if php is running as same user under apache and litespeed
  3. raamee

    raamee New Member

    Running as nobody on both.
  4. NiteWave

    NiteWave Administrator

    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. raamee

    raamee New Member

    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
  6. NiteWave

    NiteWave Administrator

    per your ps output, no php is running :)
    please just "grep php"
  7. raamee

    raamee New Member

    PHP not running? :p I can load websites. But how do I see the ownership of a process?
  8. mistwang

    mistwang LiteSpeed Staff

    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. raamee

    raamee New Member

    Turned php suEXEC on and the problem solved. Thanks.

Share This Page