I have noticed when doing a "top" via SSH on my GoDaddy virtual dedicated
server that every time a user logs in in the COMMAND column I see the
PHP-CGI process start to run, followed by mysqld. Often when these two
processes run I start to see a spike in average load, and sometimes
lol.
The last one:
500 23880 0.0 0.0 209136 10832 ?S21:23 0:01
/usr/local/websrv/php/bin/php-cgi --fpm --fpm-config
/usr/local/websrv/php/etc/php-fpm.conf
500 27195 15.0 0.1 210196 12644 ?S23:02 0:02
/usr/local/websrv/php/bin/php-cgi --fpm --fpm-config
On 10/20/2011 5:20 AM, sean chen wrote:
>> The red one is busy
My email client is color blind.
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
http://www.bendsource.com/
C - (541) 408-5189
O - (541) 323-9113
H - (541) 323-4219
--
PHP General Mailing List (http://www.php.ne
It's cause by eaccelerator module, when I remove this module, the php-cgi
works well.
Is there some compatible issue between eaccelerator and php?
Regards
Sean
2011/10/19 Sean Chen
> Hi,
>
> ** **
>
> I’ve got a problem when running PHP with nginx, there are several
Hi,
I've got a problem when running PHP with nginx, there are several php-cgi
processes and only one is busy at one time, like this:
500 23868 0.0 0.0 209164 10948 ?S21:23 0:01
/usr/local/websrv/php/bin/php-cgi --fpm --fpm-config
/usr/local/websrv/php/etc/php-fpm
Nice write up Richard
On Oct 12, 2011, at 7:06, Richard Quadling wrote:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 12 October 2011 09:19, saeed ahmed wrote:
> greeting all,
>
> 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
> - FastCGI : apparently, the interpre
greeting all,
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
- FastCGI : apparently, the interpreter is loaded at boot time; the
application itself might
Hi, everyone,
I built a project base on ZF in Zend Studio 8, and run well. But when I
debug the index.php as PHP Web Page, it always get the index.php file "save
as", and then an CGI/FastCGI error, soon or later.
I use Zend Debugger, and Local Zend server.
I googled much , and have changed setting
thanks for your reply.
i think i have know the reason now.
the CGI version of php is not built by default,we MUST add
"--enable-cgi" to configure explicitly.
Best regards,
Sharl.Jimh.Tsin
2010/4/22 Lupus Michaelis :
> Le 21/04/2010 12:17, Sharl.Jimh.Tsin a écrit :
>
>>
Le 21/04/2010 12:17, Sharl.Jimh.Tsin a écrit :
i can not find php-cgi file in the bin/sbin directory. WHY?
("--disable-cgi" is not used)
cd to your build directory, then type next command :
find . -name php5-cgi -or -name php-cgi
--
Mickaël Wolff aka Lupus Michaelis
http://lu
hiplu :
>>> Did you try --with-fastcgi or --enable-fastcgi
>>>
>>>
>>>
>>>
>>>
>>> Shiplu Mokaddim
>>> My talks, http://talk.cmyweb.net
>>> Follow me, http://twitter.com/shiplu
>>> SUST Programmers, http://g
rs, http://groups.google.com/group/p2psust
>> Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
>>
>>
>>
>> On Wed, Apr 21, 2010 at 5:17 PM, Sharl.Jimh.Tsin
>> wrote:
>>> i can not find php-cgi file in the bin/sbin directory. WHY?
>>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
talks, http://talk.cmyweb.net
> Follow me, http://twitter.com/shiplu
> SUST Programmers, http://groups.google.com/group/p2psust
> Innovation distinguishes bet ... ... (ask Steve Jobs the rest)
>
>
>
> On Wed, Apr 21, 2010 at 5:17 PM, Sharl.Jimh.Tsin
> wrote:
>>
, Sharl.Jimh.Tsin wrote:
> i can not find php-cgi file in the bin/sbin directory. WHY?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--with-zlib --with-bz2 --with-gd
--with-mhash --with-imap --with-imap-ssl --with-ldap --with-mcrypt
--with-mysql=/usr/local/mysql --with-mysql-sock=/tmp
--with-mysqli=/usr/local/bin/mysql_config --with-xmlrpc
after make install.
i can not find php-cgi file in the bin/sbin directory. WHY?
("--di
I'm working on something similar, here's the pseudo-code of what
happens to ensure the PHP script run by my server doesnt see any
difference than when it runs under apache or others...
Say the php file to execute is "index.php" and it was called from a
form post, the form tag also specified GET ar
Hi,
i'm planning to create a win32 http server that supports cgi. Does anybody see
the problem in C++ -source? Php doesn't give any output, but if I don't set the
rfc3875 environment variables, all output comes
normally (expect post and other variables aren't set).
Only what I'm able to set is $_
Thodoris napsal(a):
Y
In cgi i can use perl ,c etc
suppose i use perl
now how efficiency differs?
How cgi written in perl and php is differ in working in context of web
service?
other difference?.
but their differ.
On Thu, Feb 5, 2009 at 6:45 PM, Jay Blanchard
wrote:
[snip]
can a
Thanx for your reply Thodoris
i really new to this.
i will follow your suggestions.
and i admit tht my query was silly its b'zoz i know less .
but
wht the hell reply by the "Martin Zvarík". has he done all this in womb.
MZ u also need to think before commenting such.
On Thu, Feb
Thodoris napsal(a):
Y
In cgi i can use perl ,c etc
suppose i use perl
now how efficiency differs?
How cgi written in perl and php is differ in working in context of web
service?
other difference?.
but their differ.
On Thu, Feb 5, 2009 at 6:45 PM, Jay Blanchard
wrote:
[snip]
can any
Y
In cgi i can use perl ,c etc
suppose i use perl
now how efficiency differs?
How cgi written in perl and php is differ in working in context of web
service?
other difference?.
but their differ.
On Thu, Feb 5, 2009 at 6:45 PM, Jay Blanchard wrote:
[snip]
can anybody tell me the benef
Y
In cgi i can use perl ,c etc
suppose i use perl
now how efficiency differs?
How cgi written in perl and php is differ in working in context of web
service?
other difference?.
but their differ.
On Thu, Feb 5, 2009 at 6:45 PM, Jay Blanchard wrote:
> [snip]
> can anybody tell me the benefits
[snip]
can anybody tell me the benefits of php over cgi or vice versa?
i need to compare both?
[/snip]
CGI is a gateway to be used by languages
PHP is a language
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
can anybody tell me the benefits of php over cgi or vice versa?
i need to compare both?
--
vikas sharma
;-static" flags.. but the CGI builds using shared libs, example:
# file /tmp/php-cgi
/tmp/php-cgi: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped
# ldd /tmp/php-cgi | head
libcrypt.so.1 => /lib/li
I solved the problem myself.
Following command works:
export CONTENT_LENGTH=4; export REQUEST_METHOD=POST; export SCRIPT_FILENAME=
test.php ; export CONTENT_TYPE=application/x-www-form-urlencoded; echo s=44
| php-cgi
output:
X-Powered-By: PHP/5.2.3-1ubuntu6.3
Content-type: text/html
44
a
Hi,
I'm writing a simple httpd with php support via cgi/fastcgi. I tried several
ways to pass POST data to php-cgi (by writing to child process's stdin from
parent process), however, none of them worked
Here's the most simple not working example:
$ export CONTENT_LENGTH=4; exp
El Bekko wrote:
Max Schwanekamp wrote:
Can anyone offer or point me to a summary of differences between
running php as an Apache module vs as a cgi executable? Specifically,
I'm wanting to upgrade our servers to php 5 but there is one crucial
third-party app we're using that still needs php 4
Max Schwanekamp wrote:
Can anyone offer or point me to a summary of differences between running
php as an Apache module vs as a cgi executable? Specifically, I'm
wanting to upgrade our servers to php 5 but there is one crucial
third-party app we're using that still needs php 4, so I'm hoping I
Can anyone offer or point me to a summary of differences between running
php as an Apache module vs as a cgi executable? Specifically, I'm
wanting to upgrade our servers to php 5 but there is one crucial
third-party app we're using that still needs php 4, so I'm hoping I can
run just that app
Hi all,
ok, I have come up with an architecture to offer PHP to customers as a
CGI, and want to get some opinions to make sure I'm not missing any
glaring holes...
I've decided to use suPHP to fork off PHP CGI scripts as the user and
group. It seems to work pretty well, and I ha
Hi all,
ok, I want to re-post this so that more people might see it, cause there
has to be an answer somewhere...
When using the GCI version of PHP with apache, I need to be able to set
some of the php_admin_values that normally get set in the php.ini file
on the fly...
Since I am not usin
want to set 'session.save_path' for each virtual
host to a directory other than the one set in php.ini that only
apache can read/write to since my suexec'd php cgi binary
can only write session data to a directory owned by the
virtual host user.
How can this be done? Any help would be appreciated, thanks.
-Jason Kovacs
Mikey wrote:
Al wrote:
I've got a php script that checks certain file permissions and if not
OK for writing, chmods as required.
I can use ftp_site(); but, prefer not to because the code is not
readily transportable. Requires ftp login.
I'd like a simple cgi file that can be called by my
Al wrote:
I've got a php script that checks certain file permissions and if not
OK for writing, chmods as required.
I can use ftp_site(); but, prefer not to because the code is not
readily transportable. Requires ftp login.
I'd like a simple cgi file that can be called by my script as need
I've got a php script that checks certain file permissions and if not OK for
writing, chmods as required.
I can use ftp_site(); but, prefer not to because the code is not readily
transportable. Requires ftp login.
I'd like a simple cgi file that can be called by my script as needed.
My cgi f
We have a Redhat server, which only allows PHP 4.3.2 to be
installed by RPM. I manually compiled and installed 4.3.9 using
the configure params as the RPM install. It compiled the CGI
version, which seems to run, but Apache (2.0) doesn't recognize it.
phpinfo() still reports 4.3.2.
Any ideas
Sandy Keathley wrote:
> We have a Redhat server, which only allows PHP 4.3.2 to be
> installed by RPM. I manually compiled and installed 4.3.9 using
> the configure params as the RPM install. It compiled the CGI
> version, which seems to run, but Apache (2.0) doesn't recognize it.
> phpinfo() sti
On Tue, 14 Dec 2004 15:09:21 -0600, Sandy Keathley
<[EMAIL PROTECTED]> wrote:
> We have a Redhat server, which only allows PHP 4.3.2 to be
> installed by RPM. I manually compiled and installed 4.3.9 using
> the configure params as the RPM install.
Did you remove the PHP rpm(s) first?
> It compil
Jared wrote:
foo.php, I get "No input file specified." Instead of the standard 404
error. Is there a way to customize this?
Easy with Apache [1,2], with en ErrorDocument [1] directive.
Ex with this in a .htaccess (the FileInfo Override [3] is required)
containing this line:
ErrorDocument 404 /Lame
I'm running PHP as CGI instead of as an apache module because my hosting
1) suggests it and 2) this way I can compile my own PHP with whatever
options I want, including a custom php.ini.
Works great except when I load a page that doesn't exist, such as
foo.php, I get "No input file specified."
hello list,
im running a php script from CLI/CGI on linux which has a variable execution
time, some times it doesnt terminates by itself so i have to set a
max_execution_time to terminate the script. My problem is that the
max_exec_time on CGI versions is always 0 (never time out) which produces
z
urt Zirzow [mailto:[EMAIL PROTECTED]
Sent: Friday, July 02, 2004 3:38 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP cgi
* Thus wrote Steve Douville:
> There used to be a way that stripped something from a PHP binary that
> drastically reduced the size of the cgi file. For the life of me, I
* Thus wrote Steve Douville:
> There used to be a way that stripped something from a PHP binary that
> drastically reduced the size of the cgi file. For the life of me, I can't
> remember and can't find it on google anywhere. Anyone know what it is?
You're looking for the 'strip' command
Curt
--
There used to be a way that stripped something from a PHP binary that
drastically reduced the size of the cgi file. For the life of me, I can't
remember and can't find it on google anywhere. Anyone know what it is?
TIA,
Steve
Hi there
we need to run php under another user account as we are setting up a
link with it to Qmail. Our plan is to use:
php-cgi+suexec for this. fastcgi may be an alternative and we are just
php-cgi+wondering if there is anything bad about using fastcgi for this?
Any help appreciated
Thanks
Hi there
we need to run php under another user account as we are setting up a
link with it to Qmail. Our plan is to use:
php-cgi+suexec for this. fastcgi may be an alternative and we are just
wondering if there is anything bad about using fastcgi for this?
Any help appreciated
Thanks
Ade
Hi,
I am having a lot of problems with any PHP routines that have to access
the filesystem - things like exec(), shell_exec(), system(), backticked
shell commands, copy(), move_uploaded_file() and so on.
I have a non-standard setup with CLI, CGI and mod_php all installed.
These scripts are usin
Hi,
I'm having a problem compiling php with cli and cgi support. When i compiled
php in redhat 7.3 it creates both php-cgi and php-cli in sapi/cgi and
sapi/cli directories, but when i compiled it in Redhat Advance Server only
php-cli was created. I used the same config command parameters in
Hi All,
I am getting this error when I trying to pass some url params;
CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:
And nothing
Has anybody seen this before? I did a search and it seems that there are a
f
:[EMAIL PROTECTED]
> Sent: Wednesday, January 28, 2004 4:52 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] cgi error --- please help
>
>
> I recently had this error. Turns out that my php binary was the
> CLI(command line interface only) version, not the cgi version
> and
I recently had this error. Turns out that my php binary was the
CLI(command line interface only) version, not the cgi version and so it
wasn't sending the headers before parsing the php file. You should look
at getting the right php binary.
Also, if you have a question, you don't make 2 seperate
CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers.
I am getting this error and I can't figure out what is causing the problem.
If I hit refresh on the broswer, the page loads just fine. Any ideas???
Thanks,
Dale
RUNNING IIS 6.0 & MSSQL 2000
--
P
CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers.
I am getting this error and I can't figure out what is causing the problem.
If I hit refresh on the broswer, the page loads just fine. Any ideas???
Thanks,
Dale
RUNNING IIS6.0 & MSSQL 2000
--
PH
CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers.
I am getting this error and I can't figure out what is causing the problem.
If I hit refresh on the broswer, the page loads just fine. Any ideas???
Thanks,
Dale
NOTE:
RUNNING IIS 6.0 WITH MSSQL 20
On Tue, 27 Jan 2004 18:41:39 -0800
"Dale Hersh" <[EMAIL PROTECTED]> wrote:
> CGI Error
> The specified CGI application misbehaved by not returning a
> complete set of HTTP headers.
>
> I am getting this error and I can't figure out what is causing
> the problem. If I hit refresh on the broswer, t
CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers.
I am getting this error and I can't figure out what is causing the problem.
If I hit refresh on the broswer, the page loads just fine. Any ideas???
Thanks,
Dale
--
PHP General Mailing List (http:
BøRge Strand wrote:
Hi there,
I have a problem setting my headers right with php running as .cgi. I
have to specify a Content-type for the cgi file to work. But how
should I do both that and start a session?
I have a few options:
#! /usr/local/bin/php
This way $_SESSION['count'] stays unset even
> > I have a problem setting my headers right with php running as
> > .cgi. I have to specify a Content-type for the cgi file to work.
> > But how should I do both that and start a session?
>
> Try using header() instead of print to set Content-Type.
>
> Hope that helps.
Thanks Chris. I tried t
> >I have a problem setting my headers right with php running as .cgi. I
> >have to specify a Content-type for the cgi file to work. But how
> >should I do both that and start a session?
> >
> >I have a few options:
> >
> >#! /usr/local/bin/php
> > >session_start();
> >print 'Content-type:
--- Børge Strand <[EMAIL PROTECTED]> wrote:
> I have a problem setting my headers right with php running as
> .cgi. I have to specify a Content-type for the cgi file to work.
> But how should I do both that and start a session?
Try using header() instead of print to set Content-Type.
Hope that he
On Sat, 10 Jan 2004 17:44:18 +0100 (MET), you wrote:
>I have a problem setting my headers right with php running as .cgi. I
>have to specify a Content-type for the cgi file to work. But how
>should I do both that and start a session?
>
>I have a few options:
>
>#! /usr/local/bin/php
>session_s
Hi there,
I have a problem setting my headers right with php running as .cgi. I
have to specify a Content-type for the cgi file to work. But how
should I do both that and start a session?
I have a few options:
#! /usr/local/bin/php
' . "\n";
print '' . "\n";
if (!isset($_SESSION['count
Hello,
I have PHP as Apache so and I wand to use it in the command line as
CGI. As apache module I have running with safe mode in the command
line I want to use PHP without SAFE MODE. My PHP is compiled with so
modules.
If I use this construction:
#!/usr/local/bin/php -c /root/ -q
I had been running a CGI version of PHP version 3 for many months with
no issues. (I had custom extensions in the CGI version.)
Well, my hosting company decided to enable suexec on Apache (running on
Redhat Linux). As I understand, with suexec enabled, only the owner of a
particular CGI script
Miroslav I. wrote:
Hi, people
#The problem:
There is an error message that stops proper loading of one iFRAME, I
couldn't understand what is the problem.
Complete error message issued:
CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers i
Hi, people
#The problem:
There is an error message that stops proper loading of one iFRAME, I
couldn't understand what is the problem.
Complete error message issued:
>>CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are
Hi,
I have here a problem for having the php-cgi binary in linux. I compiled php
with php-cli and php-cgi but after installation i can't find the php-cgi
binary, i only have the php-cli under /usr/local/bin/.
Any idea why? Please help..
here's what i've did:
'./conf
* Thus wrote Andrew Warner ([EMAIL PROTECTED]):
> I've never used php cgi version, and all the httacces configuration
> I've tried to map .phpc files to the php cgi binary hasn't worked
> right. I need an example htacces file or an example of a script
> header li
My ISP hosted website uses the php apache module version, but I'm
trying to use php cgi version for the part of my site edit
application that actually creates and edits files on the site. This
will avoid all the permision and chmod hassle when php tries to
create and edit files. My IS
nabil wrote:
Why this happen with me with IIS
CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:
Although it's not a bug, read this:
http://bugs.php.net/bug.php?id=12061
--
---John Holmes...
Amazon Wishlist: www.amaz
* Thus wrote nabil ([EMAIL PROTECTED]):
> Why this happen with me with IIS
> CGI Error
> The specified CGI application misbehaved by not returning a complete set of
> HTTP headers. The headers it did return are:
check your IIS logs.
Curt
--
"I used to think I was indecisive, but now I'm not so s
Why this happen with me with IIS
CGI Error
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
imran wrote:
CGI Timeout
The specified CGI application exceeded the allowed time for processing.
The server has deleted the process.
"
does it mean that I have to use set_time_limit so the script doesn't time out ? I don't really understand why I should do that.
You may be reaching an IIS imposed
hello,
I wrote a very simple upload script and it perfectly works for small files. But if the
file is too huge (I tried with 8Mbytes), my browser displays:
"
The page cannot be displayed
...
Cannot find server or DNS Error
Internet Explorer
"
instead of uploading the file and submitting the for
Hi,
i facing a error during uploading a big size file (abt 200 MB). i incred =
upload file size in php.ini and also incred connection time in IIS (web =
server), but i getting again this below written error msg.
any one known abt this...
CGI Timeout
The specified CGI application exceeded the allo
That worked like a charm. Thanks Chris. I've added this to my snippet
collection. :)
At 12:02 AM 7/24/2003, Chris Shiflett wrote:
--- CDitty <[EMAIL PROTECTED]> wrote:
> Thanks man. That got rid of the error, however it is not using the
> variable in the script.
You have to read them in. I th
--- CDitty <[EMAIL PROTECTED]> wrote:
> Thanks man. That got rid of the error, however it is not using the
> variable in the script.
You have to read them in. I think you can just loop through $argv, so something
like this will show you what PHP is receiving:
Hope that helps.
Chris
=
Be
Thanks man. That got rid of the error, however it is not using the
variable in the script. I can't run this via wget or the browser since
the importing files are rather large.
Any other ideas?
Chris
At 11:33 PM 7/23/2003, Chris Shiflett wrote:
--- CDitty <[EMAIL PROTECTED]> wrote:
> I have
--- CDitty <[EMAIL PROTECTED]> wrote:
> I have written a script that runs fine when I run it via the
> command line. However, when I tack on variables to the command
> line, I get an error.
>
> This works.
> php -q ./import.php
>
> This doesn't
> php -q ./import.php?feed=eastwood
I might be
I have written a script that runs fine when I run it via the command
line. However, when I tack on variables to the command line, I get an error.
This works.
php -q ./import.php
This doesn't
php -q ./import.php?feed=eastwood
This is the error that it returns - Could not open input file:
./i
My system is windows 98 second edition
im using pws
i built php 4.2.2
when ý struggle to reach any .php file for example 127.0.0.1/sample.php
this error occur:
Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means
Hey all,
echo "" | /path/to/php
That works on php v4.2.x but Ive got 3 machines on v4.3.x and none of them
seem to respond to the piping of the php config.
v4.2.x Response
[1
What is the difference between PHP ISAPI filter and PHP CGI (which one
would be better to install on IIS 5?)
-thanks,
- vic
__
Post your free ad now! http://personals.yahoo.ca
--
PHP General Mailing List (http
Hello Leif, hello all,
i compiled successfully php-4.3-dev deom tarball as CGI on RedHat7.3
register_globals is on
And here is how my php behave:
When I run the following script: info70.php
1) from commandline
then [SCRIPT_NAME] => info70.php
is set correctly
2) direkt via http request from
opmail/etc...etc) and read it,
> then break out the various details and display it, basically just showing
me
> what was already in the file. (using the shebang method, as my php cgi
> interpreter is OUTSIDE the web tree, but thats another story of getting
the
> damn thing to work at all...
Okies, FINALLY I think I have the reason (though not the solution as yet)
Marco, you were spot on, which I hadn't pursued properly, only looking at
the immediate parent directory permissions. In fact the whole ~vpopmail
structure down to the individual users directory has a VERY restrictive set
o
Ok, that's a big step forward then. It's possible that your user does
not have access to the directory tree where the file resides? Have you
tried listing that directory and or opening the file (for example with
cat) while using that file? If you can narrow it down to a permission
problem (and, at
hmmm safe mode is disabled - for the apache module version
from phpinfo()
safe_mode Off Off
> Just out of curiosity--have you tried su-ing to the Apache user and
> executing your script as that user?
yep, same result (although I had to change the apache user for a few minutes
so it had a shell..
I think you might be unable to access documents outside the root if
you're in safe mode.
Just out of curiosity--have you tried su-ing to the Apache user and
executing your script as that user?
On Sun, 2002-10-13 at 21:36, David Cook wrote:
> Hi again all
>
> Just a bit more info, trying to trac
Hi again all
Just a bit more info, trying to track some more things down.
I made a few changes, changed getmail so that it would allow the getmailrc
file to be group writable, made a few changes to the user/group structure
(including making apache a member of a specific new group, and then setti
g from the sell, imho you made a
good decision not to post the source, since the problem was clearly
somewhere else.
Marco
On Sun, 2002-10-13 at 11:20, David Cook wrote:
> Hi Marco
>
> Thanks for the tips, they were what I was thinking was the problem, that
> even when the php cgi wa
ady in the file. (using the shebang method, as my php cgi
interpreter is OUTSIDE the web tree, but thats another story of getting the
damn thing to work at all... damn RPM'S sometimes...
that --enable-force-redirect had me stuck for a few days)
When I tested it out from the shell, using ./get
Hi Marco
Thanks for the tips, they were what I was thinking was the problem, that
even when the php cgi was owned by the correct user, that if it was being
called via another web based script, that it would be executed as apache (in
this case) rather than the actual owner of the cgiscript
rote up a script that was just for POC, that would get the data for where
> that file was supposed to be (the /home/vpopmail/etc...etc) and read it,
> then break out the various details and display it, basically just showing me
> what was already in the file. (using the shebang method, as m
Just a quick addition, both the submit/link were very basic, they both
worked like this
$location = "/cgi-bin/getmailtest.cgi";
// $location = "getmail.php";
echo "$location";
print("Click here to test the cgi\n");
print("");
print("press the button to try the cgi as a redirect this way");
prin
ilto:[EMAIL PROTECTED]]
> Sent: Friday, 11 October 2002 9:28 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] Calling PHP (cgi) from a perl script and passsing
> parameters
>
>
> What you're referring is CLI, not CGI Version of PHP.
>
> Anyway, i as
11 October 2002 9:28 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] Calling PHP (cgi) from a perl script and passsing
> parameters
>
>
> What you're referring is CLI, not CGI Version of PHP.
>
> Anyway, i assume, you're using a PHP
What you're referring is CLI, not CGI Version of PHP.
Anyway, i assume, you're using a PHP version 4.2 or higher.
Have a look at the $_SERVER['argc'] and $_SERVER['argv'].
Sascha
Am Donnerstag, 10. Oktober 2002 23:57 schrieb Jim Carey:
> Hi,
>
> have been having problems passing parameters to
1 - 100 of 259 matches
Mail list logo