The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

EasyApache PHP4/PHP5 "No input file specified"

Discussion in 'EasyApache' started by ShaneK, Dec 14, 2007.

  1. ShaneK

    ShaneK Member

    Joined:
    May 4, 2007
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
    #1 ShaneK, Dec 14, 2007
    Last edited: Dec 14, 2007
  2. ShaneK

    ShaneK Member

    Joined:
    May 4, 2007
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Nobody else having any issues with running php4 and php5 duo?
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    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.
     
  4. ShaneK

    ShaneK Member

    Joined:
    May 4, 2007
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    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
     
    
     
  5. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Do you ahve any custom settings in the .htaccess files, php.ini or VirtualHost templates?
     
  6. ShaneK

    ShaneK Member

    Joined:
    May 4, 2007
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    The only changes outside of cpanel is the order apache displays default index pages.. I move index.shtml to the end of the line so I can use it as a default domain index before clients upload their site.

    Other than that I have not made any changes to files directly.
     
Loading...

Share This Page