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

Go Back   LiteSpeed Support Forums > External Applications > PHP > How does it work?

Reply
 
Thread Tools Display Modes
  #1  
Old 05-04-2008, 04:10 PM
Lucas Lucas is offline
New Member
 
Join Date: Apr 2008
Posts: 7
Default How does it work?

I mean. Compiling PHP. What is the point of compiling php through source, through cpanel and then through the web admin interface?

What exactly should I be configuring in each. I tried making a php-source config with all the dependencies I need and now the database doesn't work. Last time I made it work by just doing a few dependencies, but then the gd and all those things didn't work. I did include it on the web admin interface and the cpanel interface but not on the source.

How does it work? What is the point of doing so many php compilations. Why not just all on 1? It's just dumb in my opinion, unless it has to be done that way for a reason...
Reply With Quote
  #2  
Old 05-04-2008, 04:21 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Our PHP build interface build the lsphp binary for you, but it cannot install required libraries for you.

The cPanel build has nothing to do with lsphp, but cPanel's script is pretty good at resolve dependency, if you build php through cPanel, it will installed all libraries required, so you do not need to resolve this by yourself. For average user it is recommended. Just takes some time. So, it is recommended to build the exact same PHP version with exact same configuration parameter in cPanel first.

If you are comfortable with resolving all dependencies by yourself, you don't have to build PHP through cPanel.

cPanel won't build our lsphp binary, we hope it could. We may be able to work something out in the future. You can also ask cPanel to provide this function as well.
Reply With Quote
  #3  
Old 05-04-2008, 05:20 PM
Lucas Lucas is offline
New Member
 
Join Date: Apr 2008
Posts: 7
Quote:
Originally Posted by mistwang View Post
Our PHP build interface build the lsphp binary for you, but it cannot install required libraries for you.

The cPanel build has nothing to do with lsphp, but cPanel's script is pretty good at resolve dependency, if you build php through cPanel, it will installed all libraries required, so you do not need to resolve this by yourself. For average user it is recommended. Just takes some time. So, it is recommended to build the exact same PHP version with exact same configuration parameter in cPanel first.

If you are comfortable with resolving all dependencies by yourself, you don't have to build PHP through cPanel.

cPanel won't build our lsphp binary, we hope it could. We may be able to work something out in the future. You can also ask cPanel to provide this function as well.
So I can for example build with all the dependencies with cPanel and then just set the ones I want for the lsphp binary?
Reply With Quote
  #4  
Old 05-04-2008, 05:53 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
I recommend that the configuration for those two match each other.

Just use the configuration parameter from Apache phpinfo() page to build lsphp.
Reply With Quote
  #5  
Old 05-04-2008, 06:11 PM
Lucas Lucas is offline
New Member
 
Join Date: Apr 2008
Posts: 7
How can I see the cPanel configuration output when lsphp php is running and shows on phpinfo?
Reply With Quote
  #6  
Old 05-05-2008, 09:43 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You need to stop LSWS and start Apache.
Reply With Quote
  #7  
Old 05-05-2008, 09:22 PM
Lucas Lucas is offline
New Member
 
Join Date: Apr 2008
Posts: 7
Excellent, thank you.
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 06:31 PM.



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