Re: [PHP] stupid question...compiling php

2006-08-07 Thread Jochem Maas
blackwater dev wrote:
 Ok,
 
 I am using a hosted server and php is installed from the linux distro.  I
 usually have all the stuff in a php file somewhere so I can just go back
 ./configure, etc.  I can't seem to find the configure for php on this
 box so
 I can recompile but I know it is there as I can use php and see the
 version,
 how can I find the configure to use?

php -l | grep configure

or

? phpinfo();

 
 Thanks!
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] stupid question...compiling php

2006-08-07 Thread blackwater dev

Ok, doing that now and it's taking a while.  I can do phpinfo but that tells
me the config line and where the ini files are, not necessarily where the
configure stuff is to recompile...correct?

On 8/7/06, Jochem Maas [EMAIL PROTECTED] wrote:


blackwater dev wrote:
 Ok,

 I am using a hosted server and php is installed from the linux
distro.  I
 usually have all the stuff in a php file somewhere so I can just go back
 ./configure, etc.  I can't seem to find the configure for php on this
 box so
 I can recompile but I know it is there as I can use php and see the
 version,
 how can I find the configure to use?

php -l | grep configure

or

? phpinfo();


 Thanks!





Re: [PHP] stupid question...compiling php

2006-08-07 Thread Jochem Maas
blackwater dev wrote:
 Ok, doing that now and it's taking a while.  

it might take forever. I made a thinko, it should have been:

php -i | grep configure

(it should be pretty much instantaneous)

I can do phpinfo but that
 tells
 me the config line and where the ini files are, not necessarily where the
 configure stuff is to recompile...correct?

correct, other than the system libs (which you refer to for some configure 
options)
- I doubt those would have change.

which pretty much leaves the php sources - and this you can download from
lots of places (you don't need to recompile from the same directory), if php
was installed as a package you will not have the source locally (probably) and
the chances are you'll be missing a stack of libs and/or development header 
files
which you would then need to install (again this depends on what configure flag
you're going to use)

 
 On 8/7/06, Jochem Maas [EMAIL PROTECTED] wrote:

 blackwater dev wrote:
  Ok,
 
  I am using a hosted server and php is installed from the linux
 distro.  I
  usually have all the stuff in a php file somewhere so I can just go
 back
  ./configure, etc.  I can't seem to find the configure for php on this
  box so
  I can recompile but I know it is there as I can use php and see the
  version,
  how can I find the configure to use?

 php -l | grep configure

 or

 ? phpinfo();

 
  Thanks!
 


 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] stupid question...compiling php

2006-08-07 Thread Andrew Kreps

I'll bet your hosting environment has not installed the php sources.
If the server is shared with other clients, you'll probably need to
download the source and compile php in your user space and run it as a
CGI (if your host allows this configuration).  Hopefully they have
some allowances for this, you may want to check with them.

On 8/7/06, Jochem Maas [EMAIL PROTECTED] wrote:

blackwater dev wrote:
I can do phpinfo but that
 tells
 me the config line and where the ini files are, not necessarily where the
 configure stuff is to recompile...correct?



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php