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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > updgrade to php5 problem

Reply
 
Thread Tools Display Modes
  #11  
Old 07-17-2008, 08:08 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
You need to change the external app "command" configuration to use "$SERVER_ROOT/fcgi-bin/lsphp5" instead of changing the file name.

And it is even better to create a "lsphp5" external app instead of changing the existing one for PHP4.
Reply With Quote
  #12  
Old 07-18-2008, 12:24 PM
karloff karloff is offline
Member
 
Join Date: Jan 2008
Posts: 45
i did that, however i seem to get the error

Quote:
connection to [uds://tmp/lshttpd/lsphp.sock] on request #0, error: No such file or directory!
2008-07-18 15:19:25.295 [INFO] [uds://tmp/lshttpd/lsphp.sock] Connection refused, restart!
I have notice that in my tmp/lshttpd directory my sock files are not named as they are supposed to

eg is set the address for the VH to uds://tmp/lshttpd/$VH_NAME_lsphp.sock

but in the tmp/lshttpd dir they are called

uds://tmp/lshttpd/$VH_NAME_.sock

obviously causing some conflicting, how can i resolve this. without totally removing the vh and recreating them?

Last edited by karloff; 07-19-2008 at 10:19 AM..
Reply With Quote
  #13  
Old 07-19-2008, 04:16 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Please try 3.3.16 package, just change the version number in the download link.
Reply With Quote
  #14  
Old 07-21-2008, 03:06 AM
karloff karloff is offline
Member
 
Join Date: Jan 2008
Posts: 45
i have just tried a re-install of php5 and i get this warning message
Quote:
Build complete.
Don't forget to run 'make test'.

mv /usr/local/lsws/fcgi-bin/lsphp-5.2.6 /usr/local/lsws/fcgi-bin/lsphp-5.2.6.bak; cp /usr/local/lsws/phpbuild/php-5.2.6/sapi/litespeed/php /usr/local/lsws/fcgi-bin/lsphp-5.2.6
mv: cannot stat `/usr/local/lsws/fcgi-bin/lsphp-5.2.6': No such file or directory
however is seem to install fine other than that

will keep you posted if it works, otherwise i will try the upgrade

Last edited by karloff; 07-21-2008 at 03:13 AM..
Reply With Quote
  #15  
Old 07-21-2008, 01:07 PM
karloff karloff is offline
Member
 
Join Date: Jan 2008
Posts: 45
unfortunetly i could not get it working, still giving me a 503 error on php5. who should be the owner of fcgi-bin dir and its contents? root or nobody? tried changing it but no success

the only error i get is this
Quote:
connection to [uds://tmp/lshttpd/lsphp.sock] on request #0, error: No such file or directory!
nothing in any other logs. mistwang, how do i go about changing the version?
Reply With Quote
  #16  
Old 07-21-2008, 01:27 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
PM me a temp root login of your server, I can take a look.
Reply With Quote
  #17  
Old 07-21-2008, 02:00 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
The main problem is that "Auto Start" was not set for "lsphp5" app at server level.
And you also have virtual host level configurations in the mix, since all of your vhosts are owned by "nobody" user, PHP suEXEC does not give any extra benefits, so I removed the vhost level "script handler" configuration.
Reply With Quote
  #18  
Old 07-21-2008, 02:31 PM
karloff karloff is offline
Member
 
Join Date: Jan 2008
Posts: 45
thanks man, it seems to have updated my php, however there seems to be a problem with my main site, it doesn't seem to show anything. just a blank screen?

edit: i should not there is nothing in the error.log that would describe the problem as well

Last edited by karloff; 07-21-2008 at 02:36 PM..
Reply With Quote
  #19  
Old 07-21-2008, 02:38 PM
karloff karloff is offline
Member
 
Join Date: Jan 2008
Posts: 45
infact i'm getting the error

[ADMIN] authentication failed!
Reply With Quote
  #20  
Old 08-27-2008, 05:05 PM
wagonlips wagonlips is offline
New Member
 
Join Date: Aug 2008
Posts: 9
Version 3.3.17 installed on OS X 10.5 PPC
Getting same error when trying to upgrade to PHP 5 using the control panel:
Code:
configure: error: libpng.(a|so) not found.
/opt/local/lib/libpng.a <--is there. Is there a way to make Litespeed see it?

(Also tried 3.3.16, same problem)

Last edited by wagonlips; 08-27-2008 at 05:38 PM.. Reason: further info added
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 10:00 AM.



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