Sponsored Content
Operating Systems Solaris Installing PHP on Solaris (Express) Error Post 302225708 by jlliagre on Saturday 16th of August 2008 02:47:18 PM
Old 08-16-2008
Depending on what choice was made as installation type (core, end-user, developer, full), Solaris Express can have no, one or two C compilers.
Contenders are /usr/sfw/bin/gcc (not in the default PATH) and /opt/SUNWspro/bin/cc (neither in the default PATH). Perhaps SUNWspro isn't installed at all or isn't installed as a package so /opt/SUNWspro just doesn't exists in the sparse zone which doesn't lofs mount /opt, the reason why I asked for the ls -lL result.
 

8 More Discussions You Might Find Interesting

1. Solaris

[Help] please help error messages when installing solaris 8

hi expert, please help i had a problem when installing sun solaris OS at V890, below is the error messages : SunOS Release 5.8 Version Generic_108528-29 64-bit Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved. configuring IPv4 interfaces: ce0. Hostname: USSDGmdn-4... (5 Replies)
Discussion started by: bucci
5 Replies

2. Solaris

ipfilter solaris express

Hello, | am trying to setup ipfilter on solaris express snv_91 but I don't seem to have the following file available. /etc/ipf/pfil.ap Is this an older way of configuring the interface?, I have all the packages installed. Thanks, (1 Reply)
Discussion started by: Actuator
1 Replies

3. Solaris

Error after installing 2nd hard disk on Solaris 10?

I installed Solaris 10 on this Dell 5150 with only 1 SATA hard drive setup, all went well, and I could view the disk in the disk management window. However, I setup a 2nd hard drive, identical to 1st drive. Solaris wont recognize it and gives an error when trying to view disks in disk management... (5 Replies)
Discussion started by: Joncamp
5 Replies

4. Solaris

Error: installing Nmap on Solaris11 Express

Hello, I am trying to install Nmap on my Solaris machine. I got errors at the very last of "make" command though. Could someone point me out what I am lacking? Thank you! Nmap version: 5.50 (nmap-5.50.tar.bz2) Solaris version (cat /etc/release): Error message ( run "./configure &&... (0 Replies)
Discussion started by: fragile_it
0 Replies

5. Solaris

Solaris Express or OpenIndiana

Simply question which should I use. correct me if I'm wrong but Solaris Express is taking the place of Opensolaris and is officially sanctioned by Oracle and OpenIndiana is what used to be OpenSolaris. If I opt for OpenIndiana is it going to follow the official Oracle Solaris releases or are... (3 Replies)
Discussion started by: michael78
3 Replies

6. UNIX for Dummies Questions & Answers

Installing a library of php in solaris 10

People i want to install a library on a solaris 10 x64 with a opteron. The library asks for a another library called libxcb-xlib.so.0. Does Anybody know where i can find this library? the complete error is root@webserver # php PHP Warning: PHP Startup: Unable to load dynamic library... (1 Reply)
Discussion started by: enkei17
1 Replies

7. Solaris

OpenSolaris, Solaris, Solaris Express - differences

What are the differences between these systems? I have to use Oracle's product but I do not know who to choose (3 Replies)
Discussion started by: PtaQ
3 Replies

8. Solaris

Solaris 11 Express - freezes on startup!

I seem to be having a very irritating problem with my Solaris 11 Express fileserver which I built for my small home business. The basic problem is that the system will hang or freeze about 20 seconds into booting up. Grub comes up fine, and I can select between pre-napp-it and current build. It... (13 Replies)
Discussion started by: Smokin Whale
13 Replies
WINCACHE_REFRESH_IF_CHANGED(3)						 1					    WINCACHE_REFRESH_IF_CHANGED(3)

wincache_refresh_if_changed - Refreshes the cache entries for the cached files

SYNOPSIS
bool wincache_refresh_if_changed ([array $files = NULL]) DESCRIPTION
Refreshes the cache entries for the files, whose names were passed in the input argument. If no argument is specified then refreshes all the entries in the cache. PARAMETERS
o $files - An array of file names for files that need to be refreshed. An absolute or relative file paths can be used. RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
WinCache performs regular checks on the cached files to ensure that if any file has changed then the corresponding entry in the cache is updated. By default this check is performed every 30 seconds. If, for example, a PHP script updates another PHP script where the applica- tion's configuration settings are stored, then it may happen that after the configuration settings have been saved to a file, the applica- tion is still using old settings for some time until the cache is refreshed. In those cases it may be preferrable to refresh the cache right after the file has been changed. The following example shows how this can be done. Example #1 A wincache_refresh_if_changed(3) example <?php $filename = 'C:inetpubwwwrootconfig.php'; $handle = fopen($filename, 'w+'); if ($handle === FALSE) die('Failed to open file '.$filename.' for writing'); fwrite($handle, '<?php $setting=something; ?>'); fclose($handle); wincache_refresh_if_changed(array($filename)); ?> SEE ALSO
wincache_fcache_fileinfo(3), wincache_fcache_meminfo(3), wincache_ocache_fileinfo(3), wincache_ocache_meminfo(3), wincache_rplist_file- info(3), wincache_rplist_meminfo(3), wincache_ucache_meminfo(3), wincache_ucache_info(3). PHP Documentation Group WINCACHE_REFRESH_IF_CHANGED(3)
All times are GMT -4. The time now is 11:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy