UNIX admin wrote: > > If PHP has been so compiled, the compiler and the linker will > generate a php binary for use in the CLI and for running PHP > scripts. > > Personally, I believe this is great feature, becayse it not only > adds one more powerful, flexible language for writing scripts, but > also for building complex and powerful applications, to Solaris. > > My hope is that the CLI version of PHP becomes the norm. Right now > Solaris is on the good track to be one of the first, if not the > first, early adopters to add CLI PHP to his arsenal. This is cutting > edge stuff, and it creates a great incentive for developers to use > Solaris and develop on it.
Glad to hear that ;-) Yes, the CLI is there, /usr/php5/5.2.4/bin/php The earlier part of this thread was just about adding a soft link /usr/bin/php -> /usr/php5/5.2.4/bin/php > This leaves doubt in my mind. Has PHP really changed in such drastic > ways from 4.x to 5.x that it actually warrants the > /usr/php/<revision>/ directory tree? I find that really hard to > believe. Well, the change doesn't necessarily have to be so drastic, if there is a break in compatibility then it is worth having some versioning. But this is an area that should be explored further. IMO the original case was overly conservative with the /usr/php5/5.2.4/ versioning. I believe this is going to have to be revised because delivering a whole new set of packages for every bug fix is too cumbersome. The question will be what is the correct level of versioning - i.e. at what dot release level can we expect incompatibility. Apache and Ruby for example went with "X.Y", expecting all X.Y.* will be compatible. > PSARC 2007/168 proposes, among other things, a file system > structures for PHP5. However, nowhere in that proposal do I see any > sparcv9/ directories, which implies that only 32-bit version of PHP > will be delivered. Correct, 2007/168 delivered 32bit PHP into build 76. Support for 64bit PHP hasn't been done yet. It's something that'd be nice to look into. (As always, if you|anyone wants to share experience, needs or best of all, build system patches, all comments are welcome!) -- Jyri J. Virkki - jyri.virkki at sun.com - Sun Microsystems
