06-09-2009
Hi,
I am also seeking for a "ready to use" PHP package for Solaris. Unfortunately the Package from Sunfreeware has no fastcgi enabled. I also tried the PHP plugin for the Sun Webserver, but this one is lacking of LDAP support (which I also need).
Do someone know another place to get a PHP package for Solaris?
Greetz,
Anatotitan
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello everyone I am new to unix. I would like to install solaris or freebsd on my pc. I have found zip files to download at the sun.com website. From there on out, I am stumped.
I want to download to OS file, put it on a CD and install the OS from the CD.
Is there a step by step guide out... (2 Replies)
Discussion started by: astro
2 Replies
2. Shell Programming and Scripting
Hi all
I am really need your hand in my critical problem , I want to install PHP and My SQL on my Solaris 9 station , I am already have Apache Webserver on it .
This is my system specs , I think it means some thing for who will help me :
SunOS STATION_NAME 5.9 Generic_112233-08 sun4u sparc... (6 Replies)
Discussion started by: KSA
6 Replies
3. Solaris
Hi everyone, i been trying to get my hands on a sun microsystem computer for a very long time, but for some reason i end up with microsucks, sorry, microsoft, well to the point.
Finally i bought a sunblade 100 with no OS, i download the Solaris 10 .iso files and burn them into cd-r, sytem =... (10 Replies)
Discussion started by: deamon
10 Replies
4. Solaris
i 've a toshiba notebook (satellite L20 - 100) but i can't install solaris 10 or 9 on it , even linux ..i asked a few ppl they said that may b something wrong with the hardware...can this be possible?
to make it such exclusive for windows or something?????????????// (4 Replies)
Discussion started by: slimydoom
4 Replies
5. Solaris
Hello everyone,
Background:
I'm having an issue with booting a clone of hard drive with Solaris 8 installation.
For cloning process I have used g4l, running under click'n'clone option. As far as I know the actual operation ran behind g4l's interface was dd, though I do not have any information... (12 Replies)
Discussion started by: johnny994
12 Replies
6. Solaris
I am trying to build a Sun Ultra 10 with solaris 10. This computer is one of a collection that was donated to the non-profic company I work for. All media was wiped before I recieved them, so I am starting from stratch.
I downloaded the Solaris 10 ISO and burned a DVD. The computer came with a... (4 Replies)
Discussion started by: gwillhight
4 Replies
7. Shell Programming and Scripting
Hi,
I need to install php 5.5.30 as an apache (2.4.17) module on Solaris 10.
Please any help is wellcome.
Some aditional info:
/usr/sfw/bin/gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
bash-3.2# g++ -v
Reading specs from... (1 Reply)
Discussion started by: lbslbs
1 Replies
8. Solaris
Dear All:
I am trying to install JRE 1.6 on Solaris 7. But it's failed.
error message:
ld.so.1 symbo1 __1cH__Climpkcplus_init6F_v_: referenced symbol not found (2 Replies)
Discussion started by: jaychen
2 Replies
9. Solaris
I want to migrate a solaris 10 os to solaris 11.4 zone.
I did this
a)Collect some data like id sysid,disks,ip,etc..on solaris10
OK
b)Create this file.cfg with this command on solaris 10
zonep2vchk -c > /migration/sol10.cfg
OK
c)Create the archive flash on Solaris10 (1 Reply)
Discussion started by: Linusolaradm1
1 Replies
LEARN ABOUT PHP
phpversion
PHPVERSION(3) 1 PHPVERSION(3)
phpversion - Gets the current PHP version
SYNOPSIS
string phpversion ([string $extension])
DESCRIPTION
Returns a string containing the version of the currently running PHP parser or extension.
PARAMETERS
o $extension
- An optional extension name.
RETURN VALUES
If the optional $extension parameter is specified, phpversion(3) returns the version of that extension, or FALSE if there is no version
information associated or the extension isn't enabled.
EXAMPLES
Example #1
phpversion(3) example
<?php
// prints e.g. 'Current PHP version: 4.1.1'
echo 'Current PHP version: ' . phpversion();
// prints e.g. '2.0' or nothing if the extension isn't enabled
echo phpversion('tidy');
?>
Example #2
PHP_VERSION_ID example and usage
<?php
// PHP_VERSION_ID is available as of PHP 5.2.7, if our
// version is lower than that, then emulate it
if (!defined('PHP_VERSION_ID')) {
$version = explode('.', PHP_VERSION);
define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 + $version[2]));
}
// PHP_VERSION_ID is defined as a number, where the higher the number
// is, the newer a PHP version is used. It's defined as used in the above
// expression:
//
// $version_id = $major_version * 10000 + $minor_version * 100 + $release_version;
//
// Now with PHP_VERSION_ID we can check for features this PHP version
// may have, this doesn't require to use version_compare() everytime
// you check if the current PHP version may not support a feature.
//
// For example, we may here define the PHP_VERSION_* constants thats
// not available in versions prior to 5.2.7
if (PHP_VERSION_ID < 50207) {
define('PHP_MAJOR_VERSION', $version[0]);
define('PHP_MINOR_VERSION', $version[1]);
define('PHP_RELEASE_VERSION', $version[2]);
// and so on, ...
}
?>
NOTES
Note
This information is also available in the predefined constant PHP_VERSION. More versioning information is available using the
PHP_VERSION_* constants.
SEE ALSO
PHP_VERSION constants, version_compare(3), phpinfo(3), phpcredits(3), php_logo_guid(3), zend_version(3).
PHP Documentation Group PHPVERSION(3)