[PHP] pcntl_fork behavior with php version 5.1.2
Hi, i got some trouble with a PHP script using pcntl_fork do run some work in background. Runnig my script on my development system (PHP version 5.3.3-7) it behaves like intended. But running it on my production test system (PHP version PHP 5.1.2), i got some strange results. The problem is, that when i logout from my SSH session the console closes not properly, like somethings is kept open. Sadly, updating this old PHP version is not a option... :/ Does anyone have an idea whats going on? Thanks in advance Ralf The script is this: #!/usr/bin/env php ?php $pid = pcntl_fork(); if ($pid == -1) { die('Fork failed!'); } else if($pid 0) { exit(0); // close parent process } else { // child process: while(true) { sleep(10); // do your work -- stripped } } ? do not work with: PHP 5.1.2 with Suhosin-Patch 0.9.6 (cli) (built: Dec 12 2007 02:42:35) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies works with: PHP 5.3.3-7+squeeze3 with Suhosin-Patch (cli) (built: Jun 28 2011 08:24:40) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH
Re: [PHP] pcntl_fork behavior with php version 5.1.2
On 03/29/2012 12:49 PM, Ralf Gnädinger wrote: Hi, i got some trouble with a PHP script using pcntl_fork do run some work in background. Runnig my script on my development system (PHP version 5.3.3-7) it behaves like intended. But running it on my production test system (PHP version PHP 5.1.2), i got some strange results. The problem is, that when i logout from my SSH session the console closes not properly, like somethings is kept open. Sadly, updating this old PHP version is not a option... :/ Does anyone have an idea whats going on? Thanks in advance Ralf The script is this: #!/usr/bin/env php ?php $pid = pcntl_fork(); if ($pid == -1) { die('Fork failed!'); } else if($pid 0) { exit(0); // close parent process } else { // child process: while(true) { sleep(10); // do your work -- stripped } } ? do not work with: PHP 5.1.2 with Suhosin-Patch 0.9.6 (cli) (built: Dec 12 2007 02:42:35) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies works with: PHP 5.3.3-7+squeeze3 with Suhosin-Patch (cli) (built: Jun 28 2011 08:24:40) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH This sounds more like an OS issue then a PHP issue. What are the two OSs involved? -- Jim Lucas http://www.cmsws.com/ http://www.cmsws.com/examples/ http://www.bendsource.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] pcntl_fork behavior with php version 5.1.2
On 29 Mar 2012, at 20:49, Ralf Gnädinger wrote: i got some trouble with a PHP script using pcntl_fork do run some work in background. Runnig my script on my development system (PHP version 5.3.3-7) it behaves like intended. But running it on my production test system (PHP version PHP 5.1.2), i got some strange results. The problem is, that when i logout from my SSH session the console closes not properly, like somethings is kept open. Sadly, updating this old PHP version is not a option... :/ Does anyone have an idea whats going on? Thanks in advance Ralf The script is this: #!/usr/bin/env php ?php $pid = pcntl_fork(); if ($pid == -1) { die('Fork failed!'); } else if($pid 0) { exit(0); // close parent process } else { // child process: while(true) { sleep(10); // do your work -- stripped } } ? do not work with: PHP 5.1.2 with Suhosin-Patch 0.9.6 (cli) (built: Dec 12 2007 02:42:35) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies works with: PHP 5.3.3-7+squeeze3 with Suhosin-Patch (cli) (built: Jun 28 2011 08:24:40) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH You need to detach the child from the terminal using posix_setsid(). I don't know why it's working on your development machine, but it's probably simply that you're not seeing this issue due to how you access that development machine. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] pcntl_fork behavior with php version 5.1.2
development os is Debian GNU/Linux 6.0 test os is SUSE LINUX 10.1 (i586) Am 29. März 2012 23:02 schrieb Jim Lucas li...@cmsws.com: On 03/29/2012 12:49 PM, Ralf Gnädinger wrote: Hi, i got some trouble with a PHP script using pcntl_fork do run some work in background. Runnig my script on my development system (PHP version 5.3.3-7) it behaves like intended. But running it on my production test system (PHP version PHP 5.1.2), i got some strange results. The problem is, that when i logout from my SSH session the console closes not properly, like somethings is kept open. Sadly, updating this old PHP version is not a option... :/ Does anyone have an idea whats going on? Thanks in advance Ralf The script is this: #!/usr/bin/env php ?php $pid = pcntl_fork(); if ($pid == -1) { die('Fork failed!'); } else if($pid 0) { exit(0); // close parent process } else { // child process: while(true) { sleep(10); // do your work -- stripped } } ? do not work with: PHP 5.1.2 with Suhosin-Patch 0.9.6 (cli) (built: Dec 12 2007 02:42:35) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies works with: PHP 5.3.3-7+squeeze3 with Suhosin-Patch (cli) (built: Jun 28 2011 08:24:40) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH This sounds more like an OS issue then a PHP issue. What are the two OSs involved? -- Jim Lucas http://www.cmsws.com/ http://www.cmsws.com/examples/ http://www.bendsource.com/
Re: [PHP] pcntl_fork behavior with php version 5.1.2
I will try posix_setsid(). Both machines were accessed via a ssh client (e.g. putty or ssh from a other linux box). Thanks for your advice. Am 29. März 2012 23:08 schrieb Stuart Dallas stu...@3ft9.com: On 29 Mar 2012, at 20:49, Ralf Gnädinger wrote: i got some trouble with a PHP script using pcntl_fork do run some work in background. Runnig my script on my development system (PHP version 5.3.3-7) it behaves like intended. But running it on my production test system (PHP version PHP 5.1.2), i got some strange results. The problem is, that when i logout from my SSH session the console closes not properly, like somethings is kept open. Sadly, updating this old PHP version is not a option... :/ Does anyone have an idea whats going on? Thanks in advance Ralf The script is this: #!/usr/bin/env php ?php $pid = pcntl_fork(); if ($pid == -1) { die('Fork failed!'); } else if($pid 0) { exit(0); // close parent process } else { // child process: while(true) { sleep(10); // do your work -- stripped } } ? do not work with: PHP 5.1.2 with Suhosin-Patch 0.9.6 (cli) (built: Dec 12 2007 02:42:35) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies works with: PHP 5.3.3-7+squeeze3 with Suhosin-Patch (cli) (built: Jun 28 2011 08:24:40) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH You need to detach the child from the terminal using posix_setsid(). I don't know why it's working on your development machine, but it's probably simply that you're not seeing this issue due to how you access that development machine. -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/
Re: [PHP] PHP Version: 5.2.5.
On Mon, 2011-10-17 at 17:43 +0100, Joseph Adenuga wrote: Hello Ashley, Many thanks for your email. Yes, I'm calling the script from my Firefox browser. I've tried all I can to find other ways to open the file but, with no luck. Please I'm thanking you in anticipation. I look forward to hearing from you. Best Wishes, Joseph --- On Mon, 17/10/11, Ashley Sheridan a...@ashleysheridan.co.uk wrote: From: Ashley Sheridan a...@ashleysheridan.co.uk Subject: Re: [PHP] PHP Version: 5.2.5. To: Joseph Adenuga jadenu...@yahoo.com, php-general@lists.php.net Date: Monday, 17 October, 2011, 8:02 Joseph Adenuga jadenu...@yahoo.com wrote: Operating System: Window XP PHP Version: 5.2.5. with Apache 2.2.8 My Firefox browser returns (Output) the same php script code I inserted in Notepad: ?php echo h1Hello Web!/h1; ? Please, what am I doing wrong? How are you calling the script? If you're just trying to open the file in a browser then it won't work, you need to call it from a web server (apache or iis). Most usually this is from the url localhost/script.php or 127.0.0.1/script.php Let us know how you're calling it and we can help further. Thanks, Ash http://www.ashleysheridan.co.uk -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Please reply to the list and not back to only me. You say you're opening it with Firefox, but you haven't said how or where from? Are you running it from a local web server via something like localhost or 127.0.0.1, or are you trying to open it up by selecting the file in your file manager and saying open with firefox? -- Thanks, Ash http://www.ashleysheridan.co.uk
[PHP] PHP Version: 5.2.5.
Operating System: Window XP PHP Version: 5.2.5. with Apache 2.2.8 My Firefox browser returns (Output) the same php script code I inserted in Notepad: ?php echo h1Hello Web!/h1; ? Please, what am I doing wrong?
RE: [PHP] PHP Version: 5.2.5.
Hi, PHP parser is not enabled ( module not enabled or not associated with .php/.html/.htm files! ) Cheers, Tamas -Original Message- From: Joseph Adenuga [mailto:jadenu...@yahoo.com] Sent: Monday, October 17, 2011 3:55 PM To: php-general@lists.php.net Cc: jadenu...@yahoo.com Subject: [PHP] PHP Version: 5.2.5. Operating System: Window XP PHP Version: 5.2.5. with Apache 2.2.8 My Firefox browser returns (Output) the same php script code I inserted in Notepad: ?php echo h1Hello Web!/h1; ? Please, what am I doing wrong? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Version: 5.2.5.
Joseph Adenuga jadenu...@yahoo.com wrote: Operating System: Window XP PHP Version: 5.2.5. with Apache 2.2.8 My Firefox browser returns (Output) the same php script code I inserted in Notepad: ?php echo h1Hello Web!/h1; ? Please, what am I doing wrong? How are you calling the script? If you're just trying to open the file in a browser then it won't work, you need to call it from a web server (apache or iis). Most usually this is from the url localhost/script.php or 127.0.0.1/script.php Let us know how you're calling it and we can help further. Thanks, Ash http://www.ashleysheridan.co.uk -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP Version: 5.2.5.
what did you name your file? If it didn't have a .php extension, it won't work. Joseph Adenuga jadenu...@yahoo.com wrote in message news:1318859708.50026.yahoomailclas...@web29517.mail.ird.yahoo.com... Operating System: Window XP PHP Version: 5.2.5. with Apache 2.2.8 My Firefox browser returns (Output) the same php script code I inserted in Notepad: ?php echo h1Hello Web!/h1; ? Please, what am I doing wrong? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Version de MySQL
Hola colegas. Neceseto saber con qué función de PHP (si la hay) puedo optener la versión del MySQL que estoy utilizando. Gracias de antemano. Salu2 MSc. Carlos Pollán Estrada. Esp. Ciencias de la Computación. Archivo Histórico de Manzanillo. Cuba.
Re: [PHP] Version de MySQL
2010/5/19 MSc. Carlos Pollán Estrada cpol...@ahm.granma.inf.cu Hola colegas. Neceseto saber con qué función de PHP (si la hay) puedo optener la versión del MySQL que estoy utilizando. Gracias de antemano. Salu2 MSc. Carlos Pollán Estrada. Esp. Ciencias de la Computación. Archivo Histórico de Manzanillo. Cuba. ?php $link = mysql_connect('localhost', 'mysql_user', 'mysql_password'); if (!$link) { die('Could not connect: ' . mysql_error()); } printf(MySQL server version: %s\n, mysql_get_server_info()); ? -- Nephtali: PHP web framework that functions beautifully http://nephtaliproject.com
Re: [PHP] Re: PHP execute very slow : PHP Version 5.2.6
have you tried using a profiler like xdebug? or may be it is not a php issue at all.. i find https://addons.mozilla.org/en-US/firefox/addon/1843 to be helpful in these situations -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP execute very slow : PHP Version 5.2.6
On 4/10/2010 9:07 PM, Kristijan Marin wrote: Hi, I'm experiencing very slow performance of my php scripts ... At first and for a long time I thought it was Oracle fault cause I didn't use binding (I rewrote the code ), but the performance is still bad. So I tested my sql statement and did some time measurement and found out that Oracle can fetch 300 records in less then 2 seconds, but PHP needs 210seconds ... to display it to the user I'm using default php.ini I have a horizontal menu with buttons to switch pages . and just switching pages takes time with minimum or no oracle interactions. My php version: 5.2.6 OS: Windows XP sP3 and Windows Server 2008 Testing it in PHPEd using internal PHPEd server and FastCGI ... and also on Windows 2008 server in IIS ...same results both using the same php.ini Would anyone know what could be the cause of this ? Any hit is appreciated. Kris Use microtime() and record execution times at various points in your script. Save the times and its corresponding script line number in a string, with suitable formating br /s etc. At the end of the script, echo it. Incidentally, are you echo-ing output to the client as the info is available, or using output buffering? Will make big difference if you are sending a lot of output pieces. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: What PHP version are you using?
Israel Ekpo wrote: Hi Guys, I just want to conduct a quick survey to find out what version of PHP people are using in their production environments. I have a PHP extension for Solr that I have set the minimum required version as 5.2.11. http://pecl.php.net/package/solr/ However, most of the PHP users that want to use it are unable to do so because the PHP version in the PROD environments is below 5.2.11 They are also nervous about upgrading to newer versions as it will require some regression testing. In my production environment I am using 5.3.0 and most of the people that I have contacted seems to be running 5.2.10 When I released the extension, I did all my regression tests against PHP 5.2.11 and now I am considering doing regression tests against 5.2.4 (released 30 August 2007) and newer versions so that I can set the minimum required version to 5.2.4 in order to accommodate more people. I cannot go below 5.2.0 though but I am thinking about starting at 5.2.4 and newer. I would really appreciate some feedback as it will be useful in helping me determine which PHP version numbers to do my regression tests against. Thanks. PHP 5.2.4-2 on most production boxes mixed 5.1.6, 5.2 and 5.3's in dev environments + interesting release; wish I'd known spent part of the first week in october doing a SOLR integration in PHP *sigh* - on to virtuoso now -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: What PHP version are you using?
On Wed, 2009-11-04 at 14:37 +, Nathan Rixham wrote: Israel Ekpo wrote: Hi Guys, I just want to conduct a quick survey to find out what version of PHP people are using in their production environments. I have a PHP extension for Solr that I have set the minimum required version as 5.2.11. http://pecl.php.net/package/solr/ However, most of the PHP users that want to use it are unable to do so because the PHP version in the PROD environments is below 5.2.11 They are also nervous about upgrading to newer versions as it will require some regression testing. In my production environment I am using 5.3.0 and most of the people that I have contacted seems to be running 5.2.10 When I released the extension, I did all my regression tests against PHP 5.2.11 and now I am considering doing regression tests against 5.2.4 (released 30 August 2007) and newer versions so that I can set the minimum required version to 5.2.4 in order to accommodate more people. I cannot go below 5.2.0 though but I am thinking about starting at 5.2.4 and newer. I would really appreciate some feedback as it will be useful in helping me determine which PHP version numbers to do my regression tests against. Thanks. PHP 5.2.4-2 on most production boxes mixed 5.1.6, 5.2 and 5.3's in dev environments + interesting release; wish I'd known spent part of the first week in october doing a SOLR integration in PHP *sigh* - on to virtuoso now 5.2.9 on my home laptop and main box (used for devel) 4.4.7 on my own site (stupid hosting company are useless!) and a mix of 5.x's on the sites I develop Thanks, Ash http://www.ashleysheridan.co.uk
RE: [PHP] Re: What PHP version are you using?
From: Lester Caine Israel Ekpo wrote: On Mon, Nov 2, 2009 at 2:15 PM, John Black s...@network-technologies.orgwrote: Bob McConnell wrote: I just checked the Red Hat 5.4 manifest and it shows php-5.1.6-23.el5 - php-5.1.6-23.2.el5_3. CentOS simply repackages the Red Hat kit without the proprietary bits. I don't understand why they are so far behind on a build that was just released last month, but our hosting service only provides what's in the official release. I just check the CentOS repo and the repo lists php-5.1.6-23.2.el5_3.x86_64.rpm as latest. So CentOS is as upto date as RedHat, the way it should be. That is not good. 5.1.6 was released in August 2006. More than 3 years ago. There are a lot of bug fixes since then http://www.php.net/ChangeLog-5.php It looks like the php libraries are not maintained in CentOS and Red Hat Repositories. There are very good reasons why a 'long time supported' build does not keep replacing packages all the time. It is gauranteed NOT to change them, so compatibility problems introduced by PHP such as the 'date' problem will not come up and bit ANY of their customers. I believe that there is a new version due on a couple of 'long time supported' distributions, but the current 'instability' with PHP5.3 potentially requiring changes to deployed applications is the sort of thing that these builds are supposed to avoid. I'll be staying with 5.2.x for a while simply because I know that is stable with my current code base. So it IS good that a stable and understood build of PHP is used as no one would gaurantee that later builds will not introduce problems - especially following a change of minor versions. I agree that stability is good, but at some point reality must enter the picture. Continuing to distribute an obsolete package that is no longer supported nor maintained is not good for anyone, least of all the users of those systems. First, the distribution must also include the obsolete documentation to match the versions it includes, since that is no longer available elsewhere and is difficult to identify when it does. In addition, newer features are assumed by many of the other tools, frameworks and applications that are used on or with those systems, none of which are likely to work with these old versions. In our case we require our hosting service to install 5.2.10, which costs us extra in both time and money. But several of the other third party components used with our applications assume the availability of features in that release. They simply won't work with older versions. That minimum is reviewed every time we consider adding new capabilities to our systems, which generally happens every other month. We already have developers looking forward to 5.3 and drooling over the possibilities. I'm just happy that we will finally rid ourselves of some of the magic features. Bob McConnell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: What PHP version are you using?
On Mon, Nov 2, 2009 at 2:15 PM, John Black s...@network-technologies.orgwrote: Bob McConnell wrote: I just checked the Red Hat 5.4 manifest and it shows php-5.1.6-23.el5 - php-5.1.6-23.2.el5_3. CentOS simply repackages the Red Hat kit without the proprietary bits. I don't understand why they are so far behind on a build that was just released last month, but our hosting service only provides what's in the official release. I just check the CentOS repo and the repo lists php-5.1.6-23.2.el5_3.x86_64.rpm as latest. So CentOS is as upto date as RedHat, the way it should be. -- John Define: Ubuntard = The drivel this guy spews is inane and forgettable stuff, characterized by comments that treat Ubuntu as if it is the only distribution in existence. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php That is not good. 5.1.6 was released in August 2006. More than 3 years ago. There are a lot of bug fixes since then http://www.php.net/ChangeLog-5.php It looks like the php libraries are not maintained in CentOS and Red Hat Repositories. -- Good Enough is not good enough. To give anything less than your best is to sacrifice the gift. Quality First. Measure Twice. Cut Once.
Re: [PHP] Re: What PHP version are you using?
Israel Ekpo wrote: That is not good. 5.1.6 was released in August 2006. More than 3 years ago. There are a lot of bug fixes since then http://www.php.net/ChangeLog-5.php It looks like the php libraries are not maintained in CentOS and Red Hat Repositories. I posted the current RHEL version because, personally, I would look at the latest release of one of the biggest Enterprise class Linux vendors before deciding on a PHP version. The larger distros only tend to upgrade packages when required because other packages need them or when a security issues has been discovered. Other times they will patch in security fixes applied to packages. The tradeoff here is that you get something older but the system you receive is solid. I run ARCH Linux on my home system because I like to test the latest releases BUT I want stable software on my servers. -- John They hurt you at home and they hit you at school, They hate you if you're clever and they despise a fool, Till you're so fucking crazy you can't follow their rules... [John Lennon] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: What PHP version are you using?
Israel Ekpo wrote: On Mon, Nov 2, 2009 at 2:15 PM, John Black s...@network-technologies.orgwrote: Bob McConnell wrote: I just checked the Red Hat 5.4 manifest and it shows php-5.1.6-23.el5 - php-5.1.6-23.2.el5_3. CentOS simply repackages the Red Hat kit without the proprietary bits. I don't understand why they are so far behind on a build that was just released last month, but our hosting service only provides what's in the official release. I just check the CentOS repo and the repo lists php-5.1.6-23.2.el5_3.x86_64.rpm as latest. So CentOS is as upto date as RedHat, the way it should be. That is not good. 5.1.6 was released in August 2006. More than 3 years ago. There are a lot of bug fixes since then http://www.php.net/ChangeLog-5.php It looks like the php libraries are not maintained in CentOS and Red Hat Repositories. There are very good reasons why a 'long time supported' build does not keep replacing packages all the time. It is gauranteed NOT to change them, so compatibility problems introduced by PHP such as the 'date' problem will not come up and bit ANY of their customers. I believe that there is a new version due on a couple of 'long time supported' distributions, but the current 'instability' with PHP5.3 potentially requiring changes to deployed applications is the sort of thing that these builds are supposed to avoid. I'll be staying with 5.2.x for a while simply because I know that is stable with my current code base. So it IS good that a stable and understood build of PHP is used as no one would gaurantee that later builds will not introduce problems - especially following a change of minor versions. -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] What PHP version are you using?
Hi Guys, I just want to conduct a quick survey to find out what version of PHP people are using in their production environments. I have a PHP extension for Solr that I have set the minimum required version as 5.2.11. http://pecl.php.net/package/solr/ However, most of the PHP users that want to use it are unable to do so because the PHP version in the PROD environments is below 5.2.11 They are also nervous about upgrading to newer versions as it will require some regression testing. In my production environment I am using 5.3.0 and most of the people that I have contacted seems to be running 5.2.10 When I released the extension, I did all my regression tests against PHP 5.2.11 and now I am considering doing regression tests against 5.2.4 (released 30 August 2007) and newer versions so that I can set the minimum required version to 5.2.4 in order to accommodate more people. I cannot go below 5.2.0 though but I am thinking about starting at 5.2.4 and newer. I would really appreciate some feedback as it will be useful in helping me determine which PHP version numbers to do my regression tests against. Thanks. -- Good Enough is not good enough. To give anything less than your best is to sacrifice the gift. Quality First. Measure Twice. Cut Once.
Re: [PHP] What PHP version are you using?
5.2.8, but testing 5.3 in local environment.
Re: [PHP] What PHP version are you using?
On Thu, Oct 29, 2009 at 11:15 AM, Fernando Castillo Aparicio f_c_a_1...@yahoo.es wrote: 5.2.8, but testing 5.3 in local environment. Thanks Fernando. -- Good Enough is not good enough. To give anything less than your best is to sacrifice the gift. Quality First. Measure Twice. Cut Once.
Re: [PHP] What PHP version are you using?
Israel Ekpo wrote: I would really appreciate some feedback as it will be useful in helping me determine which PHP version numbers to do my regression tests against. 5.2.0 to 5.2.11 depending on server. I'm not yet ready to move to 5.3.0 due to lack of stable support from the accelerators thus far (at least for the ones I frequent). Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] What PHP version are you using?
At 11:10 AM -0400 10/29/09, Israel Ekpo wrote: Hi Guys, I just want to conduct a quick survey to find out what version of PHP people are using in their production environments. My version depends upon the client. I have one client who is still in version 4.3.1.0. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] What PHP version are you using?
On Thu, Oct 29, 2009 at 11:47 AM, tedd tedd.sperl...@gmail.com wrote: At 11:10 AM -0400 10/29/09, Israel Ekpo wrote: Hi Guys, I just want to conduct a quick survey to find out what version of PHP people are using in their production environments. My version depends upon the client. I have one client who is still in version 4.3.1.0. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com Thanks guys. -- Good Enough is not good enough. To give anything less than your best is to sacrifice the gift. Quality First. Measure Twice. Cut Once.
Re: [PHP] What PHP version are you using?
5.2.11 here... Gr mrfroasty Israel Ekpo wrote: On Thu, Oct 29, 2009 at 11:47 AM, tedd tedd.sperl...@gmail.com wrote: At 11:10 AM -0400 10/29/09, Israel Ekpo wrote: Hi Guys, I just want to conduct a quick survey to find out what version of PHP people are using in their production environments. My version depends upon the client. I have one client who is still in version 4.3.1.0. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com Thanks guys. -- Extra details: OSS:Gentoo Linux profile:x86 Hardware:msi geforce 8600GT asus p5k-se location:/home/muhsin language(s):C/C++,VB,VHDL,bash,PHP,SQL,HTML,CSS Typo:40WPM url:http://www.mzalendo.net url:http://forums.mzalendo.net
Re: [PHP] What PHP version are you using?
2009/10/29 Israel Ekpo israele...@gmail.com Hi Guys, I just want to conduct a quick survey to find out what version of PHP people are using in their production environments. I have a PHP extension for Solr that I have set the minimum required version as 5.2.11. [snip] I cannot go below 5.2.0 though but I am thinking about starting at 5.2.4 and newer. I would really appreciate some feedback as it will be useful in helping me determine which PHP version numbers to do my regression tests against. cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.3 (Tikanga) php -v PHP 5.1.6 (cli) (built: Feb 26 2009 07:01:12) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies yum list php Loaded plugins: downloadonly, rhnplugin, security Excluding Packages in global exclude list Finished Installed Packages php.x86_64 5.1.6-23.2.el5_3 installed I wouldn't have thought this to be too uncommon. HTH
Re: [PHP] What PHP version are you using?
Like Israel it depends on the client I am doing several projects for a client now that the hosting company is still using 4.0.6 - and its been a headache. Most of the personal projects and many of my other clients are on 5.1 or higher. On Thu, Oct 29, 2009 at 12:22 PM, Tom Barrett t...@miramedia.co.uk wrote: 2009/10/29 Israel Ekpo israele...@gmail.com Hi Guys, I just want to conduct a quick survey to find out what version of PHP people are using in their production environments. I have a PHP extension for Solr that I have set the minimum required version as 5.2.11. [snip] I cannot go below 5.2.0 though but I am thinking about starting at 5.2.4 and newer. I would really appreciate some feedback as it will be useful in helping me determine which PHP version numbers to do my regression tests against. cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.3 (Tikanga) php -v PHP 5.1.6 (cli) (built: Feb 26 2009 07:01:12) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies yum list php Loaded plugins: downloadonly, rhnplugin, security Excluding Packages in global exclude list Finished Installed Packages php.x86_64 5.1.6-23.2.el5_3 installed I wouldn't have thought this to be too uncommon. HTH
Re: [PHP] What PHP version are you using?
On Thu, Oct 29, 2009 at 12:30 PM, Dan McCullough dan.mccullo...@gmail.comwrote: Like Israel it depends on the client I am doing several projects for a client now that the hosting company is still using 4.0.6 - and its been a headache. Most of the personal projects and many of my other clients are on 5.1 or higher. On Thu, Oct 29, 2009 at 12:22 PM, Tom Barrett t...@miramedia.co.uk wrote: 2009/10/29 Israel Ekpo israele...@gmail.com Hi Guys, I just want to conduct a quick survey to find out what version of PHP people are using in their production environments. I have a PHP extension for Solr that I have set the minimum required version as 5.2.11. [snip] I cannot go below 5.2.0 though but I am thinking about starting at 5.2.4 and newer. I would really appreciate some feedback as it will be useful in helping me determine which PHP version numbers to do my regression tests against. cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.3 (Tikanga) php -v PHP 5.1.6 (cli) (built: Feb 26 2009 07:01:12) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies yum list php Loaded plugins: downloadonly, rhnplugin, security Excluding Packages in global exclude list Finished Installed Packages php.x86_64 5.1.6-23.2.el5_3 installed I wouldn't have thought this to be too uncommon. HTH The internal Zend Engine version my extension was written for is 2.2.0 or newer. That is why I would not be able to go below 5.2.0, unfortunately. But so far, I appreciate your responses. Please keep it coming. -- Good Enough is not good enough. To give anything less than your best is to sacrifice the gift. Quality First. Measure Twice. Cut Once.
Re: [PHP] What PHP version are you using?
Tom Barrett wrote: 2009/10/29 Israel Ekpo israele...@gmail.com Hi Guys, I just want to conduct a quick survey to find out what version of PHP people are using in their production environments. I have a PHP extension for Solr that I have set the minimum required version as 5.2.11. [snip] I cannot go below 5.2.0 though but I am thinking about starting at 5.2.4 and newer. I would really appreciate some feedback as it will be useful in helping me determine which PHP version numbers to do my regression tests against. cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.3 (Tikanga) php -v PHP 5.1.6 (cli) (built: Feb 26 2009 07:01:12) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies yum list php Loaded plugins: downloadonly, rhnplugin, security Excluding Packages in global exclude list Finished Installed Packages php.x86_64 5.1.6-23.2.el5_3 installed I wouldn't have thought this to be too uncommon. I stand corrected... I also maintain a CentOS 5 system. I much prefer apt over yum though and so when the choice is mine I go with Debian. Debian 4 has PHP 5.2.0. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] What PHP version are you using?
Israel Ekpo wrote: I would really appreciate some feedback as it will be useful in helping me determine which PHP version numbers to do my regression tests against. I used to write software for 4.1 and above but I am now dropping PHP 4 and will only write for PHP 5 and above. I would still write for PHP4 if someone would request a custom job but everything else will be 5. My dev machine is running PHP 5.3 with Suhosin-Patch (ARCH Linux) and my main server is currently running PHP 5.1 (CentOS 5) -- John Intelligent Life http://xkcd.com/638/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: What PHP version are you using?
Israel Ekpo wrote: Hi Guys, I just want to conduct a quick survey to find out what version of PHP people are using in their production environments. I have a PHP extension for Solr that I have set the minimum required version as 5.2.11. http://pecl.php.net/package/solr/ However, most of the PHP users that want to use it are unable to do so because the PHP version in the PROD environments is below 5.2.11 They are also nervous about upgrading to newer versions as it will require some regression testing. In my production environment I am using 5.3.0 and most of the people that I have contacted seems to be running 5.2.10 When I released the extension, I did all my regression tests against PHP 5.2.11 and now I am considering doing regression tests against 5.2.4 (released 30 August 2007) and newer versions so that I can set the minimum required version to 5.2.4 in order to accommodate more people. I cannot go below 5.2.0 though but I am thinking about starting at 5.2.4 and newer. I would really appreciate some feedback as it will be useful in helping me determine which PHP version numbers to do my regression tests against. Thanks. Home/Dev: 5.2.15 Web: 5.1.6 (probably should update) -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: What PHP version are you using?
Shawn McKenzie wrote: Home/Dev: 5.2.15 Web: 5.1.6 (probably should update) O.K. so 5.2.15 doesn't exist :-( That is the Zend debugger version I have. I actually have Home/Dev: 5.2.4. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Help: PHP version not up to date after apt-get install php5-dev
Why not just compile it yourself? Why not let the ports system compile it for you and then have the choice to remove it as package whenever you like... You get it compiled and packaged the same time... :-) I guess BSD is the way to make your life easier... -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Help: PHP version not up to date after apt-get install php5-dev
Dear PHP [hard]core expert After apt-get install php5-dev on Linux (Debian, Ubuntu, Hardy Heron) with an already existing and functioning PHP5 interpreter phpinfo() still shows PHP Version 5.2.4-2ubuntu5.6. BUT at the same time phpinfo() shows Build Date: April 17 2009! This seems incongruent to me! PHP 5.2.4 is from the year 2007!!! Which version of PHP does my server run now? How can I find out in this mess? Do I really need to deinstall and reinstall PHP in order to get the right version displayed? Thank you very much for your brief info about this confusion! Philipp Schaffner, Switzerland -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Help: PHP version not up to date after apt-get install php5-dev
Philipp Schaffner wrote: Dear PHP [hard]core expert After apt-get install php5-dev on Linux (Debian, Ubuntu, Hardy Heron) with an already existing and functioning PHP5 interpreter phpinfo() still shows PHP Version 5.2.4-2ubuntu5.6. BUT at the same time phpinfo() shows Build Date: April 17 2009! This seems incongruent to me! PHP 5.2.4 is from the year 2007!!! Which version of PHP does my server run now? How can I find out in this mess? Do I really need to deinstall and reinstall PHP in order to get the right version displayed? Thank you very much for your brief info about this confusion! Philipp Schaffner, Switzerland What you installed are development (source) files needed to build PHP modules. $ apt-cache show php5-dev Version: 5.2.4-2ubuntu5.6 Description: Files for PHP5 module development This package provides the files from the PHP5 source needed for compiling additional modules. AFAIK you're out of luck on Ubuntu for releases newer than 5.2.4 at the moment. Unless you want to add a Debian repository or another third party one. -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Help: PHP version not up to date after apt-get install php5-dev
Why not just compile it yourself? On Wed, Jun 17, 2009 at 3:34 PM, Shawn McKenzienos...@mckenzies.net wrote: Philipp Schaffner wrote: Dear PHP [hard]core expert After apt-get install php5-dev on Linux (Debian, Ubuntu, Hardy Heron) with an already existing and functioning PHP5 interpreter phpinfo() still shows PHP Version 5.2.4-2ubuntu5.6. BUT at the same time phpinfo() shows Build Date: April 17 2009! This seems incongruent to me! PHP 5.2.4 is from the year 2007!!! Which version of PHP does my server run now? How can I find out in this mess? Do I really need to deinstall and reinstall PHP in order to get the right version displayed? Thank you very much for your brief info about this confusion! Philipp Schaffner, Switzerland What you installed are development (source) files needed to build PHP modules. $ apt-cache show php5-dev Version: 5.2.4-2ubuntu5.6 Description: Files for PHP5 module development This package provides the files from the PHP5 source needed for compiling additional modules. AFAIK you're out of luck on Ubuntu for releases newer than 5.2.4 at the moment. Unless you want to add a Debian repository or another third party one. -- Thanks! -Shawn http://www.spidean.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
[PHP] Version Control Software
After reading a topic on the list here about someone losing their website, and having a minor mistake on my own that cost me a week's work on a file (basically, tested the file, then uploaded to the live site and took the daily backup off the live site.. only to find the file was messed up.. and had to go to the weekly backup off cd to recover it, losing a week of work).. I'm wondering if anybody knows of a version control software program that may fit my needs. Basically, I'm looking for something that runs locally, not on the live site, that I can edit the files on the dev computer, and store old versions on the dev computer, and then just publish off of the local onto the live site whenever I need to. Anybody have any suggestons/ideas on how this should be done, and what program is a good fit? Thanks for any help, Ben
Re: [PHP] Version Control Software
Does subversion meet your needs? You can check out a working copy that's your dev copy, then check in changes and push to production whenever you want. Waynn On 8/6/08, Benjamin Darwin [EMAIL PROTECTED] wrote: After reading a topic on the list here about someone losing their website, and having a minor mistake on my own that cost me a week's work on a file (basically, tested the file, then uploaded to the live site and took the daily backup off the live site.. only to find the file was messed up.. and had to go to the weekly backup off cd to recover it, losing a week of work).. I'm wondering if anybody knows of a version control software program that may fit my needs. Basically, I'm looking for something that runs locally, not on the live site, that I can edit the files on the dev computer, and store old versions on the dev computer, and then just publish off of the local onto the live site whenever I need to. Anybody have any suggestons/ideas on how this should be done, and what program is a good fit? Thanks for any help, Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Cannot remove PHP Version 5.2.1-0.dotdeb.1
On Tue, Apr 03, 2007 at 08:56:12PM -0300, Miles Thompson wrote: Mario, Boy it's been a long day - it seems that every item I had in by configure batch had to be installed; then at the very end of the day it finally got to the --with-mysql. Had quite a scramble tryingto find the correct dev environment, then finally I was down to to two warning errors, one of which was for sqlite. Tried a make, but it wouldn't go, so I ran configure again, explicitly stating with no sqlite. Tried make again and it completed. Ran checkinstall and it packaged the puppy, installed it and signed off with a pleasant note on how to uninstall if necessary. Tomorrow we'll see how it works, and I hope I did not clobber mysql as part of this. There's an incompatibility between bzip2 and prefork-apache2-dev (or something like that). Running one clobbers the other, so since I needed apxs2 more than bzip2, that was dropped from the configuration. If you're interested I'll post another update tomorrow. Hi Miles, can you post your ./configure options. apache2-prefork-dev is the right devel package and in my environment that works fine with bzip2 and sqlite. Have you installed the libsqlite0-dev and libsqlite3-dev packages and the libbz2-dev package? I've written a little install shellscript for my own use. Greetings Mario -- - | havelsoft.com - Ihr Service Partner für Open Source | | Tel: 033876-21 966 | | Notruf: 0173-277 33 60 | | http://www.havelsoft.com| | | | Inhaber: Mario Günterberg | | Mützlitzer Strasse 19 | | 14715 Märkisch Luch | - build-php5.sh Description: Bourne shell script -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Cannot remove PHP Version 5.2.1-0.dotdeb.1
On 4/4/07, Mario Guenterberg [EMAIL PROTECTED] wrote: On Tue, Apr 03, 2007 at 08:56:12PM -0300, Miles Thompson wrote: Mario, Boy it's been a long day - it seems that every item I had in by configure batch had to be installed; then at the very end of the day it finally got to the --with-mysql. Had quite a scramble tryingto find the correct dev environment, then finally I was down to to two warning errors, one of which was for sqlite. Tried a make, but it wouldn't go, so I ran configure again, explicitly stating with no sqlite. Tried make again and it completed. Ran checkinstall and it packaged the puppy, installed it and signed off with a pleasant note on how to uninstall if necessary. Tomorrow we'll see how it works, and I hope I did not clobber mysql as part of this. There's an incompatibility between bzip2 and prefork-apache2-dev (or something like that). Running one clobbers the other, so since I needed apxs2 more than bzip2, that was dropped from the configuration. If you're interested I'll post another update tomorrow. Hi Miles, can you post your ./configure options. apache2-prefork-dev is the right devel package and in my environment that works fine with bzip2 and sqlite. Have you installed the libsqlite0-dev and libsqlite3-dev packages and the libbz2-dev package? I've written a little install shellscript for my own use. Greetings Mario -- sig snipped Mario, The contents of my configuration file are included below. I''m checking for the packages you mentioned and will add them. I'm feeling a lot more confident, having achieved a successful make and install - this is not something I do every day. Appreciate your advice - Miles #! /bin/sh ./configure --prefix=/usr/share --datadir=/usr/share/php \ --bindir=/usr/bin \ --with-apxs2=/usr/bin/apxs2 \ --with-mysql=/usr/include/mysql \ --with-mysqli \ --without-sqlite \ --without-pdo-sqlite \ --with-gd --enable-gd-imgstrttf --enable-gd-native-ttf \ --with-zlib-dir=/usr/lib \ --with-png-dir=/usr/lib --with-jpeg-dir=/usr/lib \ --with-tiff-dir=/usr/lib --with-ttf-dir=/usr/lib \ --with-freetype-dir=/usr/lib \ --enable-ftp \ --enable-memory-limit \ --enable-safe-mode \ --enable-bcmath \ --enable-calendar \ --enable-ctype --with-ftp \
Re: [PHP] Cannot remove PHP Version 5.2.1-0.dotdeb.1
Mario, That did it - when I tried to reload the phpinof.php script Apache did not know what to do with the file. Now I'll drag the compiler from it's dusty corner and start from scratch. Thanks a million - Miles On 4/2/07, Mario Guenterberg [EMAIL PROTECTED] wrote: On Mon, Apr 02, 2007 at 04:52:02PM -0300, Miles Thompson wrote: This probably belongs under php-install, but thought I would try here first, and it comes under the general header of Be careful what you wish for. On a new Ubuntu (Debian) server I installed this version of PHP because I wanted some 5.2 features. It's the hardened version, and not the one we want. I have done the conventional aptitude remove php5, and then went to all of the directories returned by whereis php5 and manually removed them. I've rebooted both the server and my own computer, and still a http://localhost/phpinfo.php returns the phpinfo() data AND shows configuration file paths: etc/php5/apache2 and /etc/php5/apache2/conf.d which have been deleted. Try dpkg --purge php-5.2.1 or so. You may have only the php binaries (CLI) removed. This removes the config-scripts at all. Apt-get remove libapache2-mod-php5 removes your apache2 modules and the dpkt --purge libapache2-mod-php5 removes all the config scripts of them. I have build php 5.2.1 from source on Ubuntu 6.10 and it works fine. Installad in /usr/local for some system reasons and of course a easy way to upgrade. Greetings Mario -- - | havelsoft.com - Ihr Service Partner für Open Source | | Tel: 033876-21 966 | | Notruf: 0173-277 33 60 | | http://www.havelsoft.com| | | | Inhaber: Mario Günterberg | | Mützlitzer Strasse 19 | | 14715 Märkisch Luch | -
Re: [PHP] Cannot remove PHP Version 5.2.1-0.dotdeb.1
On Tue, Apr 03, 2007 at 08:50:31AM -0300, Miles Thompson wrote: Mario, That did it - when I tried to reload the phpinof.php script Apache did not know what to do with the file. Now I'll drag the compiler from it's dusty corner and start from scratch. Not the debian/ubuntu way but sometimes the best solution ;-) Thanks a million - Miles :-) Greetings Mario -- - | havelsoft.com - Ihr Service Partner für Open Source | | Tel: 033876-21 966 | | Notruf: 0173-277 33 60 | | http://www.havelsoft.com| | | | Inhaber: Mario Günterberg | | Mützlitzer Strasse 19 | | 14715 Märkisch Luch | - signature.asc Description: Digital signature
Re: [PHP] Cannot remove PHP Version 5.2.1-0.dotdeb.1
Mario, Boy it's been a long day - it seems that every item I had in by configure batch had to be installed; then at the very end of the day it finally got to the --with-mysql. Had quite a scramble tryingto find the correct dev environment, then finally I was down to to two warning errors, one of which was for sqlite. Tried a make, but it wouldn't go, so I ran configure again, explicitly stating with no sqlite. Tried make again and it completed. Ran checkinstall and it packaged the puppy, installed it and signed off with a pleasant note on how to uninstall if necessary. Tomorrow we'll see how it works, and I hope I did not clobber mysql as part of this. There's an incompatibility between bzip2 and prefork-apache2-dev (or something like that). Running one clobbers the other, so since I needed apxs2 more than bzip2, that was dropped from the configuration. If you're interested I'll post another update tomorrow. Regards - Miles Thompson On 4/3/07, Mario Guenterberg [EMAIL PROTECTED] wrote: On Tue, Apr 03, 2007 at 08:50:31AM -0300, Miles Thompson wrote: Mario, That did it - when I tried to reload the phpinof.php script Apache did not know what to do with the file. Now I'll drag the compiler from it's dusty corner and start from scratch. Not the debian/ubuntu way but sometimes the best solution ;-) Thanks a million - Miles :-) Greetings Mario -- - | havelsoft.com - Ihr Service Partner für Open Source | | Tel: 033876-21 966 | | Notruf: 0173-277 33 60 | | http://www.havelsoft.com| | | | Inhaber: Mario Günterberg | | Mützlitzer Strasse 19 | | 14715 Märkisch Luch | -
[PHP] Cannot remove PHP Version 5.2.1-0.dotdeb.1
This probably belongs under php-install, but thought I would try here first, and it comes under the general header of Be careful what you wish for. On a new Ubuntu (Debian) server I installed this version of PHP because I wanted some 5.2 features. It's the hardened version, and not the one we want. I have done the conventional aptitude remove php5, and then went to all of the directories returned by whereis php5 and manually removed them. I've rebooted both the server and my own computer, and still a http://localhost/phpinfo.php returns the phpinfo() data AND shows configuration file paths: etc/php5/apache2 and /etc/php5/apache2/conf.d which have been deleted. Does anyone have experience with this beastie? A steer in the right direction would be appreciated, especially as I set up a new server about once every decade or so. Cheers - Miles
Re: [PHP] Cannot remove PHP Version 5.2.1-0.dotdeb.1
On Mon, Apr 02, 2007 at 04:52:02PM -0300, Miles Thompson wrote: This probably belongs under php-install, but thought I would try here first, and it comes under the general header of Be careful what you wish for. On a new Ubuntu (Debian) server I installed this version of PHP because I wanted some 5.2 features. It's the hardened version, and not the one we want. I have done the conventional aptitude remove php5, and then went to all of the directories returned by whereis php5 and manually removed them. I've rebooted both the server and my own computer, and still a http://localhost/phpinfo.php returns the phpinfo() data AND shows configuration file paths: etc/php5/apache2 and /etc/php5/apache2/conf.d which have been deleted. Try dpkg --purge php-5.2.1 or so. You may have only the php binaries (CLI) removed. This removes the config-scripts at all. Apt-get remove libapache2-mod-php5 removes your apache2 modules and the dpkt --purge libapache2-mod-php5 removes all the config scripts of them. I have build php 5.2.1 from source on Ubuntu 6.10 and it works fine. Installad in /usr/local for some system reasons and of course a easy way to upgrade. Greetings Mario -- - | havelsoft.com - Ihr Service Partner für Open Source | | Tel: 033876-21 966 | | Notruf: 0173-277 33 60 | | http://www.havelsoft.com| | | | Inhaber: Mario Günterberg | | Mützlitzer Strasse 19 | | 14715 Märkisch Luch | - signature.asc Description: Digital signature
Re: [PHP] Cannot remove PHP Version 5.2.1-0.dotdeb.1
Thanks Mario, I'll try that tomorrow morning. Much appreciated - Miles On 4/2/07, Mario Guenterberg [EMAIL PROTECTED] wrote: On Mon, Apr 02, 2007 at 04:52:02PM -0300, Miles Thompson wrote: This probably belongs under php-install, but thought I would try here first, and it comes under the general header of Be careful what you wish for. On a new Ubuntu (Debian) server I installed this version of PHP because I wanted some 5.2 features. It's the hardened version, and not the one we want. I have done the conventional aptitude remove php5, and then went to all of the directories returned by whereis php5 and manually removed them. I've rebooted both the server and my own computer, and still a http://localhost/phpinfo.php returns the phpinfo() data AND shows configuration file paths: etc/php5/apache2 and /etc/php5/apache2/conf.d which have been deleted. Try dpkg --purge php-5.2.1 or so. You may have only the php binaries (CLI) removed. This removes the config-scripts at all. Apt-get remove libapache2-mod-php5 removes your apache2 modules and the dpkt --purge libapache2-mod-php5 removes all the config scripts of them. I have build php 5.2.1 from source on Ubuntu 6.10 and it works fine. Installad in /usr/local for some system reasons and of course a easy way to upgrade. Greetings Mario -- - | havelsoft.com - Ihr Service Partner für Open Source | | Tel: 033876-21 966 | | Notruf: 0173-277 33 60 | | http://www.havelsoft.com| | | | Inhaber: Mario Günterberg | | Mützlitzer Strasse 19 | | 14715 Märkisch Luch | - -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (GNU/Linux) iQIVAwUBRhFizDUZahlMISn3AQIJaBAAkb0tlZFXTO/6yRgZGf0tP4+U1eiTGnMR r+jqzCiYD3EA6vg7Qlf7K97nn+Jo9CwuYLC2WXRIWGoHK8Mor5UqWPLX6mRFut2w d19ksKv605Dq1FuweNzTAZo9SiJwG8DsZ9Kj0Xboysu5098g/mV+mTvcnyONDmDU 6XiLqHkfITkUES/Hn3Nb0mOSNI7K41lipm/3TrWqPep1Fs/QUyDb/wtLRzfrcScm CmdDCE+nBsKtCdtcZD3VDNN4F3O4x2ZbM1yAp9+S5yQn0b1kK4HoAJ99dpCR+Q4V C+O5VFDr515dujlMo4+CcGPe63xLvU8wn2f5P1vcXcQFPEBj5zJYZGQSPWfrVeBa H0R7sNraBOL+JJD1c5eSYIbZBCjFnaKyMzlQCJ/qgmG/t1akzNJdNlBJ15lMn8dd d8nsa5Za/19ULJR0cPq0CyjAgd1+S0/ykUOGDa2S0uIhURB3AJ/xf2ffH23XbI6m So5maXF2I9hsOwYkZgxv4Kv+HhgJAQesFj7FwBjljXcPXYlXX3DWzC1VwzTKik3F kHviM3PH9XSoGlizwIAwBKlq3sY/CnUo7xoWvmapVvpJDEumi2AvgpDkBl27ogEV Rh7wx0twS8WCSytNSz3XeFJIwmdtrQudXBbNGBSOU6NOk3NwbMhKt5JX2RL7omwE D0lQzqENPDY= =cWaV -END PGP SIGNATURE-
Re: [PHP] Does the extension php_printer.dll work with php version 5.1.1 on a XP System
On Wed, Dec 07, 2005 at 04:27:49PM -0800, james crooks wrote: I trying to get php_printer.dll extension to work on a xp system . I downloaded correct version of php_printer.dll to match php version 5.1.1 . The extension_dir is set correctly , because other extensions load and work perfectly. You can't rely that because other extensions work that you are actually puting the file in the correct place. create a page with: phpinfo(); and check the directories that php is expecting things in. Curt. -- cat .signature: No such file or directory -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Does the extension php_printer.dll work with php version 5.1.1 on a XP System
I trying to get php_printer.dll extension to work on a xp system . I downloaded correct version of php_printer.dll to match php version 5.1.1 . The extension_dir is set correctly , because other extensions load and work perfectly. When I execute the following code, I get ... ?php/* $handle = printer_open(); printer_write($handle, Text to print); printer_close($handle);*/ ? an undefined function call error , even though the extension loaded at boot time without any errors. php_printer.dll is in the extension directory. Does anyone have a solution to my problem. Thanks , Jim Crooks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Lowest PHP version to work with MySQL 4.1.x
Brent and Oliver, Thank you for your assistance. I found some notable solutions from MySQL Forums: http://forums.mysql.com/read.php?11,6400,6400#msg-6400 Regards, Behzad
[PHP] Lowest PHP version to work with MySQL 4.1.x
Hi List, I have noted that some versions of PHP are unable to work with MySQL 4.1.x. 1) Should I upgrade to PHP 5? 2) What is the lowest PHP version which works fine with MySQL 4.1.x? Regards, Behzad P.S. I don't use Improved MySQL extension in PHP. I just need MySQL 4.1.x for multi-byte character support.
[PHP] Re: Lowest PHP version to work with MySQL 4.1.x
AmirBehzad Eslami schrieb: I have noted that some versions of PHP are unable to work with MySQL 4.1.x. Would be new to me but... 1) Should I upgrade to PHP 5? Disregarding your question about databases: Yes you should. PHP5 is there since well over a year. The dev team WILL stop support for PHP4, be it sooner or later. With the 5.1 release there are no speed arguments for PHP4 anymore. If you switch now, you are avoiding bigger adjustment problems in the future. 2) What is the lowest PHP version which works fine with MySQL 4.1.x? Tip: Look at the relase notes of the different XAMPP versions. They always bundle a PHP4 version with a MySQL version and they have changed to MySQL 4.1 very early. Any download they offer means that the contained versions work well together. OLLi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Lowest PHP version to work with MySQL 4.1.x
PHP4 works just fine with MySQL 4.1. You may be encountering a problem with the new password scheme in MySQL 4.1 that PHP 4 does not support. In this case, PHP4 is considered and old client. Read this part of the manual to get it working: http://dev.mysql.com/doc/refman/5.0/en/old-client.html Should you upgrade to PHP5 is a completely different story. There are some great things in 5. On Nov 30, 2005, at 11:13 AM, AmirBehzad Eslami wrote: Hi List, I have noted that some versions of PHP are unable to work with MySQL 4.1.x. 1) Should I upgrade to PHP 5? 2) What is the lowest PHP version which works fine with MySQL 4.1.x? Regards, Behzad P.S. I don't use Improved MySQL extension in PHP. I just need MySQL 4.1.x for multi-byte character support. -- Brent Baisley Systems Architect Landover Associates, Inc. Search Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Version question on WAMP setup
Hi I just installed Apache 2.0.55 / PHP 5.0.5 and MySQL5.0.15 on WinXP. All seems OK, except that when I look at the PHP configuration using phpinfo() it reports the MySQL version as 4.1.7 . Any ideas? Otherwise all OK! Dave - Dr. Dave.Moreman Room 110a, Mellor, Faculty of Health and Sciences, Staffordshire University, ST4 2DE, United.Kingdom - email : [EMAIL PROTECTED] visit our distance learning website : http://www.staffs.ac.uk/schools/sciences/distlearn/ tel : 00 44 (1) 782 294776 - This e-mail and the information it contains may be privileged and/or confidential. It is for the intended addressee(s) only, and does not represent the opinions of Staffordshire University. - The information in this email is confidential and is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, except for the purpose of delivery to the addressee, is prohibited and may be unlawful. Kindly notify the sender and delete the message and any attachment from your computer. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Version question on WAMP setup
Hi, Thursday, November 17, 2005, 11:55:14 AM, you wrote: I just installed Apache 2.0.55 / PHP 5.0.5 and MySQL5.0.15 on WinXP. All seems OK, except that when I look at the PHP configuration using phpinfo() it reports the MySQL version as 4.1.7 . I may well be wrong, but isn't the Client API version the version of the API library that PHP is using to communicate with MySQL, rather than the version of MySQL you're running (which, to all intents and purposes, PHP could never know until you actually connect to it - which phpinfo certainly doesn't). Cheers, Rich -- Zend Certified Engineer PHP Development Services http://www.corephp.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: [PHP-DEV] php version of GD lib
Erron Walker wrote: Thanks for the response, I will look into that. I'm a little unsure what given that you don't pay me large ammounts of money to support your php problems I'd apprieciate it if we kept the discussion 'onlist' - that way other benefit from any solutions/ideas that might come about AND other people can see your questions and give a response (chances are cleverer, more experienced people then me!) you meant by using flock() on a separate file though. I have an image file that is required by different requests made to apache at the same time...what kind of separate file would I use? any file. just a file. say you need to regenerate /var/images/abc.jpg then when your processes attempt that they must first successfully flock another e.g. /var/images/gen-locks/abc.jpg where /var/images/gen-locks/abc.jpg is just an empty file, your process needs to create it and flock it successfully before going ahead and generating. actually using directories instead of files as lock markers is better because creation of directories is atomic - if you need more info: a/ pray someone reads this that knows more than I do. b/ try google on 'file directory locks' (or something) hth, unfortunately I can't help much further - I have reached the boundaries of my practical knowledge ;-) Thank you for your help in advance. Erron - Original Message - From: Jochem Maas [EMAIL PROTECTED] To: Erron Walker [EMAIL PROTECTED] Sent: Friday, November 04, 2005 7:36 AM Subject: Re: [PHP-DEV] php version of GD lib Erron Walker wrote: I am using the version of GD packaged with php 4.3.x for windows and am having a problem with opening images and not being able to lock them. As soon as I have multiple users requiring the same dynamically generated image, the image sent to the browser is all distorted and blurred but only happens when multiple users are accessing the exact same dynamically generated image. I would like to lock the images before processing but the functions for gd (eg. imagecreatefromgif() require a filename string and not a resource handle created by flock(). this is a question for the generals mailing I think - if you can't use generated unique names (e.g. uniqid()) then try flock()ing a seperate file... and checking against that (in rather the same way that, for instance, cvs uses 'lock' dirs to keep things atomic.) Any insight would be appreciated. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP version check
Hi Andrew, Friday, October 28, 2005, 7:41:21 AM, you wrote: How can I query for PHP version? phpversion() ! Cheers, Rich -- Zend Certified Engineer http://www.launchcode.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP version check
On 28 Oct 2005, at 07:46, Richard Davey wrote: Friday, October 28, 2005, 7:41:21 AM, you wrote: How can I query for PHP version? phpversion() ! While it's true that that will get you a version string, if you're going to actually check it, you need: http://www.php.net/manual/en/function.version-compare.php to do so reliably. Version strings are messy things. Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture [EMAIL PROTECTED] | http://www.synchromedia.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] switching php version
Hi, I have put the last php in /usr/local/bin/php505, but apache still use the older php in /usr/bin/php How to configure apache to select one particular from several installed php? -- Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] switching php version
Choose the right module. Search your apache config for LoadModule php5_module resp. LoadModule php4_module. How to configure apache to select one particular from several installed php? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] array_diff php version
On Sun, June 26, 2005 2:19 am, André Le Tissier said: Help! Array_diff is the perfect function for what I am try to do but I have a php version 4.1.5. Is there any replacement I can use to achieve the same result There are seven different solutions to this (with modifications of what array_diff means) at http://php.net/array_diff The PECL library also provides functions for forwards-compatibility, I do believe, and I'm betting array_diff is one of them. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] array_diff php version
As far as I can see in the Help File, Array_Diff was introduced in 4.0.1 and should be in the version you are using. Does it not work? -Original Message- From: André Le Tissier [mailto:[EMAIL PROTECTED] Sent: 26 June 2005 10:20 To: php-general@lists.php.net Subject: [PHP] array_diff php version Help! Array_diff is the perfect function for what I am try to do but I have a php version 4.1.5. Is there any replacement I can use to achieve the same result Many thanks, André Le Tissier This message has been delivered to the Internet by the Revenue Internet e-mail service * -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] array_diff php version
Help! Array_diff is the perfect function for what I am try to do but I have a php version 4.1.5. Is there any replacement I can use to achieve the same result Many thanks, André Le Tissier
[PHP] version difference or server difference?
Why does a Win2K installation of PHP honor max_input_time and a FreeBSD machine does not? I am running version 5.0.0b2-dev on the windows machine and version 4.3.10 on the BSD machine would the version difference cause this problem? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] version difference or server difference?
[snip] Why does a Win2K installation of PHP honor max_input_time and a FreeBSD machine does not? I am running version 5.0.0b2-dev on the windows machine and version 4.3.10 on the BSD machine would the version difference cause this problem? [/snip] According to http://us3.php.net/ref.info max_input_time has been available since 4.3.0 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Version Controlling
This is slightly off topic, but I feel it's a little something that's worthy of discussion here. I've been interested in running CVS for a while now, but being on a Windows machine is holding me back somewhat, and I'm not entirely sure CVS is even something I need. Basically, I have some computers, mostly my laptop and desktop, and I want to be able to sync them based on version controlling, much like CVS, but I'm not sure if it's too advanced or not. My basic question is: What do you do, if anything, for syncing/version control between your computers for your web development projects? WiredPHP Stephen Craton Web Developer IM: [EMAIL PROTECTED] http://www.wiredphp.us -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Version Controlling
Stephen Craton wrote: This is slightly off topic, but I feel it's a little something that's worthy of discussion here. I've been interested in running CVS for a while now, but being on a Windows machine is holding me back somewhat, and I'm not entirely sure CVS is even something I need. Basically, I have some computers, mostly my laptop and desktop, and I want to be able to sync them based on version controlling, much like CVS, but I'm not sure if it's too advanced or not. My basic question is: What do you do, if anything, for syncing/version control between your computers for your web development projects? rsync, some files are excluded -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP Version for API 20001222
What PHP version had the API number 20001222 ? Thanks Cole -- This message has been scanned for viruses and dangerous content by MailScanner on mail.ashcraftfamily.net, and is believed to be clean. Please report any deviance from this condition immediately to the AFN Administrator at [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Version for API 20001222
PHP 4.0.6-6.2mdk On Friday 27 August 2004 02:45 pm, Cole S. Ashcraft wrote: What PHP version had the API number 20001222 ? Thanks Cole -- This message has been scanned for viruses and dangerous content by MailScanner on mail.ashcraftfamily.net, and is believed to be clean. Please report any deviance from this condition immediately to the AFN Administrator at [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Version for API 20001222
Thanks! Andre Dubuc wrote: PHP 4.0.6-6.2mdk On Friday 27 August 2004 02:45 pm, Cole S. Ashcraft wrote: What PHP version had the API number 20001222 ? Thanks Cole -- This message has been scanned for viruses and dangerous content by MailScanner on mail.ashcraftfamily.net, and is believed to be clean. Please report any deviance from this condition immediately to the AFN Administrator at [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner on mail.ashcraftfamily.net, and is believed to be clean. Please report any deviance from this condition immediately to the AFN Administrator at [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Session Problem PHP version 4.3.8
OK, so it wasn't the nut behind the wheel after all. I am still having problems with sessions after upgrading to PHP 4.3.8. The test code below works as expected on server equipped with PHP 4.3.6 and keeps the session start time the same no matter what link you click on. However with version 4.3.8 when you click on the last link on the page it will start a new session and the session start time will be updated. What can I change to fix this? All the session related php.ini settings are the same on both servers and I will repost that information here. Both servers are running the same version of Apache, Server version: Apache/1.3.27 (Unix) (Gentoo/Linux). ## Session settings in php.ini [Session] session.save_handler = files session.save_path = /tmp session.use_cookies = 1 ; session.use_only_cookies = 1 session.name = PHPSESSID session.auto_start = 1 session.cookie_lifetime = 0 session.cookie_path = / session.cookie_domain = session.serialize_handler = php session.gc_probability = 1 session.gc_divisor = 100 session.gc_maxlifetime = 1440 session.bug_compat_42 = 1 session.bug_compat_warn = 1 session.referer_check = session.entropy_length = 0 session.entropy_file = ;session.entropy_length = 16 ;session.entropy_file = /dev/urandom session.cache_limiter = nocache session.cache_expire = 180 session.use_trans_sid = 0 url_rewriter.tags = a=href,area=href,frame=src,input=src,form=,fieldset= And here is the example code that I am having trouble with. SESSION_TEST1.php ?php echo(\n HTMLHEADTITLESESSION TEST/TITLE); echo(\n SCRIPT LANGUAGE=\JavaScript\); echo(\n !-- Begin ); echo(\n function popUpBI(URL) { ); echo(\n day = new Date(); ); echo(\n id = day.getTime(); ); echo(\n eval(\page\ + id + \ = window.open(URL, '\ + id + \', 'toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=400'); \); ); echo(\n } ); echo(\n // End -- ); echo(\n /script); echo(\n /HEADBODY); if(!$_SESSION['start_time']){ echo(\n Session ResetBR); $_SESSION['start_time'] = time(); } echo(\n BRSession Start Time -.date(M/d/Y h:i:s, $_SESSION['start_time'])); echo(\n form action=\.$_SERVER['PHP_SELF'].\ method=\POST\); echo(\n BRinput type=\submit\ name=\submit\ value=\THIS WORKS\); echo(\n /form); echo(\n BRA HREF=\SESSION_TEST1.php\THIS ALSO WORKS/A); echo(\n BRBRA HREF=\javascript:popUpBI('SESSION_TEST2.php')\THIS STARTS NEW SESSION/A); echo(\n /BODY/HTML); ? SESSION_TEST2.php ?php echo(\n HTMLHEADTITLESESSION TEST 2/TITLE/HEADBODY); echo(\n Now there is new session and the other window will update with new timeBR); echo(\n BRa href=\javascript:window.close();\fontClose This Window/font/a); echo(\n /BODY/HTML); ? Help James Hicks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Session Problem PHP version 4.3.8
Hi James, Well for what it's worth: Your code in Test1 sets the paraemters - if(!$_SESSION['start_time']){ echo(\n Session ResetBR); $_SESSION['start_time'] = time(); yet when Test2 loads, you haven't called $_SESSION[''start_time'} nor, for that matter, have you 'saved' it using session_write_close(); Therefore when the Test2 loads, time is not set, so when it returns to Test1 and hits the above condition, it will write a new time, and hence a new session. I presume two things; 1. that you have ?php session_start(); ? as opener lines on each page and 2. that register_globals=off. The last thing caused all sorts of grief for me last week - messes up sessions if 'on' Hth, Andre On Friday 13 August 2004 10:37 am, James E Hicks III wrote: OK, so it wasn't the nut behind the wheel after all. I am still having problems with sessions after upgrading to PHP 4.3.8. The test code below works as expected on server equipped with PHP 4.3.6 and keeps the session start time the same no matter what link you click on. However with version 4.3.8 when you click on the last link on the page it will start a new session and the session start time will be updated. What can I change to fix this? All the session related php.ini settings are the same on both servers and I will repost that information here. Both servers are running the same version of Apache, Server version: Apache/1.3.27 (Unix) (Gentoo/Linux). ## Session settings in php.ini [Session] session.save_handler = files session.save_path = /tmp session.use_cookies = 1 ; session.use_only_cookies = 1 session.name = PHPSESSID session.auto_start = 1 session.cookie_lifetime = 0 session.cookie_path = / session.cookie_domain = session.serialize_handler = php session.gc_probability = 1 session.gc_divisor = 100 session.gc_maxlifetime = 1440 session.bug_compat_42 = 1 session.bug_compat_warn = 1 session.referer_check = session.entropy_length = 0 session.entropy_file = ;session.entropy_length = 16 ;session.entropy_file = /dev/urandom session.cache_limiter = nocache session.cache_expire = 180 session.use_trans_sid = 0 url_rewriter.tags = a=href,area=href,frame=src,input=src,form=,fieldset= And here is the example code that I am having trouble with. SESSION_TEST1.php ?php echo(\n HTMLHEADTITLESESSION TEST/TITLE); echo(\n SCRIPT LANGUAGE=\JavaScript\); echo(\n !-- Begin ); echo(\n function popUpBI(URL) { ); echo(\n day = new Date(); ); echo(\n id = day.getTime(); ); echo(\n eval(\page\ + id + \ = window.open(URL, '\ + id + \', 'toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=0,widt h=400,height=400'); \); ); echo(\n } ); echo(\n // End -- ); echo(\n /script); echo(\n /HEADBODY); if(!$_SESSION['start_time']){ echo(\n Session ResetBR); $_SESSION['start_time'] = time(); } echo(\n BRSession Start Time -.date(M/d/Y h:i:s, $_SESSION['start_time'])); echo(\n form action=\.$_SERVER['PHP_SELF'].\ method=\POST\); echo(\n BRinput type=\submit\ name=\submit\ value=\THIS WORKS\); echo(\n /form); echo(\n BRA HREF=\SESSION_TEST1.php\THIS ALSO WORKS/A); echo(\n BRBRA HREF=\javascript:popUpBI('SESSION_TEST2.php')\THIS STARTS NEW SESSION/A); echo(\n /BODY/HTML); ? SESSION_TEST2.php ?php echo(\n HTMLHEADTITLESESSION TEST 2/TITLE/HEADBODY); echo(\n Now there is new session and the other window will update with new timeBR); echo(\n BRa href=\javascript:window.close();\fontClose This Window/font/a); echo(\n /BODY/HTML); ? Help James Hicks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Session Problem PHP version 4.3.8
On Friday 13 August 2004 11:14 am, Andre Dubuc wrote: Hi James, Well for what it's worth: Your code in Test1 sets the paraemters - if(!$_SESSION['start_time']){ echo(\n Session ResetBR); $_SESSION['start_time'] = time(); yet when Test2 loads, you haven't called $_SESSION[''start_time'} nor, for that matter, have you 'saved' it using session_write_close(); From the Manual: Session data is usually stored after your script terminated without the need to call session_write_close(), Therefore when the Test2 loads, time is not set, so when it returns to Time is set. Test1 and hits the above condition, it will write a new time, and hence a new session. It should never hit the if condition after the first load of the page. I presume two things; 1. that you have ?php session_start(); ? as opener lines on each page and 2. that register_globals=off. In my php.ini I have session.auto_start = 1, so that I do not need session_start(). And register_globals is set to off. The last thing caused all sorts of grief for me last week - messes up sessions if 'on' Been there done that! Thanks for trying to help! James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Session Problem PHP version 4.3.8
On Friday 13 August 2004 11:19 am, you wrote: On Friday 13 August 2004 11:14 am, Andre Dubuc wrote: Hi James, [snip] .for thatt matter, have you 'saved' it using session_write_close(); From the Manual: Session data is usually stored after your script terminated without the need to call session_write_close(), [snip] Well, for my money James, that's where your problem lies. Notice the usually in the Manual quote. In my experience, it never saves unless I write to it. But, with your config, with session.auto_start=1, if I read that correctly, it will do nothing other than start the session automatically, but not save a change to a session variable. Hence, it reloads with a 'not-set' condition in that code. And by the way, it is hitting that if condition - hence your reset session. Just my $2 worth (inflation, you know :) Andre Time is set. Test1 and hits the above condition, it will write a new time, and hence a new session. It should never hit the if condition after the first load of the page. I presume two things; 1. that you have ?php session_start(); ? as opener lines on each page and 2. that register_globals=off. In my php.ini I have session.auto_start = 1, so that I do not need session_start(). And register_globals is set to off. The last thing caused all sorts of grief for me last week - messes up sessions if 'on' Been there done that! Thanks for trying to help! James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Session Problem PHP version 4.3.8
Hi Andre, hi James, please see below Andre Dubuc [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Friday 13 August 2004 11:19 am, you wrote: On Friday 13 August 2004 11:14 am, Andre Dubuc wrote: Hi James, [snip] .for thatt matter, have you 'saved' it using session_write_close(); From the Manual: Session data is usually stored after your script terminated without the need to call session_write_close(), [snip] Well, for my money James, that's where your problem lies. Notice the usually in the Manual quote. In my experience, it never saves unless I write to it. Then something is wrong with your server. You DO NOT need to explicitly call session_write_close(). But, with your config, with session.auto_start=1, if I read that correctly, it will do nothing other than start the session automatically, but not save a change to a session variable. Hence, it reloads with a 'not-set' condition in that code. And by the way, it is hitting that if condition - hence your reset session. James, have you tried with manually calling session_start() and setting auto_start = 0? If not, please try this. Haven't followed your previous thread so please forgive me if I'm asking something you already wrote. Are you using cookies? If so, have you tried without them by appending the session id manually to the links? Try these settings: session.auto_start= 0 session.use_cookies = 0 session.use_trans_sid = 0 Put session_start() at the top of ALL your pages and write your links this way: a href=page2.php??php echo SID; ?to page 2 /a Hope it helps, Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Session Problem PHP version 4.3.8
On Friday 13 August 2004 01:14 pm, Torsten Roehr wrote: James, have you tried with manually calling session_start() and setting auto_start = 0? If not, please try this. Haven't followed your previous thread so please forgive me if I'm asking something you already wrote. Are you using cookies? YES These are my current cookie related php.ini settings. session.use_cookies = 1 ; session.use_only_cookies defaults to 0 ; session.use_only_cookies = 1 If so, have you tried without them by appending the session id manually to the links? I tried that without turning cookies off and appending the SID to the offending anchor tag (the one with javascript). Nothing I tried worked with current php.ini settings. I tried like this: echo(\n BRBRA HREF=\javascript:popUpBI('SESSION_TEST2.php?.SID.')\THIS STARTS NEW SESSION/A); Which gave me this anchor tag: A HREF=javascript:popUpBI('SESSION_TEST2.php?')THIS STARTS NEW SESSION/A And like this: echo (a href=\javascript:popUpBI('SESSION_TEST2.php?PHPSESSID=. $_REQUEST['PHPSESSID'].')\THIS STARTS NEW SESSION/A); Which gave me this anchor tag: A HREF=javascript:popUpBI('SESSION_TEST2.php?PHPSESSID=fae0cffb9f6c307e38aef7d2310e1d69')THIS STARTS NEW SESSION/A Try these settings: session.auto_start = 0 session.use_cookies = 0 session.use_trans_sid = 0 Put session_start() at the top of ALL your pages and write your links this way: a href=page2.php??php echo SID; ?to page 2 /a I tried with php.ini settings like you suggested and it didn't work at all. Whatever you clicked on started a new session. Then I turned session.use_trans_sid = 1 with auto_start and use_cookies still turned off and my example code started working!!! My problem is that all my other real world apps do not work with php.ini settings like that. :( So it seems that the cookie part of sessions is broken somehow and my earlier idea of adding something to url_rewrite wouldn't help even if I could figure out what to add to it. Anyone have any other ideas. Can I upgrade to something higher than 4.3.8? Would that mean upgrading to 5.x? James Hicks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Incorrect trans-sid placement in PHP Version 4.3.6
Justin Patrin wrote: On Mon, 09 Aug 2004 10:02:23 +0200, Torsten Scheck [EMAIL PROTECTED] wrote: Hi, I just stumbled over a problem after I had updated PHP, and I thought I should share my experience: I use PHP Version 4.3.6 with '--enable-trans-sid' and deactivated cookies: [...] And when I use PHP's session feature together with an empty XML tag, PHP places the Session-ID in the wrong place, if there is no blank space behind the attribute: [...] Why did you update to an older version of PHP? Hi Justin, the server was updated to Fedora Core release 2 (Tettnang) which is pretty new compared to the RedHat9 before. ;-) I don't have root access on the production servers, so I can't enforce a certain PHP version. And as there is an easy workaround, you don't have to change to a newer PHP version, if you encounter this bug, anyway. With my post I just wanted to assist those who update their distribution and are welcomed by their PHP-applications with a non-working PHP-session. :-) Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Incorrect trans-sid placement in PHP Version 4.3.6
Hi, I just stumbled over a problem after I had updated PHP, and I thought I should share my experience: I use PHP Version 4.3.6 with '--enable-trans-sid' and deactivated cookies: session.use_cookies Off session.use_trans_sid On And when I use PHP's session feature together with an empty XML tag, PHP places the Session-ID in the wrong place, if there is no blank space behind the attribute: frame name=foo src=?php echo $page_self; ?/ = frame name=foo src=test-trans-sid.php/?PHPID=xxx..xxx NOT WORKING frame name=foo src=?php echo $page_self; ? / = frame name=foo src=test-trans-sid.php?PHPID=xxx..xxx / WORKING (BTW: The blank space is optional according to XHTML specs.) I hope this message helps you to avoid the kind of trouble I had. See attached test case for further testing and bug fixing. The php version I use is too old for the bug system. If you encounter the same bug in a higher version, please report it. Thanks. Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Incorrect trans-sid placement in PHP Version 4.3.6
On Mon, 09 Aug 2004 10:02:23 +0200, Torsten Scheck [EMAIL PROTECTED] wrote: Hi, I just stumbled over a problem after I had updated PHP, and I thought I should share my experience: I use PHP Version 4.3.6 with '--enable-trans-sid' and deactivated cookies: session.use_cookies Off session.use_trans_sid On And when I use PHP's session feature together with an empty XML tag, PHP places the Session-ID in the wrong place, if there is no blank space behind the attribute: frame name=foo src=?php echo $page_self; ?/ = frame name=foo src=test-trans-sid.php/?PHPID=xxx..xxx NOT WORKING frame name=foo src=?php echo $page_self; ? / = frame name=foo src=test-trans-sid.php?PHPID=xxx..xxx / WORKING (BTW: The blank space is optional according to XHTML specs.) I hope this message helps you to avoid the kind of trouble I had. See attached test case for further testing and bug fixing. The php version I use is too old for the bug system. If you encounter the same bug in a higher version, please report it. Thanks. Torsten Why did you update to an older version of PHP? -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP version usage statistics?
On 15 April 2004 06:18, Curt Zirzow wrote: * Thus wrote Jeffrey Tavares ([EMAIL PROTECTED]): netcraft shows how many servers have php, but nothing specific about versions. Maybe I'm wrong, but I checked all over netcraft's site. Sorry if I put ya on a bad lead. I could have swore they had some stats like that there, I guess I was wrong I can't find them either. I'm also sure such statistics used to exist in the free reports either at Netcraft or Security Space -- I guess if they're still available they've moved to the paid-for category. ;( Cheers! Mike - Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP version usage statistics?
Is there some way to know a general php usage statistics specific to how many run 4.1, 4.2, and 4.3? I'm trying to get an average percentage to figure out whether it would be a great loss to not support prior versions. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP version usage statistics?
* Thus wrote Jeffrey Tavares ([EMAIL PROTECTED]): Is there some way to know a general php usage statistics specific to how many run 4.1, 4.2, and 4.3? I'm trying to get an average percentage to figure out whether it would be a great loss to not support prior versions. I believe netcraft holds such statiscs. 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
Re: [PHP] PHP version usage statistics?
netcraft shows how many servers have php, but nothing specific about versions. Maybe I'm wrong, but I checked all over netcraft's site. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP version usage statistics?
Can you point me to a link showing usage of PHP, Java, ASP, etc.? I've been looking at netcraft.com, but I'm not seeing it. Thanks! Travis Jeffrey Tavares wrote: netcraft shows how many servers have php, but nothing specific about versions. Maybe I'm wrong, but I checked all over netcraft's site. -- Travis Low mailto:[EMAIL PROTECTED] http://www.dawnstar.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP version usage statistics?
* Thus wrote Jeffrey Tavares ([EMAIL PROTECTED]): netcraft shows how many servers have php, but nothing specific about versions. Maybe I'm wrong, but I checked all over netcraft's site. Sorry if I put ya on a bad lead. I could have swore they had some stats like that there, I guess I was wrong I can't find them either. 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 version difference - local installation very strict
Hi all, It seems that the version on my local apache installation is more strict than the version on my production server. How can i counteract this without potentially having to upgrade 300+ pages in my entire app? is there a setting in php.ini that i could locally kill some of this debugging info? Some examples of errors i'm getting locally: Notice: A session had already been started - ignoring session_start() in %siteroot%\admin\menu.php on line 9 Notice: Undefined index: success in %siteroot%\admin\menu.php on line 18 Warning: Cannot modify header information - headers already sent by (output started at c:\inetpub\www\tommiezito\admin\data_entry\start.php:14) in %siteroot%\admin\data_entry\start.php on line 37 these errors are foreign to me as i have combed my code 100's of times before i deployed my app online 3 months ago. do i NEED this newer,stricter version or can i install a deprecated one? any help would be amazing. ~pj -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: php version difference - local installation very strict
Yes.. error_reporting=E_ALL ~E_NOTICE in php.ini is most likely what your server uses.. :p Also, register_globals might give you problems.. :p -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com Phillip Jackson [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] Hi all, It seems that the version on my local apache installation is more strict than the version on my production server. How can i counteract this without potentially having to upgrade 300+ pages in my entire app? is there a setting in php.ini that i could locally kill some of this debugging info? Some examples of errors i'm getting locally: Notice: A session had already been started - ignoring session_start() in %siteroot%\admin\menu.php on line 9 Notice: Undefined index: success in %siteroot%\admin\menu.php on line 18 Warning: Cannot modify header information - headers already sent by (output started at c:\inetpub\www\tommiezito\admin\data_entry\start.php:14) in %siteroot%\admin\data_entry\start.php on line 37 these errors are foreign to me as i have combed my code 100's of times before i deployed my app online 3 months ago. do i NEED this newer,stricter version or can i install a deprecated one? any help would be amazing. ~pj -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: php version difference - local installation very strict
i don't use register_globals - i have a function that massages data that mimics register globals' behaivior via dynamically named variables. which one should i set it to - E_NOTICE? ~Phillip Jackson Dvdmandt [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Yes.. error_reporting=E_ALL ~E_NOTICE in php.ini is most likely what your server uses.. :p Also, register_globals might give you problems.. :p -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com Phillip Jackson [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] Hi all, It seems that the version on my local apache installation is more strict than the version on my production server. How can i counteract this without potentially having to upgrade 300+ pages in my entire app? is there a setting in php.ini that i could locally kill some of this debugging info? Some examples of errors i'm getting locally: Notice: A session had already been started - ignoring session_start() in %siteroot%\admin\menu.php on line 9 Notice: Undefined index: success in %siteroot%\admin\menu.php on line 18 Warning: Cannot modify header information - headers already sent by (output started at c:\inetpub\www\tommiezito\admin\data_entry\start.php:14) in %siteroot%\admin\data_entry\start.php on line 37 these errors are foreign to me as i have combed my code 100's of times before i deployed my app online 3 months ago. do i NEED this newer,stricter version or can i install a deprecated one? any help would be amazing. ~pj -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php version difference - local installation very strict
On Monday, February 2, 2004, at 10:14 AM, Phillip Jackson wrote: these errors are foreign to me as i have combed my code 100's of times before i deployed my app online 3 months ago. do i NEED this newer,stricter version or can i install a deprecated one? It's not newer and stricter, and it's not Apache -- it's PHP error notices set to a higher level that your production server. This is really around the wrong way -- your local (dev) server should be set to a high level of warning (mine's set to the highest) to encourage good programming practices, and should be set to none on the production (live) server to keep error messages out of the user experience. The long answer is to fix your application, and hunt down all these notices/warnings, so that your application is of better quality. The short answer is to set the error reporting on the live server to a lower level, so that these messages are suppressed. You can do this either with ini_set()[1] or error_reporting()[2] at the top of every script (or in a header include for example), or at an application level with a .htaccess file in root directory. A sample of a .htaccess file would be: IfModule mod_php4.c php_flag register_globals off php_flag magic_quotes_runtime off php_flag magic_quotes_gpc on php_value url_rewriter.tags 'a=href' php_value error_reporting 'E_ALL ~E_NOTICE' /IfModule I'm not 100% sure the last line is correct, because I'v always done it with ini_set() in my PHP application. [1] http://www.php.net/ini_set [2] http://www.php.net/error-reporting I would encourage you to fix your code as well as apply error reporting levels for both the production and live servers. Good luck, Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php version difference - local installation very strict
That's great advice... the only questions i have then: I only need to call session_start ONCE in my entire application per instance of a session? when i published the application months ago to my production server i had errors on every page notifying me that a session had not been started so i could not call $_SESSION... ~pj Justin French [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Monday, February 2, 2004, at 10:14 AM, Phillip Jackson wrote: these errors are foreign to me as i have combed my code 100's of times before i deployed my app online 3 months ago. do i NEED this newer,stricter version or can i install a deprecated one? It's not newer and stricter, and it's not Apache -- it's PHP error notices set to a higher level that your production server. This is really around the wrong way -- your local (dev) server should be set to a high level of warning (mine's set to the highest) to encourage good programming practices, and should be set to none on the production (live) server to keep error messages out of the user experience. The long answer is to fix your application, and hunt down all these notices/warnings, so that your application is of better quality. The short answer is to set the error reporting on the live server to a lower level, so that these messages are suppressed. You can do this either with ini_set()[1] or error_reporting()[2] at the top of every script (or in a header include for example), or at an application level with a .htaccess file in root directory. A sample of a .htaccess file would be: IfModule mod_php4.c php_flag register_globals off php_flag magic_quotes_runtime off php_flag magic_quotes_gpc on php_value url_rewriter.tags 'a=href' php_value error_reporting 'E_ALL ~E_NOTICE' /IfModule I'm not 100% sure the last line is correct, because I'v always done it with ini_set() in my PHP application. [1] http://www.php.net/ini_set [2] http://www.php.net/error-reporting I would encourage you to fix your code as well as apply error reporting levels for both the production and live servers. Good luck, Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php version difference - local installation very strict
Once on every page... I include one file once, on each page, and in that one I have session_start()... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com Phillip Jackson [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] That's great advice... the only questions i have then: I only need to call session_start ONCE in my entire application per instance of a session? when i published the application months ago to my production server i had errors on every page notifying me that a session had not been started so i could not call $_SESSION... ~pj Justin French [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Monday, February 2, 2004, at 10:14 AM, Phillip Jackson wrote: these errors are foreign to me as i have combed my code 100's of times before i deployed my app online 3 months ago. do i NEED this newer,stricter version or can i install a deprecated one? It's not newer and stricter, and it's not Apache -- it's PHP error notices set to a higher level that your production server. This is really around the wrong way -- your local (dev) server should be set to a high level of warning (mine's set to the highest) to encourage good programming practices, and should be set to none on the production (live) server to keep error messages out of the user experience. The long answer is to fix your application, and hunt down all these notices/warnings, so that your application is of better quality. The short answer is to set the error reporting on the live server to a lower level, so that these messages are suppressed. You can do this either with ini_set()[1] or error_reporting()[2] at the top of every script (or in a header include for example), or at an application level with a .htaccess file in root directory. A sample of a .htaccess file would be: IfModule mod_php4.c php_flag register_globals off php_flag magic_quotes_runtime off php_flag magic_quotes_gpc on php_value url_rewriter.tags 'a=href' php_value error_reporting 'E_ALL ~E_NOTICE' /IfModule I'm not 100% sure the last line is correct, because I'v always done it with ini_set() in my PHP application. [1] http://www.php.net/ini_set [2] http://www.php.net/error-reporting I would encourage you to fix your code as well as apply error reporting levels for both the production and live servers. Good luck, Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: php version difference - local installation very strict
On Monday 02 February 2004 08:03, Phillip Jackson wrote: i don't use register_globals - i have a function that massages data that mimics register globals' behaivior via dynamically named variables. which one should i set it to - E_NOTICE? error_reporting = E_ALL display_errors = Off log_errors = On error_log = /path/to/php.log -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* QOTD: Lack of planning on your part doesn't consitute an emergency on my part. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] is there a php version with curl already integrated?
hello, i must admit, i'm quite a nub when it comes to compiling php myself, so i'm wondering if there is any version of php with curl already bein part of it? i'm running xp with apache 1.3. cheers, chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] is there a php version with curl already integrated?
Refer http://in2.php.net/curl -murugesan - Original Message - From: Chris [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 04, 2003 5:02 PM Subject: [PHP] is there a php version with curl already integrated? hello, i must admit, i'm quite a nub when it comes to compiling php myself, so i'm wondering if there is any version of php with curl already bein part of it? i'm running xp with apache 1.3. cheers, chris -- 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
[PHP] Mailparse functions. How in the 4.3.1 php version ?
Hello to everybody. Somebody can tell me how , in the new version of php, were substitued the mailparsing functions ? I use, actually, the 4.3.1. The php manual tells me that the mailparsing functions run only in the 4.1.0. or 4.1.2 version of php. On the web sito there is a refer to PECL. What's PECL ? I wait for a suggest Thank You. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Mailparse functions. How in the 4.3.1 php version ?
Valentina [EMAIL PROTECTED] wrote: Hello to everybody. Somebody can tell me how , in the new version of php, were substitued the mailparsing functions ? I use, actually, the 4.3.1. The php manual tells me that the mailparsing functions run only in the 4.1.0. or 4.1.2 version of php. On the web sito there is a refer to PECL. What's PECL ? I wait for a suggest Thank You. I think that means to say PEAR typo? You should be able to download and install it from: http://pear.php.net/package-info.php?package=mailparse Curt -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Version Independent Sessions?
Does anyone know of a working snippet to manage sessions using any combination of Register_Global and pre/post php v4.1? Would love to look at some examples .. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Which PHP version is stable with apache 2.0.39
Hi, Need some information as I cant seem to find it in the manual or online. We are running apache 2.0.39 on redhat 7.3 and would like to run PHP on the same server. I am having trouble finding out if there is a stable version that runs with Apache 2.0.39 Any help appreciated Cheers jason
RE: [PHP] Which PHP version is stable with apache 2.0.39
http://www.php.net/manual/en/install.apache2.php -Original Message- From: Jason Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 5:22 PM To: [EMAIL PROTECTED] Subject: [PHP] Which PHP version is stable with apache 2.0.39 Hi, Need some information as I cant seem to find it in the manual or online. We are running apache 2.0.39 on redhat 7.3 and would like to run PHP on the same server. I am having trouble finding out if there is a stable version that runs with Apache 2.0.39 Any help appreciated Cheers jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php