#1 (permalink)  
Old 10-11-2004, 11:02 AM
Registered User
 
Join Date: Apr 2004
Posts: 602
ispro is on a distinguished road
/usr/local/bin/php & /usr/bin/php

I've compiled apache with php_suexec support.

Well, then I realized that when I run php in the shell it shows be the old version instead.

I've find that there are three places where php could be located:
1) /usr/local/bin/php
2) /usr/bin/php
3) /usr/local/cpanel/3rdparty/bin/php

1st seems useless... how to avoid of it? Or I will be in need of reinstalling php there as well?..

2nd is used by apache with php_suexec (at least the php used there has /usr prefix).
This php was compiled by makecpphp which was adjusted to have own configure options and /usr prefix.

3rd is used by apache for cPanel php (!!) E.g. when I run Horde I got another version of php!

So I'm a little confused... I've had installed php with /usr/local/cpanel/3rdparty prefix as well just for cPanel to use it for webmails!

Conclusion:
we was insisted to install php in /usr for our customers to use latest php and do the same for /usr/local/cpanel/3rdparty for cPanel itself.

Could anyone explain it? (too many php places IN USE are there...)
__________________
Reliable web-hosting, good resellers plans, web-design.
ISProHosting.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:40 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc