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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > PHP handler is different from what was already on the system

Reply
 
Thread Tools Display Modes
  #1  
Old 05-22-2006, 03:32 PM
DavidPesta DavidPesta is offline
Member
 
Join Date: May 2006
Posts: 27
Default PHP handler is different from what was already on the system

One more problem to solve, probably another easy one.

I had recompiled PHP to include needed extensions like domxml, eaccelerator, etc before installing litespeed. I wanted PHP to work with litespeed so I said "yes" to the PHP handler in the litespeed installation procedure. (Awesome user friendly installation by the way!)

Now, the phpinfo test that is run via the litespeed server seems to be some sort of parallel PHP installation separate from my original PHP installation. It doesn't show eaccelerator, domxml or the other things I had for the original. But when I run a phpinfo program from the command line directly, the eaccelerator and domxml is still there. So there must be two PHPs on the system.

How can I get litespeed server to tap into the original PHP that I installed?

Thanks!
David
Reply With Quote
  #2  
Old 05-22-2006, 04:18 PM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
David,

The problem you have is actually several parts:

1) The php binary that is part of the install process will only read php.ini from /lswsinstall/conf/php.ini. Most likely, your other php binary is reading the php.ini from a totally different location.

Check our wiki for details how to compile your own php for LiteSpeed: http://www.litespeedtech.com/community/wiki/

2) The php that comes with the installer is version 4.4.2. Your eacc, etc, other extensions must be compiled to this version or it will not load.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
replacing system php felosi PHP 3 07-16-2007 11:23 PM
Usability issue with LSAPI PHP jrmarino PHP 5 05-08-2007 01:54 PM
setup php in rails template cswilliams Install/Configuration 2 01-25-2007 08:21 AM
Best configuration for PHP LiteSpeed SAPI jeff Install/Configuration 6 10-19-2005 09:54 AM
Custom PHP integration RikitZap Install/Configuration 2 04-25-2005 06:52 PM


All times are GMT -7. The time now is 03:23 PM.



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