Re: [PHP] PHP Upgrade Question
On 05.03.2006 at 20:34:20, Eric Butera [EMAIL PROTECTED] wrote: Ok so I can't find apxs on the server at all, even though the 4.3.4phpinfo claims to have been configured with --with-apxs2=/usr/sbin/apxs2-prefork. I did some search via google and I reconfigured using --enable-cli and --disable-cgi but I still had to use --with-apache2=/usr/sbin/httpd2 because I need to have that correct? Since all the builds I done with PHP call on a Apache source in some way. It still compiled with it's SAPI choice being cgi then I ran 'make install-cli' and now when I do a /usr/bin/php -v I get: PHP 4.4.2 (cli) (built: May 3 2006 18:36:11) Copyright (c) 1997-2006 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies But when I restart apache I'm still seeing 4.3.4 in the phpinfo() information. I've even restarted the server with no luck. Can someone tell me what I missing? It seems SuSE compiled PHP with the --disable-session call in the configuration and we need Sessions enable to support Zencart and phpOpenChat for some clients. Another thing to consider is if you built it, you could easily have different versions installed on the machine. Issuing a locate /bin/php might prove that or not. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php I run Ubuntu Dapper Drake at home (the only place I've dabbled with compiling php). To get it to compile I had to install the packages apache2-mpm-prefork and apache2-prefork-dev to get the system setup correctly. By default it had something else which did not give me apxs2. My apxs2 is in /usr/bin/apxs2. So maybe if you could figure out how to get that package /usr/sbin/apxs2-prefork on your system that might do it. I'm really not the one who should be giving any advice on this since I just kept beating on mine till it worked. ;) But then again, nobody else is replying so... Well I finally got PHP 4.4.2 installed. I ended up having to install a fresh version of Apache2 and then compiling PHP into that version. Now I have the fun task of configuring the new install of Apache2 with all the current sites on that server so they can run PHP 4.4.2 Thanks for the help! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Upgrade Question
Tom Ray wrote: snip Ok so I can't find apxs on the server at all, even though the 4.3.4 phpinfo claims to have been configured with --with-apxs2=/usr/sbin/apxs2-prefork. I did some search via google and I reconfigured using --enable-cli and --disable-cgi but I still had to use --with-apache2=/usr/sbin/httpd2 because I need to have that correct? Since all the builds I done with PHP call on a Apache source in some way. It still compiled with it's SAPI choice being cgi then I ran 'make install-cli' and now when I do a /usr/bin/php -v I get: /snip If you don't tell it otherwise in your configure script, the cli is going to install in /usr/local/bin ^ -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP Upgrade Question
Hey all- I'm running a SuSE 9.1 box that was built from the RPMs from the CD with Apache2.0 and PHP 4.3.4. I've made modifications to the server over the last year without using the CD's and justing installing from the source. However, I just installed PHP 4.4.2 and I used all the same path calls as the build of 4.3.4 and it seems to have upgraded without an issue. When I type /usr/bin/php -v I get the following: PHP 4.4.2 (cgi) (built: May 3 2006 16:34:27) Copyright (c) 1997-2006 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies However, when I restart the web server and I run my phpinfo() script, I am still seeing the 4.3.4 build information. Did I miss something with this? I've updated other servers but they were all built using source only, no rpms... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Upgrade Question
On 5/3/06, Tom Ray [EMAIL PROTECTED] wrote: Hey all- I'm running a SuSE 9.1 box that was built from the RPMs from the CD with Apache2.0 and PHP 4.3.4. I've made modifications to the server over the last year without using the CD's and justing installing from the source. However, I just installed PHP 4.4.2 and I used all the same path calls as the build of 4.3.4 and it seems to have upgraded without an issue. When I type /usr/bin/php -v I get the following: PHP 4.4.2 (cgi) (built: May 3 2006 16:34:27) Copyright (c) 1997-2006 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies However, when I restart the web server and I run my phpinfo() script, I am still seeing the 4.3.4 build information. Did I miss something with this? I've updated other servers but they were all built using source only, no rpms... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Just a stab in the dark, but are you sure you built it the way you meant? Your php says cgi. Did you mean to compile as cgi or with apxs? That might be the problem. But I could be very wrong. Appologies if I am. Another thing to consider is if you built it, you could easily have different versions installed on the machine. Issuing a locate /bin/php might prove that or not.
Re: [PHP] PHP Upgrade Question
On 05.03.2006 at 16:46:21, Eric Butera [EMAIL PROTECTED] wrote: On 5/3/06, Tom Ray [EMAIL PROTECTED] wrote: Hey all- I'm running a SuSE 9.1 box that was built from the RPMs from the CD with Apache2.0 and PHP 4.3.4. I've made modifications to the server over the last year without using the CD's and justing installing from the source. However, I just installed PHP 4.4.2 and I used all the same path calls as the build of 4.3.4 and it seems to have upgraded without an issue. When I type /usr/bin/php -v I get the following: PHP 4.4.2 (cgi) (built: May 3 2006 16:34:27) Copyright (c) 1997-2006 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies However, when I restart the web server and I run my phpinfo() script, I am still seeing the 4.3.4 build information. Did I miss something with this? I've updated other servers but they were all built using source only, no rpms... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Just a stab in the dark, but are you sure you built it the way you meant? Your php says cgi. Did you mean to compile as cgi or with apxs? That might be the problem. But I could be very wrong. Appologies if I am. No, you're not. I tried to build with apxs because that is what the phpinfo file calls on --with-apxs2=/usr/sbin/apxs2-prefork but apxs2-prefork doesn't exist there or within the apache2 directory structure. I ended up using --with-httpd2=/usr/sbin/httpd2 because thats the closest I found. It also had --without-cli in the phpinfo so that's what I used in the new configuration. Perhaps that is the problem? Another thing to consider is if you built it, you could easily have different versions installed on the machine. Issuing a locate /bin/php might prove that or not. Only one version installed on the server. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Upgrade Question
On 05.03.2006 at 16:46:21, Eric Butera [EMAIL PROTECTED] wrote: On 5/3/06, Tom Ray [EMAIL PROTECTED] wrote: Hey all- I'm running a SuSE 9.1 box that was built from the RPMs from the CD with Apache2.0 and PHP 4.3.4. I've made modifications to the server over the last year without using the CD's and justing installing from the source. However, I just installed PHP 4.4.2 and I used all the same path calls as the build of 4.3.4 and it seems to have upgraded without an issue. When I type /usr/bin/php -v I get the following: PHP 4.4.2 (cgi) (built: May 3 2006 16:34:27) Copyright (c) 1997-2006 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies However, when I restart the web server and I run my phpinfo() script, I am still seeing the 4.3.4 build information. Did I miss something with this? I've updated other servers but they were all built using source only, no rpms... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Just a stab in the dark, but are you sure you built it the way you meant? Your php says cgi. Did you mean to compile as cgi or with apxs? That might be the problem. But I could be very wrong. Appologies if I am. Ok so I can't find apxs on the server at all, even though the 4.3.4 phpinfo claims to have been configured with --with-apxs2=/usr/sbin/apxs2-prefork. I did some search via google and I reconfigured using --enable-cli and --disable-cgi but I still had to use --with-apache2=/usr/sbin/httpd2 because I need to have that correct? Since all the builds I done with PHP call on a Apache source in some way. It still compiled with it's SAPI choice being cgi then I ran 'make install-cli' and now when I do a /usr/bin/php -v I get: PHP 4.4.2 (cli) (built: May 3 2006 18:36:11) Copyright (c) 1997-2006 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies But when I restart apache I'm still seeing 4.3.4 in the phpinfo() information. I've even restarted the server with no luck. Can someone tell me what I missing? It seems SuSE compiled PHP with the --disable-session call in the configuration and we need Sessions enable to support Zencart and phpOpenChat for some clients. Another thing to consider is if you built it, you could easily have different versions installed on the machine. Issuing a locate /bin/php might prove that or not. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Upgrade Question
Ok so I can't find apxs on the server at all, even though the 4.3.4phpinfo claims to have been configured with --with-apxs2=/usr/sbin/apxs2-prefork. I did some search via google and I reconfigured using --enable-cli and --disable-cgi but I still had to use --with-apache2=/usr/sbin/httpd2 because I need to have that correct? Since all the builds I done with PHP call on a Apache source in some way. It still compiled with it's SAPI choice being cgi then I ran 'make install-cli' and now when I do a /usr/bin/php -v I get: PHP 4.4.2 (cli) (built: May 3 2006 18:36:11) Copyright (c) 1997-2006 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies But when I restart apache I'm still seeing 4.3.4 in the phpinfo() information. I've even restarted the server with no luck. Can someone tell me what I missing? It seems SuSE compiled PHP with the --disable-session call in the configuration and we need Sessions enable to support Zencart and phpOpenChat for some clients. Another thing to consider is if you built it, you could easily have different versions installed on the machine. Issuing a locate /bin/php might prove that or not. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php I run Ubuntu Dapper Drake at home (the only place I've dabbled with compiling php). To get it to compile I had to install the packages apache2-mpm-prefork and apache2-prefork-dev to get the system setup correctly. By default it had something else which did not give me apxs2. My apxs2 is in /usr/bin/apxs2. So maybe if you could figure out how to get that package /usr/sbin/apxs2-prefork on your system that might do it. I'm really not the one who should be giving any advice on this since I just kept beating on mine till it worked. ;) But then again, nobody else is replying so...