[PHP] PHP Upgrade Problem
Folks, I upgraded from PHP 5.2.6 to 5.3.1 on my test machine. Pretty easy, just installed FastCGI for IIS6, installed PHP 5.3.1 and entered the .php ext stuff into IIS6. Now I tried it on my production box. No go. Although the web extension FastCGI Handler can be enabled with no problems, PHP doesn't work. I get an error in the application log: EventID: 1000 Source: Application Error Faulting application php-cgi.exe, version 5.3.1.0, faulting module php5ts.dll, version 5.3.1.0, fault address 0x000f4d40. Does anyone have any ideas? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP Upgrade: 5 or 6
Hi all. I've reading on some sites [1,2] that PHP 6 is comming soon... What should I do? Migrate my server and apps to PHP 5 now and, later to PHP 6, or wait some more time and migrate all to PHP 6? TIA -- Davi Vidal [EMAIL PROTECTED] [EMAIL PROTECTED] -- Agora com fortune: The main thing is the play itself. I swear that greed for money has nothing to do with it, although heaven knows I am sorely in need of money. - Feodor Dostoyevsky -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Upgrade: 5 or 6
On 3/28/07, Davi [EMAIL PROTECTED] wrote: Hi all. I've reading on some sites [1,2] that PHP 6 is comming soon... What should I do? Migrate my server and apps to PHP 5 now and, later to PHP 6, or wait some more time and migrate all to PHP 6? TIA I think you should migrate to PHP5 now, as i think it will take some time before a real PHP6 release is coming. I don't know where you useit for. Is it development or productional? For development you could work with a CVS Snapshot, but that's not recommended for productional. But of course if you don't have any problems with the PHP you are currently using (I guess PHP 4.x), then it's not really needed to upgrade. Tijnema -- Davi Vidal [EMAIL PROTECTED] [EMAIL PROTECTED] -- Agora com fortune: The main thing is the play itself. I swear that greed for money has nothing to do with it, although heaven knows I am sorely in need of money. - Feodor Dostoyevsky -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Upgrade: 5 or 6
Tijnema ! wrote: On 3/28/07, Davi [EMAIL PROTECTED] wrote: Hi all. I've reading on some sites [1,2] that PHP 6 is comming soon... What should I do? Migrate my server and apps to PHP 5 now and, later to PHP 6, or wait some more time and migrate all to PHP 6? TIA I think you should migrate to PHP5 now, as i think it will take some time before a real PHP6 release is coming. I don't know where you useit for. Is it development or productional? For development you could work with a CVS Snapshot, but that's not recommended for productional. But of course if you don't have any problems with the PHP you are currently using (I guess PHP 4.x), then it's not really needed to upgrade. I agree and disagree - I agree with you should migrate to PHP5 *NOW* (my emphasis added) and I disagree with then it's not really needed to upgrade. (unless you don't care about security.) Ilia Alshanetsky gave a great talk on this topic recently, http://ilia.ws/talks/ scroll to the bottom to (PDF) Migrating to PHP 5.2.1. Travis Doherty -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Upgrade: 5 or 6
On 3/28/07, Travis Doherty [EMAIL PROTECTED] wrote: Tijnema ! wrote: On 3/28/07, Davi [EMAIL PROTECTED] wrote: Hi all. I've reading on some sites [1,2] that PHP 6 is comming soon... What should I do? Migrate my server and apps to PHP 5 now and, later to PHP 6, or wait some more time and migrate all to PHP 6? TIA I think you should migrate to PHP5 now, as i think it will take some time before a real PHP6 release is coming. I don't know where you useit for. Is it development or productional? For development you could work with a CVS Snapshot, but that's not recommended for productional. But of course if you don't have any problems with the PHP you are currently using (I guess PHP 4.x), then it's not really needed to upgrade. I agree and disagree - I agree with you should migrate to PHP5 *NOW* (my emphasis added) and I disagree with then it's not really needed to upgrade. (unless you don't care about security.) Ilia Alshanetsky gave a great talk on this topic recently, http://ilia.ws/talks/ scroll to the bottom to (PDF) Migrating to PHP 5.2.1. Travis Doherty I said if you don't have any problems, so also no problems with security :) Tijnema -- 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 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...
Re: [PHP] PHP upgrade on Go Daddy virtual server
Have you tried GoDaddy support? On 2/25/06, Nicolas Verhaeghe [EMAIL PROTECTED] wrote: Has anybody heard (or done it himself) how to upgrade PHP on a Go Daddy virtual server? Current version is 4.3.11 and I'd like to upgrade to 5.1.2. All I know is that this server is a Red Hat Fedora 2. I have SSH access and root as well.
RE: [PHP] PHP upgrade on Go Daddy virtual server
Can't help. They basically tell you you are on your own. -Original Message- From: Gerry Danen [mailto:[EMAIL PROTECTED] Sent: Sunday, February 26, 2006 12:15 PM To: Nicolas Verhaeghe Cc: PHP General (E-mail) Subject: Re: [PHP] PHP upgrade on Go Daddy virtual server Have you tried GoDaddy support? On 2/25/06, Nicolas Verhaeghe [EMAIL PROTECTED] wrote: Has anybody heard (or done it himself) how to upgrade PHP on a Go Daddy virtual server? Current version is 4.3.11 and I'd like to upgrade to 5.1.2. All I know is that this server is a Red Hat Fedora 2. I have SSH access and root as well. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP upgrade on Go Daddy virtual server
Nicolas Verhaeghe wrote: Can't help. They basically tell you you are on your own. http://us2.php.net/manual/en/install.php -- By-Tor.com ...it's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP upgrade on Go Daddy virtual server
Has anybody heard (or done it himself) how to upgrade PHP on a Go Daddy virtual server? Current version is 4.3.11 and I'd like to upgrade to 5.1.2. All I know is that this server is a Red Hat Fedora 2. I have SSH access and root as well. Thanks for your help! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP upgrade
How to upgrade PHP 4.3.2 to new version? OS is Linux(Fedora Core 2). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP upgrade
On Fri, 3 Dec 2004 15:56:26 -0500, Jerry Swanson [EMAIL PROTECTED] wrote: How to upgrade PHP 4.3.2 to new version? OS is Linux(Fedora Core 2). http://www.php.net/manual/en/install.unix.php -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP upgrade... issues???
I've just got this mail from my host... = Dear customer, This email is sent to inform you that we'll upgrade the PHP version on your server to the latest stable version 4.3.8 within the next hour. = Are there any issues that I need to panic about...? I'm off to google now, but am just having a panic attack, and hope that I can sit back knowing that my PHP pages will still work... Cheers... Tris... * The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. *** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP upgrade... issues???
[EMAIL PROTECTED] wrote: I've just got this mail from my host... = Dear customer, This email is sent to inform you that we'll upgrade the PHP version on your server to the latest stable version 4.3.8 within the next hour. = Are there any issues that I need to panic about...? I'm off to google now, but am just having a panic attack, and hope that I can sit back knowing that my PHP pages will still work... I wouldn't be too worried. PHP 4.3.8 Changelog: http://us2.php.net/ChangeLog-4.php -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP upgrade... issues???
[EMAIL PROTECTED] wrote: This email is sent to inform you that we'll upgrade the PHP version on your server to the latest stable version 4.3.8 within the next hour. = Are there any issues that I need to panic about...? Don't worry about, I'm sure you will have any problem as it only fixes some security bugs. Mine is upgrading today alto to 4.3.8 (From 4.3.7), and before where many, many upgrade versions. My only problem is that I cannot test pages on my preview server, during this time. My only worry is my pub being opened to have a beer with friend ;) Regards, Jordi Canals -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP upgrade... issues???
Phew! However, While reading about php upgrades, I've got the impression that version 5, will not support MySQL by default... Does that mean that I'll have to ensure my hosts install an extra module, or worse case senario, I'll have to re-write all my pages, to take new code into effect... I' know I'm sounding liek a worried mother hen, but I can't seem to find confirmation on line?!?! Ho hum, nearly Friday eh? John W. Holmes [EMAIL PROTECTED] 15/07/2004 17:40 To [EMAIL PROTECTED] cc [EMAIL PROTECTED] Subject Re: [PHP] PHP upgrade... issues??? [EMAIL PROTECTED] wrote: I've just got this mail from my host... = Dear customer, This email is sent to inform you that we'll upgrade the PHP version on your server to the latest stable version 4.3.8 within the next hour. = Are there any issues that I need to panic about...? I'm off to google now, but am just having a panic attack, and hope that I can sit back knowing that my PHP pages will still work... I wouldn't be too worried. PHP 4.3.8 Changelog: http://us2.php.net/ChangeLog-4.php -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals www.phparch.com * The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ***
Re: [PHP] PHP upgrade... issues???
[EMAIL PROTECTED] wrote: Phew! However, While reading about php upgrades, I've got the impression that version 5, will not support MySQL by default... Does that mean that I'll have to ensure my hosts install an extra module, or worse case senario, I'll have to re-write all my pages, to take new code into effect... I' know I'm sounding liek a worried mother hen, but I can't seem to find confirmation on line?!?! 4.3.8 is not version 5.0.0. Mysql support stays the same, and I'm sure your host will not dump mysql support even if it wasn't. 4.3.8 is merely a bugfix version. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Upgrade Problem
I thing, you must use $s = getenv('SCRIPT_URL'); and not $s = getenv('SCRIPT_NAME'); in php ver 4.3.2 Shaun wrote: Hi, The following code snippet is supposed to return the current page i am on and append some variables. $s = getenv('SCRIPT_NAME'); $link = $s?month=$monthyear=$yeargoto_date=yes; However, since upgrading to PHP version 4.3.2 it returns the following URL: execscriptdir/php.cgi?day=19month=07year=2003goto_date=yes when it should be bookings.php?day=19month=07year=2003goto_date=yes can anyone help please? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP Upgrade Problem
Hi, The following code snippet is supposed to return the current page i am on and append some variables. $s = getenv('SCRIPT_NAME'); $link = $s?month=$monthyear=$yeargoto_date=yes; However, since upgrading to PHP version 4.3.2 it returns the following URL: execscriptdir/php.cgi?day=19month=07year=2003goto_date=yes when it should be bookings.php?day=19month=07year=2003goto_date=yes can anyone help please? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Upgrade Problem
* Thus wrote Shaun ([EMAIL PROTECTED]): Hi, The following code snippet is supposed to return the current page i am on and append some variables. $s = getenv('SCRIPT_NAME'); $link = $s?month=$monthyear=$yeargoto_date=yes; However, since upgrading to PHP version 4.3.2 it returns the following URL: execscriptdir/php.cgi?day=19month=07year=2003goto_date=yes when it should be bookings.php?day=19month=07year=2003goto_date=yes can anyone help please? Hm.. so what kind of environment are you in CGI? Is that the exact text that it is returning? ie execscriptdir/php.cgi Oh and one last quetion, have you tried using getenv('PHP_SELF')? I'm not sure if PHP_SELF will make a difference, but i would try it anyway. Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP Upgrade
Hai all I am using Apache/PHP4.0.1/PostgreSQL, I had upgraded PHP to PHP.4.2.3, now My problem is none of my PostgreSQL function are working and also the server variables(e.g $REQUEST_METHOD..)also, Can any one please help me out to fix this problem. This is the first time I have upgraded my PHP. My earlier installation of PHP was default installation, ie while installing linux7.1 it got installed, I havent done anything in php.ini file. Regards Ramesh N __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Upgrade
Ramesh Nagendra Pillai wrote: I am using Apache/PHP4.0.1/PostgreSQL, I had upgraded PHP to PHP.4.2.3, now My problem is none of my register_globals now defaults to off. I think this may be your problem. HTH Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Upgrade
Ramesh, Since php 4.2.0 register_globals is always set off - look in your php.ini Cheers Simon -Original Message- From: Ramesh Nagendra Pillai [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 08:30 To: [EMAIL PROTECTED] Subject: [PHP] PHP Upgrade Hai all I am using Apache/PHP4.0.1/PostgreSQL, I had upgraded PHP to PHP.4.2.3, now My problem is none of my PostgreSQL function are working and also the server variables(e.g $REQUEST_METHOD..)also, Can any one please help me out to fix this problem. This is the first time I have upgraded my PHP. My earlier installation of PHP was default installation, ie while installing linux7.1 it got installed, I havent done anything in php.ini file. Regards Ramesh N __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP UPGRADE on LINUX
It really depends on what version you have now. I'd say the biggest thing to look out for is the register_globals, which is now defaulted to Off. This will break lots of sites!!! Turn it on unless you want your phone to ring for days. Users should, however, be urged to get used to coding with it off. It can be turned off on a per directory basis using .htaccess. I have not actually tried this but one of our users reported a problem with setcookie. He was doing this: setcookie('username', $username, , $protected_dir); The manual says you must use an integer for the expire argument and cannot escape with an empty string so I'm surprised it ever worked at all, but he says it did work before the upgrade. I had him switch to this: setcookie('username', $username, 0, $protected_dir); Other than that you might have some Redhat specific problems that I'm unaware of. I don't see why you people put up with that rpm crap. :-) Jim Grill Support Web-1 Hosting http://www.web-1hosting.net - Original Message - From: karthikeyan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 26, 2002 3:55 PM Subject: [PHP] PHP UPGRADE on LINUX Hi, We have to upgrade our PHP to the latest stable version on Redhat Linux 7.3. We have lots of user using our PHP so what are all the precautions and steps involved while doing this operations without disturbing their existing program. All responses are welcome. karthikeyan. - Judge not, that ye be not Judged - Abraham Lincoln's favorite quote - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php