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

Go Back   LiteSpeed Support Forums > Popular web applications > Word Press > [solved] wordpress FTP and litespeed

Reply
 
Thread Tools Display Modes
  #1  
Old 11-02-2011, 12:00 PM
raamee raamee is offline
New Member
 
Join Date: Nov 2011
Posts: 5
Default [solved] wordpress FTP and litespeed

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 NiteWave; 11-07-2011 at 10:59 PM..
Reply With Quote
  #2  
Old 11-02-2011, 06:33 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,292
check if php is running as same user under apache and litespeed
Reply With Quote
  #3  
Old 11-04-2011, 02:08 AM
raamee raamee is offline
New Member
 
Join Date: Nov 2011
Posts: 5
Running as nobody on both.
Reply With Quote
  #4  
Old 11-04-2011, 02:14 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,292
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)
Reply With Quote
  #5  
Old 11-04-2011, 02:56 AM
raamee raamee is offline
New Member
 
Join Date: Nov 2011
Posts: 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
Reply With Quote
  #6  
Old 11-04-2011, 03:15 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,292
per your ps output, no php is running
please just "grep php"
Reply With Quote
  #7  
Old 11-04-2011, 06:09 AM
raamee raamee is offline
New Member
 
Join Date: Nov 2011
Posts: 5
Quote:
Originally Posted by NiteWave View Post
per your ps output, no php is running
please just "grep php"
PHP not running? I can load websites. But how do I see the ownership of a process?
Reply With Quote
  #8  
Old 11-07-2011, 01:32 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
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.
Reply With Quote
  #9  
Old 11-07-2011, 10:54 PM
raamee raamee is offline
New Member
 
Join Date: Nov 2011
Posts: 5
Quote:
Originally Posted by mistwang View Post
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.
Reply With Quote
Reply

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 12:22 AM.



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