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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > PHP install error

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-13-2010, 03:41 AM
raphidae raphidae is offline
Senior Member
 
Join Date: Apr 2008
Posts: 59
Default PHP install error

For some reason PHP always fails to install. I have never seen Litespeed install PHP correctly since I started using it more than a year ago. The error is always the same:

Code:
Build complete.
Don't forget to run 'make test'.

Installing PHP
Installing PHP SAPI module:       litespeed
:No such file or directory
Installing build environment:     /usr/local/lsws/lsphp5/lib/php/build/
Installing header files:          /usr/local/lsws/lsphp5/include/php/
Installing helper programs:       /usr/local/lsws/lsphp5/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/local/lsws/lsphp5/man/man1/
  page: phpize.1
  page: php-config.1
1 error
*** Error code 1 (continuing)
`install' not remade because of errors.
**ERROR** Could not install PHP
As the compile did complete successfully I've always simply fixed this by doing something like:

'cp /usr/local/lsws/phpbuild/php-5.3.1/sapi/litespeed/php /usr/local/lsws/fcgi-bin/lsphp5'

As I use FreeBSD exclusively this might be a FreeBSD specific bug, I have noticed it on 6-RELEASE, 6-STABLE, 7-STABLE, 8-RC1, 8-STABLE and 9-CURRENT.

I'm guessing the compiler writes the lsapi php binary somewhere else on FreeBSD or something similar.
Reply With Quote
 

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 02:09 AM.



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