473,387 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Problem with FastCGI PHP on Sun ONE Web Server 6

I installed the Zend PHP enabler for Sun ONE Web Server which is
basically a wrapper to run PHP in fastcgi mode. The interpreter runs
fine but there's one nasty problem: PHP doesn't use the PHPRC
environment variable I set in the config to assign each virtual server a
different php.ini file. phpinfo() shows PHPRC correctly among the
environment vars but for some reason PHP uses the default compiled-in
ini path anyway. Any ideas what might be wrong here?

Here's the configuration:

In obj.conf, the default object:
Service type="magnus-internal/fastcgi-php" fn="FCGIRequestHandler"
BindPath="localhost:8082" AppPath="/usr/local/bin/php-4.3.4-fastcgi"
StartServers="1" PHP_FCGI_CHILDREN="5" PHPRC="/usr/local/etc"

<Object name=fastcgi>
# File types for fastcgi-php bound in mime.types
ObjectType fn=force-type type=magnus-internal/fastcgi-php
Service fn=FCGIRequestHandler
</Object>
--
// Henri Vilminko
// http://www.iki.fi/omegas/

Jul 17 '05 #1
0 2171

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Andrew Crowe | last post by:
Hi guys, I've got 3 W2K Advanced Server machines here running PHP5.0.0 on IIS5. Two of them run perfectly using FastCGI. The third is unstable with FastCGI, after it's been running for a day or...
2
by: aa | last post by:
Since recently opening a php file on my w2k Pro takes ages and often ends up with an error massege "cannot conect to fastcgi server". However if I refresh the page it starts working normally. How...
5
by: howachen | last post by:
hi, which package you perfer? mod_php on apache is okay but some people said fastcgi version of php is faster, is it true? thanks...
37
by: Joshua Ruppert | last post by:
When I'm using FastCGI do I need to code differently than I do when using regular CGI? Because the PHP.exe processes don't go away do global variables stick around from page request to page...
7
by: Vincent Delporte | last post by:
Hello I'm interested in hearing reflections by seasoned web app developpers about the different ways to write PHP apps, and especially how they compare in terms of performance, whether it's the...
2
by: Sanders Kaufman | last post by:
I'm working on a webhost that seems to have an undocumented feature. I inadvertently coded a link to "mydomain.com//" - with TWO trailing slashes. When I clicked the link, Apache returned this...
2
by: FastCGI | last post by:
I must admit, I am somewhat ignorant when it comes to understanding FastCGI at this point, but all I do know is that it is the only way to implement dynamic web pages using C++ that compete on the...
6
by: sonalsoni | last post by:
hello to all, I am facing a problem during the execution of the http server; It gives the following error: (5)Access is denied: FastCGI: CreateMutex() failed Syntax error on line 92...
1
by: Ivan Voras | last post by:
Hi, Is there a straightforward way to convert an XML-RPC server application (written for SimpleXMLRPCServer) to use WSGI so that it can be used as s fastcgi server? By "straightforward" I mean...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.