NYCPHP Meetup

NYPHP.org

Upgrading php problem....

Edward Potter ejp at well.com
Tue May 28 13:13:07 EDT 2002


ok, so i figure time to upgrade php.   Downloaded to /usr/local/etc/, 
install everything, make install runs fine. Then I do phpinfo() and I 
keep getting the OLD version. So i do a which, and it says that 
rackspace has configured php like this in /bin: [moral do a which before 
hand!]

-rwxr-xr-x    1 root     root      1105740 Jul 16  2001 php
-rwxr-xr-x    1 root     root          426 Jul 16  2001 php-config
-rwxr-xr-x    1 root     root          593 Jul 16  2001 phpextdist
-rwxr-xr-x    1 root     root          688 Jul 16  2001 phpize


And of course my /usr/local/etc looks like this [where i've installed 
apache]:

lrwxrwxrwx    1 root     root           24 May 28 11:56 php -> 
/usr/local/etc/php-4.2.1
drwxrwxr-x   16 root     root         4096 May 28 11:48 php-4.2.1
-rw-r--r--    1 root     root     18974720 May 28 11:26 php-4.2.1.tar
lrwxrwxrwx    1 root     root           29 May 28 11:25 httpd -> 
/usr/local/etc/apache_1.3.22/
drwxr-xr-x   13 root     root         4096 May 28 11:24 apache_1.3.22

SO THE QUESTION IS:  [yes, i tried symbolic links, did not work.] Before 
I start hacking away [probably in the startup scripts], is there an easy 
way to just remap something here?  The configuration that rackspace 
provided seems VERY different then what the regular php install writes 
out. SINCE everything has been working great, I dont want to have to 
reinstall postgres, apache, etc.

thanks
ed







More information about the talk mailing list