EasyApache PHP4/PHP5 "No input file specified"

ShaneK

Member
May 4, 2007
14
0
151
Today I update my cpanel from Release 18033 to the current Release 18430, it should be noted the problem I'm about to describe existed prior to todays update to the latest version.

While running 18033 I used EasyApache to setup dual support for PHP4/PHP5. Everything worked great and I was extremely pleased (been waiting for dual php version support for a while). The problem begins when I add new domains to the server.

For all of the new domains if the option "The '.php' file extension will be processed by" is set to system default or PHP4 (which is system default .. for now) and you attempt to load up a .php page the error "No input file specified" is shown. The PHP is not proccessed. Changing the option to PHP5 makes everything work again.

In my testing, I am able to see the proper information when clicking on the phpinfo links in cpanel (so if php4 or system default is selected the php info reflects 4.4.7 and if php5 is selected it also shows the proper phpinfo version).

Has anyone else run across this problem? Is there a fix?
 
Last edited:

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
Which particular combination of Dual PHP are you using? Meaning, are you using the Concurrent PHP option in EA3? Or do you have being served by CGI, the other as DSO? etc.
 

ShaneK

Member
May 4, 2007
14
0
151
Hi Ken, thanks for taking the time. I'm using: Easy::Apache v3.2.0 Build 3484

My Current Config
Code:
Default PHP Version (.php files)  	4
PHP 5 Handler 	dso
PHP 4 Handler 	cgi
Suexec 	on
My EA3 Profile Details:
Code:
/var/cpanel/easy/apache/profile/_main.yaml

Apache 2.0.61
[More Info ↑]	Access
[More Info ↑]	Actions
[More Info ↑]	Alias
[More Info ↑]	AuthnDefault
[More Info ↑]	AuthzHost
[More Info ↑]	Autoindex
[More Info ↑]	DIR
[More Info ↑]	Expires
	Fileprotect
 	Prevent Users from reading other webroots
[More Info ↑]	Frontpage
[More Info ↑]	Headers
[More Info ↑]	Log Config
[More Info ↑]	Mime
[More Info ↑]	Negotiation
[More Info ↑]	mod_proxy
[More Info ↑]	Setenvif
[More Info ↑]	Status
[More Info ↑]	Userdir
 
PHP 4.4.7
[More Info ↑]	Bcmath
[More Info ↑]	Calendar
[More Info ↑]	Concurrent DSO patch
 	Allows PHP 4 and 5 to load simultaneously as Apache modules (not compatible with Zend optimizer and some extensions)
[More Info ↑]	Curl
[More Info ↑]	CurlSSL
[More Info ↑]	FTP
[More Info ↑]	GD
[More Info ↑]	Imap
[More Info ↑]	Magic Quotes
[More Info ↑]	Mcrypt
[More Info ↑]	Mhash
[More Info ↑]	Mysql of the system
 	compile mysql support against the system libraries (only option for PHP 4)
[More Info ↑]	Sockets
[More Info ↑]	TTF
[More Info ↑]	Zlib
 	Requires that zlib is installed and up to date
 
PHP 5.2.5
[More Info ↑]	Bcmath
[More Info ↑]	Calendar
[More Info ↑]	Curl
[More Info ↑]	CurlSSL
[More Info ↑]	Curlwrappers
[More Info ↑]	FTP
[More Info ↑]	GD
[More Info ↑]	Imap
[More Info ↑]	Magic Quotes
[More Info ↑]	Mcrypt
[More Info ↑]	Mysql
 	compile mysql support against php bundled libraries (if the system mysql is checked it takes precedence of this option)
[More Info ↑]	Mysql of the system
 	compile mysql (and mysqli if its checked) support against the system libraries
[More Info ↑]	Sockets
[More Info ↑]	TTF
[More Info ↑]	Zlib
 	Requires that zlib is installed and up to date
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
Do you ahve any custom settings in the .htaccess files, php.ini or VirtualHost templates?