Mailing List Archive

PHP: "No input file specified."
When i updated my cherokee version from 0.99.11 to 0.99.13 some how PHP
didnt work anymore.

I reinstalled and reconfigured it but all i got from PHP file was a 404
error with the message "No input file specified."
How can i see what goes wrong, the permissions on the file are correct.

Also checked the error logs but those where empty.

I am running Ubuntu Server 9.04 and installed it from the Launchpad
repository.

(i included my cherokee.conf file)

Wiebe.
Re: PHP: "No input file specified." [ In reply to ]
Same problem here on Cherokee 0.99.14



On Wed, 2009-05-06 at 04:41 -0700, Wiebe Verweij wrote:
> When i updated my cherokee version from 0.99.11 to 0.99.13 some how
> PHP didnt work anymore.
>
> I reinstalled and reconfigured it but all i got from PHP file was a
> 404 error with the message "No input file specified."
> How can i see what goes wrong, the permissions on the file are
> correct.
>
> Also checked the error logs but those where empty.
>
> I am running Ubuntu Server 9.04 and installed it from the Launchpad
> repository.
>
> (i included my cherokee.conf file)
>
> Wiebe.
> plain text document attachment (ATT10172131.txt)
> _______________________________________________
> Cherokee mailing list
> Cherokee@lists.octality.com
> http://lists.octality.com/listinfo/cherokee
--
Vito Sansevero <vito.sansevero@cisco.com>

Build Systems Manager
Consumer Business Group
Cisco Systems.

pgp fingerprint E623 BD37 8B02 5C64 0B85 C0E6 5AA7 AB32 4D6D 7EFF

----
This e-mail may contain confidential and privileged material for the
sole use of the intended recipient. Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply e-mail and delete all copies of this message.

_______________________________________________
Cherokee mailing list
Cherokee@lists.octality.com
http://lists.octality.com/listinfo/cherokee
Re: PHP: "No input file specified." [ In reply to ]
It looks like php can only be executed from document root.

/var/www/htdocs can exec php no problem..

but /var/www/htdocs/test

Can not, this is new from 0.9.11

Vito.



On Wed, 2009-05-06 at 08:49 -0700, Vito Louis Sansevero wrote:
> Same problem here on Cherokee 0.99.14
>
>
>
> On Wed, 2009-05-06 at 04:41 -0700, Wiebe Verweij wrote:
> > When i updated my cherokee version from 0.99.11 to 0.99.13 some how
> > PHP didnt work anymore.
> >
> > I reinstalled and reconfigured it but all i got from PHP file was a
> > 404 error with the message "No input file specified."
> > How can i see what goes wrong, the permissions on the file are
> > correct.
> >
> > Also checked the error logs but those where empty.
> >
> > I am running Ubuntu Server 9.04 and installed it from the Launchpad
> > repository.
> >
> > (i included my cherokee.conf file)
> >
> > Wiebe.
> > plain text document attachment (ATT10172131.txt)
> > _______________________________________________
> > Cherokee mailing list
> > Cherokee@lists.octality.com
> > http://lists.octality.com/listinfo/cherokee
--
Vito Sansevero <vito.sansevero@cisco.com>

Build Systems Manager
Consumer Business Group
Cisco Systems.

pgp fingerprint E623 BD37 8B02 5C64 0B85 C0E6 5AA7 AB32 4D6D 7EFF

----
This e-mail may contain confidential and privileged material for the
sole use of the intended recipient. Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply e-mail and delete all copies of this message.

_______________________________________________
Cherokee mailing list
Cherokee@lists.octality.com
http://lists.octality.com/listinfo/cherokee
Re: PHP: "No input file specified." [ In reply to ]
Hi!

All works fine at my end using Wiebe's config file. :-?

On Wed, May 6, 2009 at 5:59 PM, Vito Louis Sansevero
<vito.sansevero@cisco.com> wrote:
> It looks like php can only be executed from document root.
>
> /var/www/htdocs can exec php no problem..
>
> but /var/www/htdocs/test
>
> Can not, this is new from 0.9.11
>
> Vito.
>
>
>
> On Wed, 2009-05-06 at 08:49 -0700, Vito Louis Sansevero wrote:
>> Same problem here on Cherokee 0.99.14
>>
>>
>>
>> On Wed, 2009-05-06 at 04:41 -0700, Wiebe Verweij wrote:
>> > When i updated my cherokee version from 0.99.11 to 0.99.13 some how
>> > PHP didnt work anymore.
>> >
>> > I reinstalled and reconfigured it but all i got from PHP file was a
>> > 404 error with the message "No input file specified."
>> > How can i see what goes wrong, the permissions on the file are
>> > correct.
>> >
>> > Also checked the error logs but those where empty.
>> >
>> > I am running Ubuntu Server 9.04 and installed it from the Launchpad
>> > repository.
>> >
>> > (i included my cherokee.conf file)
>> >
>> > Wiebe.
>> > plain text document attachment (ATT10172131.txt)
>> > _______________________________________________
>> > Cherokee mailing list
>> > Cherokee@lists.octality.com
>> > http://lists.octality.com/listinfo/cherokee
> --
> Vito Sansevero <vito.sansevero@cisco.com>
>
> Build Systems Manager
> Consumer Business Group
> Cisco Systems.
>
> pgp fingerprint E623 BD37 8B02 5C64 0B85 C0E6 5AA7 AB32 4D6D 7EFF
>
> ----
> This e-mail may contain confidential and privileged material for the
> sole use of the intended recipient. Any review, use, distribution or
> disclosure by others is strictly prohibited. If you are not the intended
> recipient (or authorized to receive for the recipient), please contact
> the sender by reply e-mail and delete all copies of this message.
>
> _______________________________________________
> Cherokee mailing list
> Cherokee@lists.octality.com
> http://lists.octality.com/listinfo/cherokee
>



--
Saludos:
Antonio Pérez
_______________________________________________
Cherokee mailing list
Cherokee@lists.octality.com
http://lists.octality.com/listinfo/cherokee
Re: PHP: "No input file specified." [ In reply to ]
I'm having the same issue... :( I tested both with 0.99.13 and 0.99.14, and
both show "No input file specified", and a 404 error in cherokee.access, and
cherokee.error is empty. I've also attached my cherokee.conf; I hope it
helps. :)

Thanks,
--
Ayron Jungren
Cisco Certified Network Professional, Zend Certified Engineer (PHP5)

2009/5/6 Antonio Pérez <aperez@skarcha.com>

> Hi!
>
> All works fine at my end using Wiebe's config file. :-?
>
> On Wed, May 6, 2009 at 5:59 PM, Vito Louis Sansevero
> <vito.sansevero@cisco.com> wrote:
> > It looks like php can only be executed from document root.
> >
> > /var/www/htdocs can exec php no problem..
> >
> > but /var/www/htdocs/test
> >
> > Can not, this is new from 0.9.11
> >
> > Vito.
> >
> >
> >
> > On Wed, 2009-05-06 at 08:49 -0700, Vito Louis Sansevero wrote:
> >> Same problem here on Cherokee 0.99.14
> >>
> >>
> >>
> >> On Wed, 2009-05-06 at 04:41 -0700, Wiebe Verweij wrote:
> >> > When i updated my cherokee version from 0.99.11 to 0.99.13 some how
> >> > PHP didnt work anymore.
> >> >
> >> > I reinstalled and reconfigured it but all i got from PHP file was a
> >> > 404 error with the message "No input file specified."
> >> > How can i see what goes wrong, the permissions on the file are
> >> > correct.
> >> >
> >> > Also checked the error logs but those where empty.
> >> >
> >> > I am running Ubuntu Server 9.04 and installed it from the Launchpad
> >> > repository.
> >> >
> >> > (i included my cherokee.conf file)
> >> >
> >> > Wiebe.
> >> > plain text document attachment (ATT10172131.txt)
> >> > _______________________________________________
> >> > Cherokee mailing list
> >> > Cherokee@lists.octality.com
> >> > http://lists.octality.com/listinfo/cherokee
> > --
> > Vito Sansevero <vito.sansevero@cisco.com>
> >
> > Build Systems Manager
> > Consumer Business Group
> > Cisco Systems.
> >
> > pgp fingerprint E623 BD37 8B02 5C64 0B85 C0E6 5AA7 AB32 4D6D 7EFF
> >
> > ----
> > This e-mail may contain confidential and privileged material for the
> > sole use of the intended recipient. Any review, use, distribution or
> > disclosure by others is strictly prohibited. If you are not the intended
> > recipient (or authorized to receive for the recipient), please contact
> > the sender by reply e-mail and delete all copies of this message.
> >
> > _______________________________________________
> > Cherokee mailing list
> > Cherokee@lists.octality.com
> > http://lists.octality.com/listinfo/cherokee
> >
>
>
>
> --
> Saludos:
> Antonio Pérez
> _______________________________________________
> Cherokee mailing list
> Cherokee@lists.octality.com
> http://lists.octality.com/listinfo/cherokee
>
Re: PHP: "No input file specified." [ In reply to ]
Hi!

On Wed, May 6, 2009 at 11:10 PM, Ayron Jungren <dririan@gmail.com> wrote:

> I'm having the same issue... :( I tested both with 0.99.13 and 0.99.14, and
> both show "No input file specified", and a 404 error in cherokee.access, and
> cherokee.error is empty. I've also attached my cherokee.conf; I hope it
> helps. :)

Works at my end with your cherokee.conf too... :-?

--
Saludos:
Antonio Pérez
_______________________________________________
Cherokee mailing list
Cherokee@lists.octality.com
http://lists.octality.com/listinfo/cherokee
Re: PHP: "No input file specified." [ In reply to ]
Hello there,

Could you please check whether your php-cgi binary supports FastCGI?

The output of "php-cgi -v" must contain the string: "(cgi-fcgi)".

--
Greetings, alo
http://www.alobbs.com/

On 08/05/2009, at 12:56, Antonio Pérez <aperez@skarcha.com> wrote:

> Hi!
>
> On Wed, May 6, 2009 at 11:10 PM, Ayron Jungren <dririan@gmail.com>
> wrote:
>
>> I'm having the same issue... :( I tested both with 0.99.13 and
>> 0.99.14, and
>> both show "No input file specified", and a 404 error in
>> cherokee.access, and
>> cherokee.error is empty. I've also attached my cherokee.conf; I
>> hope it
>> helps. :)
>
> Works at my end with your cherokee.conf too... :-?
>
> --
> Saludos:
> Antonio Pérez
> _______________________________________________
> Cherokee mailing list
> Cherokee@lists.octality.com
> http://lists.octality.com/listinfo/cherokee
_______________________________________________
Cherokee mailing list
Cherokee@lists.octality.com
http://lists.octality.com/listinfo/cherokee
Re: PHP: "No input file specified." [ In reply to ]
dririan@damia:~$ php-cgi -v
PHP 5.2.6-3ubuntu4.1 with Suhosin-Patch 0.9.6.2 (cgi-fcgi) (built: Apr 23
2009 14:30:49)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

This is the same version of PHP that worked with older revs of Cherokee, and
Apache with FastCGI.

2009/5/8 Alvaro Lopez Ortega <alvaro@alobbs.com>

> Hello there,
>
> Could you please check whether your php-cgi binary supports FastCGI?
>
> The output of "php-cgi -v" must contain the string: "(cgi-fcgi)".
>
> --
> Greetings, alo
> http://www.alobbs.com/
>
>
> On 08/05/2009, at 12:56, Antonio Pérez <aperez@skarcha.com> wrote:
>
> Hi!
>>
>> On Wed, May 6, 2009 at 11:10 PM, Ayron Jungren <dririan@gmail.com> wrote:
>>
>> I'm having the same issue... :( I tested both with 0.99.13 and 0.99.14,
>>> and
>>> both show "No input file specified", and a 404 error in cherokee.access,
>>> and
>>> cherokee.error is empty. I've also attached my cherokee.conf; I hope it
>>> helps. :)
>>>
>>
>> Works at my end with your cherokee.conf too... :-?
>>
>> --
>> Saludos:
>> Antonio Pérez
>> _______________________________________________
>> Cherokee mailing list
>> Cherokee@lists.octality.com
>> http://lists.octality.com/listinfo/cherokee
>>
>


--
Ayron Jungren
Cisco Certified Network Professional, Zend Certified Engineer (PHP5)
Re: PHP: "No input file specified." [ In reply to ]
The default is on, at least in the version of PHP I'm using. I tried
hard-coding it to both 0 and 1 in php.ini, although this shouldn't
have any effect, as this only affects PHP's environment parsing post-
compilation, and PHP does not even seem to be compiling anything.

Thanks,
--
Ayron

On May 9, 2009, at 9:33 AM, Lucian@lastdot.org wrote:

> On Fri, May 8, 2009 at 6:13 PM, Ayron Jungren <dririan@gmail.com>
> wrote:
>> dririan@damia:~$ php-cgi -v
>> PHP 5.2.6-3ubuntu4.1 with Suhosin-Patch 0.9.6.2 (cgi-fcgi) (built:
>> Apr 23
>> 2009 14:30:49)
>> Copyright (c) 1997-2008 The PHP Group
>> Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
>>
>> This is the same version of PHP that worked with older revs of
>> Cherokee, and
>> Apache with FastCGI.
>>
>> 2009/5/8 Alvaro Lopez Ortega <alvaro@alobbs.com>
>>>
>>> Hello there,
>>>
>>> Could you please check whether your php-cgi binary supports FastCGI?
>>>
>>> The output of "php-cgi -v" must contain the string: "(cgi-fcgi)".
>>>
>>> --
>>> Greetings, alo
>>> http://www.alobbs.com/
>>>
>>> On 08/05/2009, at 12:56, Antonio Pérez <aperez@skarcha.com> wrote:
>>>
>>>> Hi!
>>>>
>>>> On Wed, May 6, 2009 at 11:10 PM, Ayron Jungren
>>>> <dririan@gmail.com> wrote:
>>>>
>>>>> I'm having the same issue... :( I tested both with 0.99.13 and
>>>>> 0.99.14,
>>>>> and
>>>>> both show "No input file specified", and a 404 error in
>>>>> cherokee.access,
>>>>> and
>>>>> cherokee.error is empty. I've also attached my cherokee.conf; I
>>>>> hope it
>>>>> helps. :)
>>>>
>>>> Works at my end with your cherokee.conf too... :-?
>>>>
>>>> --
>>>> Saludos:
>>>> Antonio Pérez
>>>> _______________________________________________
>>>> Cherokee mailing list
>>>> Cherokee@lists.octality.com
>>>> http://lists.octality.com/listinfo/cherokee
>>
>>
>>
>> --
>> Ayron Jungren
>> Cisco Certified Network Professional, Zend Certified Engineer (PHP5)
>>
>> _______________________________________________
>> Cherokee mailing list
>> Cherokee@lists.octality.com
>> http://lists.octality.com/listinfo/cherokee
>>
>>
>
> Do you have cgi.fix_pathinfo=1 in your php.ini?

_______________________________________________
Cherokee mailing list
Cherokee@lists.octality.com
http://lists.octality.com/listinfo/cherokee
Re: PHP: "No input file specified." [ In reply to ]
I just noticed some Really Strange Behavior(tm). On the exact same
configuration, PHP is working perfectly for any virtual host other
than `default', and it even works for personal web hosting.

Example:
http://dririan.com/phpinfo.php - Falls under `default' virtual host;
FAILS
http://dririan.com/~dririan/phpinfo.php - Personal webs but still
falls under `default' virtual host; WORKS
http://forums.dririan.com - phpBB forum under the `forums.dririan.com'
vhost; WORKS

This is quite confusing, although it does confirm that PHP is working
properly. Those links do work, as well, so feel free to check them out
if you so desire :)

> On Fri, May 8, 2009 at 6:13 PM, Ayron Jungren <dririan@gmail.com>
> wrote:
>> dririan@damia:~$ php-cgi -v
>> PHP 5.2.6-3ubuntu4.1 with Suhosin-Patch 0.9.6.2 (cgi-fcgi) (built:
>> Apr 23
>> 2009 14:30:49)
>> Copyright (c) 1997-2008 The PHP Group
>> Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
>>
>> This is the same version of PHP that worked with older revs of
>> Cherokee, and
>> Apache with FastCGI.
>>
>> 2009/5/8 Alvaro Lopez Ortega <alvaro@alobbs.com>
>>>
>>> Hello there,
>>>
>>> Could you please check whether your php-cgi binary supports FastCGI?
>>>
>>> The output of "php-cgi -v" must contain the string: "(cgi-fcgi)".
>>>
>>> --
>>> Greetings, alo
>>> http://www.alobbs.com/
>>>
>>> On 08/05/2009, at 12:56, Antonio Pérez <aperez@skarcha.com> wrote:
>>>
>>>> Hi!
>>>>
>>>> On Wed, May 6, 2009 at 11:10 PM, Ayron Jungren
>>>> <dririan@gmail.com> wrote:
>>>>
>>>>> I'm having the same issue... :( I tested both with 0.99.13 and
>>>>> 0.99.14,
>>>>> and
>>>>> both show "No input file specified", and a 404 error in
>>>>> cherokee.access,
>>>>> and
>>>>> cherokee.error is empty. I've also attached my cherokee.conf; I
>>>>> hope it
>>>>> helps. :)
>>>>
>>>> Works at my end with your cherokee.conf too... :-?
>>>>
>>>> --
>>>> Saludos:
>>>> Antonio Pérez
>>>> _______________________________________________
>>>> Cherokee mailing list
>>>> Cherokee@lists.octality.com
>>>> http://lists.octality.com/listinfo/cherokee
>>
>>
>>
>> --
>> Ayron Jungren
>> Cisco Certified Network Professional, Zend Certified Engineer (PHP5)
>>
>> _______________________________________________
>> Cherokee mailing list
>> Cherokee@lists.octality.com
>> http://lists.octality.com/listinfo/cherokee
>>
>>
>

_______________________________________________
Cherokee mailing list
Cherokee@lists.octality.com
http://lists.octality.com/listinfo/cherokee
Re: PHP: [ In reply to ]
Hi
I put the root directory by hand (/var/www) in the handler and now everything
works fine

cheers

Francesco





_______________________________________________
Cherokee mailing list
Cherokee@lists.octality.com
http://lists.octality.com/listinfo/cherokee