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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Build Matching PHP Binary On Standard Edition

Reply
 
Thread Tools Display Modes
  #1  
Old 04-08-2009, 01:56 AM
masood_y masood_y is offline
Senior Member
 
Join Date: Sep 2008
Posts: 121
Default Build Matching PHP Binary On Standard Edition

How can Build Matching PHP Binary in standard edition with shell access?
Reply With Quote
  #2  
Old 04-08-2009, 06:58 AM
Michael.Terence Michael.Terence is offline
Member
 
Join Date: Jan 2009
Posts: 28
Why not use the web interface? It's handy because it will store the config from your previous build so you can just add or remove as needed down the road.

For the most part, you can use the web interface to recompile php without causing downtime to any sites hosted.

I'm sure the same is true by using the terminal, but reason #1 is enough for me to use the web interface.

I don't know if it's useful to you but I'm sure down the road someone else may like it... here's the configure options I used during my last build:

Code:
--with-litespeed --enable-shmop --enable-track-vars --enable-sysvsem --enable-sysvshm --enable-bcmath --enable-calendar --with-openssl --enable-exif --enable-ftp --enable-gd-native-ttf --enable-libxml --enable-mbstring --enable-pdo --enable-soap --enable-sockets --enable-zip --with-bz2 --with-curl --with-curlwrappers --with-freetype --with-gd --with-gettext --with-imap --with-imap-ssl --with-jpeg-dir=/usr --with-png-dir=/usr --with-libxml --with-mcrypt --with-mhash --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-mysql --with-mysqli --with-pdo-mysql --with-sqlite --with-pdo-sqlite --with-pic --with-ttf --with-zpm --with-xsl --with-zlib --with-snmp --with-imagick --with-iconv --with-zip --with-curl-ssl --with-xpm-dir=/usr --with-kerberos --enable-suhosin
Reply With Quote
  #3  
Old 04-08-2009, 07:01 AM
masood_y masood_y is offline
Senior Member
 
Join Date: Sep 2008
Posts: 121
Quote:
Originally Posted by Michael.Terence View Post
Why not use the web interface? It's handy because it will store the config from your previous build so you can just add or remove as needed down the road.

For the most part, you can use the web interface to recompile php without causing downtime to any sites hosted.

I'm sure the same is true by using the terminal, but reason #1 is enough for me to use the web interface.

I don't know if it's useful to you but I'm sure down the road someone else may like it... here's the configure options I used during my last build:

Code:
--with-litespeed --enable-shmop --enable-track-vars --enable-sysvsem --enable-sysvshm --enable-bcmath --enable-calendar --with-openssl --enable-exif --enable-ftp --enable-gd-native-ttf --enable-libxml --enable-mbstring --enable-pdo --enable-soap --enable-sockets --enable-zip --with-bz2 --with-curl --with-curlwrappers --with-freetype --with-gd --with-gettext --with-imap --with-imap-ssl --with-jpeg-dir=/usr --with-png-dir=/usr --with-libxml --with-mcrypt --with-mhash --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-mysql --with-mysqli --with-pdo-mysql --with-sqlite --with-pdo-sqlite --with-pic --with-ttf --with-zpm --with-xsl --with-zlib --with-snmp --with-imagick --with-iconv --with-zip --with-curl-ssl --with-xpm-dir=/usr --with-kerberos --enable-suhosin
Because, i cant find "Build Matching PHP Binary" on graphical interface, im using lxadmin and i need to know where is it.
Do you know?
Reply With Quote
  #4  
Old 04-08-2009, 07:36 AM
Michael.Terence Michael.Terence is offline
Member
 
Join Date: Jan 2009
Posts: 28
Hrm... I'm confused now. Just log into your lsws control panel http://<your.ip.address>:7080 (if you changed the port during install change 7080 to your port).

At the top left you'll see the litespeed logo and a menu just below that. hover over actions, and click on compile php.

I don't know what you mean by "matching php" - but you can compile both php4 & 5 there.
Reply With Quote
  #5  
Old 04-08-2009, 10:19 AM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
Build Matching PHP only works with cpanel I think.
Reply With Quote
  #6  
Old 04-08-2009, 10:56 AM
masood_y masood_y is offline
Senior Member
 
Join Date: Sep 2008
Posts: 121
Quote:
Originally Posted by anewday View Post
Build Matching PHP only works with cpanel I think.
How can have it on other control panel? Such as directadmin or lxadmin?
Reply With Quote
  #7  
Old 04-08-2009, 11:42 AM
masood_y masood_y is offline
Senior Member
 
Join Date: Sep 2008
Posts: 121
Help me please.
Reply With Quote
  #8  
Old 04-08-2009, 11:45 AM
Michael.Terence Michael.Terence is offline
Member
 
Join Date: Jan 2009
Posts: 28
I wish I could help but I don't know what you're after. If all you want to do is build a php environment in lsws that matches what you have via DA or lxadmin, then just disable lsws, start apache and open up a phpinfo page and copy the config & paste it into the compile php page in the LS admin console. That'll build a php environment in lsws that "matches" your php environment in DA or whatever.

/shrug
Reply With Quote
  #9  
Old 04-08-2009, 11:11 PM
masood_y masood_y is offline
Senior Member
 
Join Date: Sep 2008
Posts: 121
Thank you very much.
How can switch from lsws to apache in other control panel?
Because we just have http://xxx.xxxxxxx.xxx:7080 and i cant see switch button.
Help me please.
Reply With Quote
  #10  
Old 04-09-2009, 03:14 AM
Bono Bono is offline
Senior Member
 
Join Date: Jan 2009
Posts: 75
Quote:
Originally Posted by masood_y View Post
Thank you very much.
How can switch from lsws to apache in other control panel?
Because we just have http://xxx.xxxxxxx.xxx:7080 and i cant see switch button.
Help me please.
You should have under using apache configuration file port offset and second way is plugin in cpanel.
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 01:29 AM.



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