LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   Build Matching PHP Binary On Standard Edition (http://www.litespeedtech.com/support/forum/showthread.php?t=2843)

masood_y 04-08-2009 01:56 AM

Build Matching PHP Binary On Standard Edition
 
How can Build Matching PHP Binary in standard edition with shell access?

Michael.Terence 04-08-2009 06:58 AM

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

masood_y 04-08-2009 07:01 AM

Quote:

Originally Posted by Michael.Terence (Post 14464)
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?

Michael.Terence 04-08-2009 07:36 AM

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.

anewday 04-08-2009 10:19 AM

Build Matching PHP only works with cpanel I think.

masood_y 04-08-2009 10:56 AM

Quote:

Originally Posted by anewday (Post 14470)
Build Matching PHP only works with cpanel I think.

How can have it on other control panel? Such as directadmin or lxadmin?

masood_y 04-08-2009 11:42 AM

Help me please.

Michael.Terence 04-08-2009 11:45 AM

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

masood_y 04-08-2009 11:11 PM

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.

Bono 04-09-2009 03:14 AM

Quote:

Originally Posted by masood_y (Post 14481)
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.


All times are GMT -7. The time now is 08:34 AM.