I only noticed this on Fantastico, as nothing else is php as far as I know... After trying allt he fixes at the Fantastico site, however, it is removed/uninstalled and will not reinstall due to WHM not parsing php. in view-fram-source I see the bare php-redirect , and even tried add php commands which went un parsed.
Strange thing is, until I fully uninstalled fantastico, it -worked- in user's cpanel/ sites... meaning php was working on /cpanel/ but not /whm/. I even created a simple <php print "Test"; ?> page in the addons for WHM, it produced the same source, php visible unparsed.
Now I cannot get fantastico to install as it needs php to do so. I have tried makecpphp --force, upgrading the server, cpanel, etc. It's been like this for months and months. I've asked others to help to no avail, they say "Oh, just reinstall cpanel.." or "Fresh install cpanel."...
oooo great idea... destroy every user account, take the site down for a couple days while my webhosting co (it is a dedicated server 6000miles away from me) reinstalls it, and I spend the next 2-5 days trying to reconstruct all the accounts. And, no.. backing them up does not seem 100% effective, sites break.
I have configserver do a full hardening/mail/etc install on it once.. when it was done, the problem went away. A couple cpanel updates later, it was back. I've contacted configserver a couple times, and they have no idea why it got fixed, or why it broke again.
Note: makecpphp --force generates this error, but completes:
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
Installing PHP SAPI module: cgi
Installing PHP CGI into: /usr/local/cpanel/3rdparty/bin/
Installing PEAR environment: /usr/local/cpanel/3rdparty/lib/php/
[PEAR] Archive_Tar: bad md5sum for file /usr/local/cpanel/3rdparty/lib/php/Archive/Tar.php
[PEAR] Console_Getopt - already installed: 1.2
[PEAR] HTML_Template_IT- already installed: 1.1
[PEAR] Net_UserAgent_Detect- already installed: 2.0.1
pear/PEAR dependency package "pear/Archive_Tar" installed version 1.1 is not the recommended version 1.3.1, but may be compatible, use --force to install
pear/PEAR requires package "pear/XML_RPC" (version >= 1.4.0), installed version is 1.3.3
Notice: Only variables should be assigned by reference in /home/cpphpbuild/php-4.4.2/pear/PEAR/Installer.php on line 982
[PEAR] PEAR: Installation failed: invalid package file
Installing build environment: /usr/local/cpanel/3rdparty/lib/php/build/
Installing header files: /usr/local/cpanel/3rdparty/include/php/
Installing helper programs: /usr/local/cpanel/3rdparty/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/cpanel/3rdparty/man/man1/
page: phpize.1
page: php-config.1
PHP version file is up to date
I deleted the php files from /home/cpphpbuild/ which made no difference. Searching shows that php 4.4.2, used by cpanel spserv, is a broken release for pear.
This is what I see in source from the WHM fantastico addon.
<?php
//----------------------------------------------------------------------------//
header ( "Location: fantastico.php" ) ;
//----------------------------------------------------------------------------//
?>
Mailwatch from ConfigServer Mailscanner FE is the only other item not working on the cpanel install, that I know of... Though, trying to make Interchange install was giving me problems once, I have not tried since.
And yes, I restarted the cpserv services and rebooted the server as well. Nothing helps.
WHM 10.8.0 cPanel 10.9.0-C8800
CentOS 4.4 i686 - WHM X v3.1.0
Hosting Co: Serverbeach, San Antonio
Dell Poweredge 430-2, 2G
EDIT:
phpmyadmin, which also uses php from the WHM/cpserv, is a separate window even, produces no output. Mailwatch, via MailscannerFE is the same. I cannot find any errors/logs/etc as to why, nor find anywhere to "Turn on/off" php parsing/processing for WHM.



LinkBack URL
About LinkBacks
Reply With Quote




