Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litespeed_wiki:apache:migration:buildphp [2015/07/07 15:44]
Jackson Zhang
litespeed_wiki:apache:migration:buildphp [2015/07/20 19:40]
Michael Alegre removed
Line 43: Line 43:
  '​--with-mysqli'​ '​--with-mysql'​ '​--with-zlib'​ '​--with-gd'​ '​--enable-shmop'​ '​--enable-sockets'​ '​--enable-sysvsem'​ '​--enable-sysvshm'​ '​--enable-sysvmsg'​ '​--enable-mbstring'​ '​--with-iconv'​ '​--with-mcrypt'​ '​--enable-pdo'​ '​--with-pdo-mysql'​ '​--with-curl'​ '​--with-litespeed'​ '​--enable-bcmath'​ '​--with-bz2'​ '​--enable-calendar'​ '​--enable-ftp'​ '​--with-openssl'​ '​--with-gettext'​ '​--with-mhash'​ '​--enable-soap'​  '​--with-mysqli'​ '​--with-mysql'​ '​--with-zlib'​ '​--with-gd'​ '​--enable-shmop'​ '​--enable-sockets'​ '​--enable-sysvsem'​ '​--enable-sysvshm'​ '​--enable-sysvmsg'​ '​--enable-mbstring'​ '​--with-iconv'​ '​--with-mcrypt'​ '​--enable-pdo'​ '​--with-pdo-mysql'​ '​--with-curl'​ '​--with-litespeed'​ '​--enable-bcmath'​ '​--with-bz2'​ '​--enable-calendar'​ '​--enable-ftp'​ '​--with-openssl'​ '​--with-gettext'​ '​--with-mhash'​ '​--enable-soap'​
 </​file>​ </​file>​
-  ​ +  
-Compile PHP from LSWS Admin Console (Actions => Compile PHP) with mod_php compile options or compile from PHP source code directly.+You may have your existing PHP installed through repository for Apache, hence there is no obvious PHP compile options can be copied over straight away. In this case, you may check your existing PHP configure through phpinfo page and try to match them as much as you can.  
 + 
 +[[litespeed_wiki:​php:​lsapi#​compiling_php_through_wedadmin_console|Compile PHP from LSWS Admin Console ​]](Actions => Compile PHP) with mod_php compile options or [[litespeed_wiki:​php:​lsapi#​compiling_php_from_source_code|compile from PHP source code directly]].
    
 **Note:** '​./​configure'​ needs to be removed when cut and paste to LSWS Admin Console. That is, just cut and paste the options above starting from "'​--build=x86_64-redhat-linux-gnu'​ '​--host=x86_64-redhat-linux-gnu'​ ..." (remove "​Configure Command =>  '​./​configure'​ ") **Note:** '​./​configure'​ needs to be removed when cut and paste to LSWS Admin Console. That is, just cut and paste the options above starting from "'​--build=x86_64-redhat-linux-gnu'​ '​--host=x86_64-redhat-linux-gnu'​ ..." (remove "​Configure Command =>  '​./​configure'​ ")
 +
 +If you run into any problem, please check our [[litespeed_wiki:​php:​lsapi:​troubleshoot|PHP compiling troubleshooting guide]].