Re: [PHP] Best way to get PHP5
Jack Gates wrote: On Wednesday 09 August 2006 19:24, Jochem Maas wrote: Jonathan Duncan wrote: On Wed, 9 Aug 2006, Chris W. Parker wrote: Jack Gates mailto:[EMAIL PROTECTED] ... FUD-tastic! Jonathan Chris, Jochem just proved what I said earlier. Every one has their own preference and some go so far as to claim that the ones they just don't like are evil. That is why there are so many different flavors of Linux. That is also what will continue to hold Linux back in the market place and allow the truly evil OS to hold there market share on the desktop. I would say that's more down to billion dollar marketing budgets, anti-trust business practices and the fact that a labotomized monkey could operate Windows (where as you are at a real advantage using Linux if you have a complete brain.); not to mention that M$ is probably the largest purveyor of linux-FUD of them all. look Microsoft is doing everything it can to protect my children online**, how can linux compete with that? personally I prefer eating razor blades to using something from Redmond Washington so Bill is not your uncle then? ** 'everything' being drawing imaginary cartoon castles around some kids laptop (oh and don't forget the imaginary cartoon guard dogs) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Best way to get PHP5
On 10/08/06, Chris W. Parker [EMAIL PROTECTED] wrote: Jonathan Duncan mailto:[EMAIL PROTECTED] on Wednesday, August 09, 2006 3:55 PM said: If you want to really learn Linux, try Gentoo. If you just want a very good and easy to use Linux, go with SuSE. To keep this related to the question I asked... Do either of the latest builds of these distros have PHP5? Why not just look? http://packages.gentoo.org/packages/?category=dev-lang;name=php http://www.novell.com/products/linuxpackages/suselinux/php5.html Although I have to say - if you're scared of compiling PHP, Gentoo's probably not the distribution for you. -robin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Best way to get PHP5
On Wed, 9 Aug 2006, Chris W. Parker wrote: Jonathan Duncan mailto:[EMAIL PROTECTED] on Wednesday, August 09, 2006 3:55 PM said: If you want to really learn Linux, try Gentoo. If you just want a very good and easy to use Linux, go with SuSE. To keep this related to the question I asked... Do either of the latest builds of these distros have PHP5? Thanks, Chris. I just checked the Gentoo portage tree and it has PHP 5.1.4 in it already. Having it in the portage tree means it is as good as installed. I just checked the SuSE Linux 10.1 package listing and it comes with 5.1.2: http://www.novell.com/products/linuxpackages/suselinux/index_all.html The answer to your question is yes. Jonathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Best way to get PHP5
Chris W. Parker wrote: Hello, Generally (well, actually 100%) I just use whatever version of PHP is included with a certain distro (Redhat pre-Fedora, Fedora Core, CentOS). None of the versions I've used have come with PHP5 and I'd really like to get with the times and use PHP5. I know that Fedora Core 5 offers PHP 5.1.2 but I've heard some negative things about it in general (FC5). I've never compiled PHP myself so admittedly I'm a bit skeered... Is the recommended path to just go with whatever distro I prefer and then download PHP5 from php.net and install it myself? Virtually all distros should have php5 as an option these days. Though frequently it's named php5 rather than simply php. Debian, and probably several other distributions, only offer it in their testing branch. As a general rule I would recomend not installing from source, you can seriously damage your system with multiple versions of programs, files going in places they shouldn't and running in to dependancy hell. The distributions that I am familiar with provide packages for the php extensions so you don't have to recompile to add them. IF you do install from source, using your package management system to grab the source dependancies can simplify things significantly. On a Debian based distribution this can be done with `apt-get build-dep php5`. David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Best way to get PHP5
On Fri, 2006-08-11 at 00:29 +1000, David Tulloh wrote: Chris W. Parker wrote: Hello, Generally (well, actually 100%) I just use whatever version of PHP is included with a certain distro (Redhat pre-Fedora, Fedora Core, CentOS). None of the versions I've used have come with PHP5 and I'd really like to get with the times and use PHP5. I know that Fedora Core 5 offers PHP 5.1.2 but I've heard some negative things about it in general (FC5). I've never compiled PHP myself so admittedly I'm a bit skeered... Is the recommended path to just go with whatever distro I prefer and then download PHP5 from php.net and install it myself? Virtually all distros should have php5 as an option these days. Though frequently it's named php5 rather than simply php. Debian, and probably several other distributions, only offer it in their testing branch. As a general rule I would recomend not installing from source, you can seriously damage your system with multiple versions of programs, files going in places they shouldn't and running in to dependancy hell. The distributions that I am familiar with provide packages for the php extensions so you don't have to recompile to add them. U, it's pretty simplistic under linux to have mutliple versions. In fact I have every almost every version since 4.1.0 installed and easily activated. I keep a master /usr/local/php/ directory in which each version is housed and the currently active version is focused by a soft-link (I have phpWeb versions also since I compile in different features and they work under the same principle): ::/usr/local/php ls -al | grep phpCgi lrwxrwxrwx 1 root root 12 2006-07-31 14:28 phpCgi - phpCgi-4.4.2/ drwxrwxr-x 16 root root 4.0K 2004-08-25 22:20 phpCgi-4.1.0/ drwxrwxr-x 16 root root 4.0K 2004-08-25 22:20 phpCgi-4.1.1/ drwxrwxr-x 16 root root 4.0K 2004-08-25 22:20 phpCgi-4.1.2/ drwxrwxr-x 17 root root 4.0K 2004-08-25 22:20 phpCgi-4.2.0/ drwxrwxr-x 15 root root 4.0K 2004-08-25 22:20 phpCgi-4.2.1/ drwxrwxr-x 16 root root 4.0K 2004-08-25 22:20 phpCgi-4.2.2/ drwxr-xr-x 16 root root 4.0K 2004-08-25 22:20 phpCgi-4.2.3/ drwxr-xr-x 18 root root 4.0K 2004-08-25 22:20 phpCgi-4.3.0/ drwxrwxr-x 18 root root 4.0K 2004-08-25 22:20 phpCgi-4.3.1/ drwxr-xr-x 18 root root 4.0K 2005-03-23 00:03 phpCgi-4.3.10/ drwxr-xr-x 18 root root 4.0K 2005-07-16 12:55 phpCgi-4.3.11/ drwxrwxr-x 18 root root 4.0K 2004-08-25 22:20 phpCgi-4.3.2/ drwxrwxr-x 18 root root 4.0K 2004-08-20 19:23 phpCgi-4.3.3/ drwxrwxr-x 18 root root 4.0K 2004-08-20 19:30 phpCgi-4.3.4/ drwxr-xr-x 18 root root 4.0K 2005-06-24 01:41 phpCgi-4.3.5/ drwxr-xr-x 18 root root 4.0K 2004-08-20 19:37 phpCgi-4.3.6/ drwxr-xr-x 18 root root 4.0K 2004-08-20 19:40 phpCgi-4.3.7/ drwxr-xr-x 18 root root 4.0K 2004-08-20 19:43 phpCgi-4.3.8/ drwxr-xr-x 18 root root 4.0K 2005-03-23 00:02 phpCgi-4.3.9/ drwxr-xr-x 18 root root 4.0K 2006-03-13 16:41 phpCgi-4.4.0/ drwxr-xr-x 18 root root 4.0K 2006-08-05 15:03 phpCgi-4.4.2/ lrwxrwxrwx 1 root root 12 2006-07-31 14:29 phpCgi5 - phpCgi-5.1.1/ drwxr-xr-x 18 root root 4.0K 2004-08-20 19:47 phpCgi-5.0.0/ drwxr-xr-x 18 root root 4.0K 2004-04-07 11:53 phpCgi-5.0.0RC1/ drwxrwxr-x 18 root root 4.0K 2004-10-03 09:47 phpCgi-5.0.1/ drwxr-xr-x 18 root root 4.0K 2005-03-23 00:09 phpCgi-5.0.2/ drwxr-xr-x 18 root root 4.0K 2005-03-23 00:12 phpCgi-5.0.3/ drwxr-xr-x 18 root root 4.0K 2005-11-30 23:08 phpCgi-5.1.1/ Then in my /usr/local/bin/ I link to the phpCgi link... [EMAIL PROTECTED]:/usr/local/bin ls -al | grep phpCgi lrwxrwxrwx 1 root root 43 2006-07-31 16:03 pear - /usr/local/php/phpCgi/installation/bin/pear* lrwxrwxrwx 1 root root 46 2006-07-31 16:03 peardev - /usr/local/php/phpCgi/installation/bin/peardev* lrwxrwxrwx 1 root root 43 2006-07-31 16:03 pecl - /usr/local/php/phpCgi/installation/bin/pecl* lrwxrwxrwx 1 root root 42 2006-07-31 16:03 php - /usr/local/php/phpCgi/installation/bin/php* lrwxrwxrwx 1 root root 49 2006-07-31 16:03 php-config - /usr/local/php/phpCgi/installation/bin/php-config* lrwxrwxrwx 1 root root 45 2006-07-31 16:03 phpize - /usr/local/php/phpCgi/installation/bin/phpize* And the magic happens by using the following magical parameters for the configure script: --prefix=/usr/local/php/${PHP_VERSION_DIR}/installation \ --exec-prefix=/usr/local/php/${PHP_VERSION_DIR}/installation This makes it really simple to test code with any given version of PHP since all I need to do is change the softlink in the /usr/local/php/ directory. For web testing, I change the link and restart the webserver. Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an
[PHP] Best way to get PHP5
Hello, Generally (well, actually 100%) I just use whatever version of PHP is included with a certain distro (Redhat pre-Fedora, Fedora Core, CentOS). None of the versions I've used have come with PHP5 and I'd really like to get with the times and use PHP5. I know that Fedora Core 5 offers PHP 5.1.2 but I've heard some negative things about it in general (FC5). I've never compiled PHP myself so admittedly I'm a bit skeered... Is the recommended path to just go with whatever distro I prefer and then download PHP5 from php.net and install it myself? Thanks, Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Best way to get PHP5
On Wed, 9 Aug 2006, Chris W. Parker wrote: Hello, Generally (well, actually 100%) I just use whatever version of PHP is included with a certain distro (Redhat pre-Fedora, Fedora Core, CentOS). None of the versions I've used have come with PHP5 and I'd really like to get with the times and use PHP5. I know that Fedora Core 5 offers PHP 5.1.2 but I've heard some negative things about it in general (FC5). I've never compiled PHP myself so admittedly I'm a bit skeered... Is the recommended path to just go with whatever distro I prefer and then download PHP5 from php.net and install it myself? Thanks, Chris. Yes, I would recommend that. If you are serious about using PHP for a while it would be benefitial to you to understand the installation aspect of the language. If you are comfortable with the command line this should be pretty easy for you. If not it will be a bit harder but still very possible. Here are installation instructions from php.net: http://www.php.net/manual/en/install.unix.php Good luck! Jonathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Best way to get PHP5
On Wednesday 09 August 2006 12:03, Jonathan Duncan wrote: On Wed, 9 Aug 2006, Chris W. Parker wrote: Hello, Generally (well, actually 100%) I just use whatever version of PHP is included with a certain distro (Redhat pre-Fedora, Fedora Core, CentOS). None of the versions I've used have come with PHP5 and I'd really like to get with the times and use PHP5. I know that Fedora Core 5 offers PHP 5.1.2 but I've heard some negative things about it in general (FC5). I've never compiled PHP myself so admittedly I'm a bit skeered... Is the recommended path to just go with whatever distro I prefer and then download PHP5 from php.net and install it myself? Thanks, Chris. Yes, I would recommend that. If you are serious about using PHP for a while it would be benefitial to you to understand the installation aspect of the language. If you are comfortable with the command line this should be pretty easy for you. If not it will be a bit harder but still very possible. Here are installation instructions from php.net: http://www.php.net/manual/en/install.unix.php Good luck! Jonathan Also, when compiling it yourself you can specify what extensions you want. This allows you to keep your install as minimal as possible for your needs, which increases the performance of PHP. -- Ray Hauge Programmer/Systems Administrator American Student Loan Services www.americanstudentloan.com 1.800.575.1099 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Best way to get PHP5
Chris W. Parker wrote: Hello, Generally (well, actually 100%) I just use whatever version of PHP is included with a certain distro (Redhat pre-Fedora, Fedora Core, CentOS). None of the versions I've used have come with PHP5 and I'd really like to get with the times and use PHP5. I know that Fedora Core 5 offers PHP 5.1.2 but I've heard some negative things about it in general (FC5). I've never compiled PHP myself so admittedly I'm a bit skeered... Is the recommended path to just go with whatever distro I prefer and then download PHP5 from php.net and install it myself? Thanks, Chris. Build PHP from sourceno reason to be scared, it really is quite painless, and the docs are fairly easy to follow. (and I *believe* php 5.1.2 has some security issues, as well as none of the nice updates for the Oracle driver if you are using Oracle, so go with 5.1.4) -Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Best way to get PHP5
On Wednesday 09 August 2006 12:02, Chris W. Parker wrote: I know that Fedora Core 5 offers PHP 5.1.2 but I've heard some negative things about it in general (FC5). What sort of negative things have you heard in general about (FC5)? -- Jack Gates http://www.morningstarcom.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Best way to get PHP5
Chris W. Parker wrote: Hello, Generally (well, actually 100%) I just use whatever version of PHP is included with a certain distro (Redhat pre-Fedora, Fedora Core, CentOS). None of the versions I've used have come with PHP5 and I'd really like to get with the times and use PHP5. I know that Fedora Core 5 offers PHP 5.1.2 but I've heard some negative things about it in general (FC5). I've never compiled PHP myself so admittedly I'm a bit skeered... Is the recommended path to just go with whatever distro I prefer and then download PHP5 from php.net and install it myself? roll your own - it's easy enough, and once you have mastered it you'll have a warm fuzzy feeling - when you initially get start you might run into a bit of trouble with regard to required libs/developer files needed by certain extensions that are not installed (use your fav package manager to grab those) but the basic premise is this (at the cmdline): $ mkdir ~/some-work-dir $ cd ~/some-work-dir $ wget http://nl2.php.net/get/php-5.1.4.tar.gz/from/this/mirror $ tar -xvvf php-5.1.4.tar.gz $ cd ./php-5.1.4 $ ./configure $ make $ make test $ make install you now have a basic php build on your system 1. you can skip 'make test' 2. if in doubt do 'make clean' before 'make' 3. rinse and repeat 'configure', 'make', 'make install' as required 4. do './configure --help' to see all the options you can pass to configure 5. get stuck with a configure option (for instance enabling GD) come back here :-) Thanks, Chris.ne`qc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Best way to get PHP5
Jochem Maas mailto:[EMAIL PROTECTED] on Wednesday, August 09, 2006 11:05 AM said: [snip useful stuff] 1. you can skip 'make test' 2. if in doubt do 'make clean' before 'make' 3. rinse and repeat 'configure', 'make', 'make install' as required 4. do './configure --help' to see all the options you can pass to configure 5. get stuck with a configure option (for instance enabling GD) come back here :-) Thanks Jochem. That's exactly what I'll do! :) Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Best way to get PHP5
Jack Gates mailto:[EMAIL PROTECTED] on Wednesday, August 09, 2006 10:16 AM said: On Wednesday 09 August 2006 12:02, Chris W. Parker wrote: I know that Fedora Core 5 offers PHP 5.1.2 but I've heard some negative things about it in general (FC5). What sort of negative things have you heard in general about (FC5)? Honestly I don't remember. But I've now got a generally negative view of FC5 versus previous versions (last one I used was 4 I think). If you're aware of any FUD that's been spread about it, feel free to speak the truth. Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Best way to get PHP5
On Wed, 9 Aug 2006, Chris W. Parker wrote: Jack Gates mailto:[EMAIL PROTECTED] on Wednesday, August 09, 2006 10:16 AM said: On Wednesday 09 August 2006 12:02, Chris W. Parker wrote: I know that Fedora Core 5 offers PHP 5.1.2 but I've heard some negative things about it in general (FC5). What sort of negative things have you heard in general about (FC5)? Honestly I don't remember. But I've now got a generally negative view of FC5 versus previous versions (last one I used was 4 I think). If you're aware of any FUD that's been spread about it, feel free to speak the truth. If you want to really learn Linux, try Gentoo. If you just want a very good and easy to use Linux, go with SuSE. Jonathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Best way to get PHP5
Jonathan Duncan wrote: On Wed, 9 Aug 2006, Chris W. Parker wrote: Jack Gates mailto:[EMAIL PROTECTED] on Wednesday, August 09, 2006 10:16 AM said: On Wednesday 09 August 2006 12:02, Chris W. Parker wrote: I know that Fedora Core 5 offers PHP 5.1.2 but I've heard some negative things about it in general (FC5). What sort of negative things have you heard in general about (FC5)? Honestly I don't remember. But I've now got a generally negative view of FC5 versus previous versions (last one I used was 4 I think). If you're aware of any FUD that's been spread about it, feel free to speak the truth. If you want to really learn Linux, try Gentoo. If you just want a very good and easy to use Linux, go with SuSE. sane words. debian is a good alterative to Gentoo (and there's Ubuntu which is a more userfriendly derivative of debian). personally I prefer eating razor blade than using something from redhat - I have never used FC but if it's anything like RedHat Enterprise Server then I'd only use as a bookend (if at all) if I were you. ;-) FUD-tastic! Jonathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Best way to get PHP5
On Wednesday 09 August 2006 19:24, Jochem Maas wrote: Jonathan Duncan wrote: On Wed, 9 Aug 2006, Chris W. Parker wrote: Jack Gates mailto:[EMAIL PROTECTED] on Wednesday, August 09, 2006 10:16 AM said: On Wednesday 09 August 2006 12:02, Chris W. Parker wrote: I know that Fedora Core 5 offers PHP 5.1.2 but I've heard some negative things about it in general (FC5). What sort of negative things have you heard in general about (FC5)? Honestly I don't remember. But I've now got a generally negative view of FC5 versus previous versions (last one I used was 4 I think). If you're aware of any FUD that's been spread about it, feel free to speak the truth. If you want to really learn Linux, try Gentoo. If you just want a very good and easy to use Linux, go with SuSE. sane words. debian is a good alterative to Gentoo (and there's Ubuntu which is a more userfriendly derivative of debian). personally I prefer eating razor blade than using something from redhat - I have never used FC but if it's anything like RedHat Enterprise Server then I'd only use as a bookend (if at all) if I were you. ;-) FUD-tastic! Jonathan Chris, Jochem just proved what I said earlier. Every one has their own preference and some go so far as to claim that the ones they just don't like are evil. That is why there are so many different flavors of Linux. That is also what will continue to hold Linux back in the market place and allow the truly evil OS to hold there market share on the desktop. personally I prefer eating razor blades to using something from Redmond Washington -- Jack Gates http://www.morningstarcom.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Best way to get PHP5
Jonathan Duncan mailto:[EMAIL PROTECTED] on Wednesday, August 09, 2006 3:55 PM said: If you want to really learn Linux, try Gentoo. If you just want a very good and easy to use Linux, go with SuSE. To keep this related to the question I asked... Do either of the latest builds of these distros have PHP5? Thanks, Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php