php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53572 Bug appeared in php 5.2.15, FastCGI
Submitted: 2010-12-18 18:02 UTC Modified: 2012-02-21 10:38 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: admin at xaker1 dot ru Assigned:
Status: Wont fix Package: CGI/CLI related
PHP Version: 5.2.16 OS: FreeBSD 8.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: admin at xaker1 dot ru
New email:
PHP Version: OS:

 

 [2010-12-18 18:02 UTC] admin at xaker1 dot ru
Description:
------------
Any php script

Test script:
---------------
<? phpinfo(); ?>

Actual result:
--------------
The script fails, the message "No input file specified.".
Sometimes the script works.

The problem occurred in 2 of the account's 300. Accounts differ in the root folder, name\group file and set open_basedir.

If you downgrade to 5.2.1914, the error disappears.
At the moment the causes of errors are found, ask for help.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-18 18:03 UTC] admin at xaker1 dot ru
If you downgrade to 5.2.14, the error disappears.
At the moment the causes of errors are found, ask for help.
 [2010-12-18 22:14 UTC] cataphract@php.net
-Status: Open +Status: Feedback
 [2010-12-18 22:14 UTC] cataphract@php.net
We'd need more information than what you gave. First, are you using 5.2.15 or 5.2.16. If you're using 5.2.15, upgrade.

Then, what exactly is causing this (not a vague it may be root folder or name/group or open_basedir) and, preferably, steps to reproduce, would go a long way.

Thanks.
 [2010-12-19 09:05 UTC] admin at xaker1 dot ru
-Status: Feedback +Status: Open
 [2010-12-19 09:05 UTC] admin at xaker1 dot ru
The problem exists on php 5.2.15 and php 5.2.16.
I'm using php 5.2.14, as work is needed for all sites.

php.ini on the affected account:
register_globals = Off
display_errors = Off
log_errors = On
max_execution_time = 30
memory_limit = 128M
upload_max_filesize = 16M
post_max_size = 16M
session.save_path = "/ home/saki2/data/tmp"
upload_tmp_dir = "/ home/saki2/data/tmp"
open_basedir = "/ home/saki2: / tmp: / var / tmp"

; [suhosin]
; suhosin.log.syslog = E_ALL & ~ S_SQL
; suhosin.log.sapi = E_ALL & ~ S_SQL
; suhosin.executor.include.max_traversal = 4
; suhosin.executor.func.blacklist = popen, dl, passthru, system, exec, proc_open, shell_exec, proc_close, symlink

; WARNING!!!!
; Or eAccelerator or Zend!!!
; Not twice!!!

; [eAccelerator]
; zend_extension = "/ usr/local/lib/php/20060613/eaccelerator.so"
; eaccelerator.cache_dir = "/ home/saki2/data/tmp"
; eaccelerator.debug = "0"
; eaccelerator.shm_size = "16"

; [Zend]
; zend_optimizer.optimization_level = 15
; zend_extension_manager.optimizer = "/ usr/local/lib/php/20060613/Optimizer"
; zend_extension_manager.optimizer_ts = "/ usr/local/lib/php/20060613/Optimizer_TS"
; zend_extension = "/ usr/local/lib/php/20060613/ZendExtensionManager.so"
; zend_extension_ts = "/ usr/local/lib/php/20060613/ZendExtensionManager_TS.so"
php.ini in the working account:
register_globals= Off
display_errors= On
log_errors= On
max_execution_time= 900
memory_limit= 512M
upload_max_filesize= 16M
post_max_size = 16M
session.save_path = "/home/bravohost/data/tmp"
upload_tmp_dir="/home/bravohost/data/tmp"
open_basedir = "/home/bravohost:/tmp:/var/tmp"

;[suhosin]
;suhosin.log.syslog = E_ALL & ~S_SQL
;suhosin.log.sapi = E_ALL & ~S_SQL
;suhosin.executor.include.max_traversal = 4
;suhosin.executor.func.blacklist = popen,dl,passthru,system,exec,proc_open,shell_exec,proc_close,symlink

; WARNING!!!!
; or eAccelerator or Zend!!!
; not twice!!!

[eAccelerator]
zend_extension="/usr/local/lib/php/20060613/eaccelerator.so"
eaccelerator.cache_dir="/home/bravohost/data/tmp"
eaccelerator.debug="0"
eaccelerator.shm_size="16"


;[Zend]
;zend_optimizer.optimization_level=15
;zend_extension_manager.optimizer="/usr/local/lib/php/20060613/Optimizer"
;zend_extension_manager.optimizer_ts="/usr/local/lib/php/20060613/Optimizer_TS"
;zend_extension="/usr/local/lib/php/20060613/ZendExtensionManager.so"
;zend_extension_ts="/usr/local/lib/php/20060613/ZendExtensionManager_TS.so
;extension = filter.so
php modules are used:
[PHP Modules]
bcmath
bz2
calendar
ctype
curl
date
dom
filter
gd
gettext
hash
iconv
imap
ionCube Loader
json
libxml
mbstring
mcrypt
mhash
mysql
mysqli
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
posix
Reflection
session
SimpleXML
sockets
SPL
SQLite
standard
suhosin
tokenizer
xml
xmlreader
xmlwriter
Zend Optimizer
zip
zlib

[Zend Modules]
Zend Extension Manager
Zend Optimizer
the ionCube PHP Loader
 [2010-12-20 19:36 UTC] markusb at gmx dot at
Same probleme

We use php (cgi) and open_basedir > all php scrips > No input file specified.
 [2011-01-14 17:42 UTC] admin at xaker1 dot ru
Error disappears if you disable open_basedir
 [2011-01-18 21:46 UTC] anthon dot pang at gmail dot com
Just an observation, but ini the php.ini for the affected account, the open_basedir setting has spaces in the paths.
 [2012-02-21 10:38 UTC] aharvey@php.net
PHP 5.2 is no longer supported; please reopen if this still occurs with PHP 5.3.10 
or 5.4.0RC8.
 [2012-02-21 10:38 UTC] aharvey@php.net
-Status: Open +Status: Wont fix -Package: Unknown/Other Function +Package: CGI/CLI related
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 06:01:32 2025 UTC