473,805 Members | 2,001 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="FCGIRequest Handler"
BindPath="local host:8082" AppPath="/usr/local/bin/php-4.3.4-fastcgi"
StartServers="1 " PHP_FCGI_CHILDR EN="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=FCGIRequestH andler
</Object>
--
// Henri Vilminko
// http://www.iki.fi/omegas/

Jul 17 '05 #1
0 2198

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

Similar topics

0
2107
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 so it starts randomly printing out the error "-2147417842 (0x8001010e)" on a blank page. (Restarting IIS clears this for another day) If I try to use the built in ISAPI module it will give the "PHP has encountered an access violation" error at...
2
1631
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 do I fix it?
5
3558
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
3992
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 request, creating the need for better managment / pooling of DB connections? Josh
7
25726
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 PHP part or connections to MySQL. As far as I know, there are different ways to write a PHP application: - CGI, ie. the usual way : some PHP code in web pages, and the PHP interpreter is loaded each time a PHP page is called
2
2928
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 error: -+-+-+-+-+-+ 403 Forbidden You don't have permission to access
2
3279
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 scale of scritping languages like PHP. There seem to be no step-by-step learning materials for FastCGI on the web. But let's place this matter aside for right now. Is it possible to support sessions under C++ and FastCGI? Why aren't there...
6
4512
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 of f:/oracle/ora92/sqlplus/admin/isqlplus.conf: failed to create FastCGI application accept mutex please help me for finding out the reason
1
2115
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 something simple, without using some external framework. Alternatively, I don't really care about WSGI, so something that makes it work as fastcgi directly will also be ok.
0
9596
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10604
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10356
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10361
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9179
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6874
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5536
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3839
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3006
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.