Download
Blog
Wiki
Forum
Store
Contact
Home
Products
Web Server
Load Balancer
LiteSpeed SAPI
Solutions
Web Hosting
Online Gaming
PHP Application
Rails Hosting
Case Studies
Resources
Documentation
White Papers
Benchmarks
Testimonials
FAQ
HOW-TOs
Support
Services
Wiki
Forum
Company
About
News
Blog
Management
Partners
Careers
Support
Services
Wiki
Forum
User Name
Password
Remember Me?
Register
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
LiteSpeed Support Forums
>
LiteSpeed Web Server
>
General
>
Poblem after switch to litespeed
Page 2 of 2
<
1
2
Thread Tools
Display Modes
#
11
07-20-2012, 08:31 AM
TakCloud
Member
Join Date: Jul 2012
Posts: 15
my control panel is directadmin
how build matching?
Thanks
TakCloud
View Public Profile
Send a private message to TakCloud
Find all posts by TakCloud
#
12
07-20-2012, 10:34 AM
webizen
LiteSpeed Staff
Join Date: Oct 2010
Posts: 2,338
not sure why i thought you were running cpanel.
for directadmin, you have to do it manually. please follow the instructions below:
http://www.litespeedtech.com/support/wiki/doku.php#php
=>
PHP 4/5 with LSAPI
you also need to type from command line shell 'php -i' to get directadmin php compile options for lsws php compile.
Here is the troubleshooting guide if you run into issues:
PHP 4/5 with LSAPI Troubleshoot
webizen
View Public Profile
Send a private message to webizen
Find all posts by webizen
#
13
07-22-2012, 05:36 AM
TakCloud
Member
Join Date: Jul 2012
Posts: 15
Quote:
Originally Posted by
webizen
not sure why i thought you were running cpanel.
for directadmin, you have to do it manually. please follow the instructions below:
http://www.litespeedtech.com/support/wiki/doku.php#php
=>
PHP 4/5 with LSAPI
you also need to type from command line shell 'php -i' to get directadmin php compile options for lsws php compile.
Here is the troubleshooting guide if you run into issues:
PHP 4/5 with LSAPI Troubleshoot
When I could not get him
You have to login to the server can do for me?
TakCloud
View Public Profile
Send a private message to TakCloud
Find all posts by TakCloud
#
14
07-23-2012, 09:42 AM
webizen
LiteSpeed Staff
Join Date: Oct 2010
Posts: 2,338
will pm you a detailed instruction.
webizen
View Public Profile
Send a private message to webizen
Find all posts by webizen
#
15
07-23-2012, 09:19 PM
webizen
LiteSpeed Staff
Join Date: Oct 2010
Posts: 2,338
here is one for general public:
1. get stock php compile options
type 'php -i | less' and look for Configure Command like following:
Quote:
Configure Command => './configure' '--with-apxs2' '--with-curl=/usr/local/lib' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-gettext' '--with-jpeg-dir=/usr/local/lib' '--with-freetype-dir=/usr/local/lib' '--with-kerberos' '--with-openssl' '--with-mcrypt' '--with-mhash' '--with-mysql=/usr' '--with-mysqli=/usr/bin/mysql_config' '--with-pcre-regex=/usr/local' '--with-pdo-mysql=/usr' '--with-pear' '--with-png-dir=/usr/local/lib' '--with-zlib' '--with-zlib-dir=/usr/local/lib' '--enable-zip' '--with-iconv=/usr/local' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-mbstring'
2. Go through LSWS Admin Console => Actions => Compile PHP with above compile options (note: remove "
Configure Command => './configure'
")
3. Once complete, run '/usr/local/lsws/fcgi-bin/lsphp5 -i' to compare with 'php -i' and make sure they match.
webizen
View Public Profile
Send a private message to webizen
Find all posts by webizen
Page 2 of 2
<
1
2
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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 Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
General
News
Use Cases
LiteSpeed Web Server
General
Install/Configuration
LiteSpeed Cache
Feedback/Feature Requests
Bug Reports
LSWS 4.1 Release
LiteSpeed Load Balancer
General
LiteSpeed Anti-DDoS
Proxy Service
Popular web applications
Word Press
vBulletin Forum
Joomla
Magento
External Applications
Apache Migration/Compatibility
Ruby/Rails
PHP
CGI/Perl/Python
Java JSP/Servlet
All times are GMT -7. The time now is
12:41 PM
.
-
Archive
-
Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved.
Privacy Policy
.