#1  
Old 27th June 2014, 15:33
leonep leonep is offline
Junior Member
 
Join Date: Feb 2014
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts
Default Php upgrade issue

Hi all
I have a perfect installation of centos 6.4 ispconfig 3

after upgrade at php 5.4.30 the websistes under /var/www/html stop working in http but in https continue normally work! i see the output text only on browser like this:

| +-------------------------------------------------------------------------+ */ // include environment require_once 'program/include/iniset.php'; // init application, start session, init output class, etc. $RCMAIL = rcmail::get_instance(); // Make the whole PHP output non-cacheable (#1487797) $RCMAIL->output->nocacheing_headers(); // turn on output buffering ob_start(); // check if config files had errors if ($err_str = $RCMAIL->config->get_error()) { rcmail::raise_error(array( 'code' => 601, 'type' => 'php', 'message' => $err_str), false, true); } // check DB connections and exit on failure if ($err_str = $RCMAIL->db->is_error()) { rcmail::raise_error(array( 'code' => 603, 'type' => 'db', 'message' => $err_str), FALSE, TRUE); } // error steps if ($RCMAIL->action == 'error' && !empty($_GET['_code'])) { rcmail::raise_error(array('code' => hexdec($_GET['_code'])), FALSE, TRUE); } // check if https is required (for login) and redirect if necessary if (empty($_SESSION['user_id']) && ($force_https = $RCMAIL->config->get('force_https', false))) { $https_port = is_bool($force_https) ? 443 : $force_https; if (!rcube_utils::https_che


take a look here :http://www.mediaqualitylab.it/webmail/

the other websites in ispconfig work normally

i have used yum for upgrade php with remo reposity

also i found this error in httpd error log
mod_fcgid: stderr: PHP Strict Standards: Non-static method SimplePie_Misc::element_implode() should not be called statically, assuming $this from incompatible context in /usr/local/ispconfig/interface/lib/classes/simplepie.inc.php on line 14990


thank you for help !!!!!!!
Reply With Quote
Sponsored Links
  #2  
Old 27th June 2014, 16:10
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,041
Thanks: 841
Thanked 5,660 Times in 4,467 Posts
Default

enable short_open_tag in php.ini and restart apache.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 27th June 2014, 17:36
leonep leonep is offline
Junior Member
 
Join Date: Feb 2014
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
enable short_open_tag in php.ini and restart apache.
thanks till but nothing happen after
Reply With Quote
  #4  
Old 27th June 2014, 18:19
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,041
Thanks: 841
Thanked 5,660 Times in 4,467 Posts
Default

Please check that apache mod_php is installed and enabled.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 27th June 2014, 19:32
leonep leonep is offline
Junior Member
 
Join Date: Feb 2014
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts
Default

modules in folder are:

[root@host228-202-110-95 httpd]# cd modules/
[root@host228-202-110-95 modules]# ls
libphp5.so mod_dav_fs.so mod_proxy_ajp.so
libphp5-zts.so mod_dav.so mod_proxy_balancer.so
mod_actions.so mod_dbd.so mod_proxy_connect.so
mod_alias.so mod_deflate.so mod_proxy_ftp.so
mod_asis.so mod_dir.so mod_proxy_http.so
mod_auth_basic.so mod_disk_cache.so mod_proxy_scgi.so
mod_auth_digest.so mod_dumpio.so mod_proxy.so
mod_authn_alias.so mod_env.so mod_python.so
mod_authn_anon.so mod_expires.so mod_reqtimeout.so
mod_authn_dbd.so mod_ext_filter.so mod_rewrite.so
mod_authn_dbm.so mod_fcgid.so mod_ruby.so
mod_authn_default.so mod_filter.so mod_setenvif.so
mod_authn_file.so mod_headers.so mod_speling.so
mod_authnz_ldap.so mod_ident.so mod_ssl.so
mod_authz_dbm.so mod_include.so mod_status.so
mod_authz_default.so mod_info.so mod_substitute.so
mod_authz_groupfile.so mod_ldap.so mod_suexec.so
mod_authz_host.so mod_log_config.so mod_suphp.so
mod_authz_owner.so mod_log_forensic.so mod_unique_id.so
mod_authz_user.so mod_logio.so mod_userdir.so
mod_autoindex.so mod_mime_magic.so mod_usertrack.so
mod_cache.so mod_mime.so mod_version.so
mod_cern_meta.so mod_mono.so mod_vhost_alias.so
mod_cgid.so mod_mono.so.0.0.0
mod_cgi.so mod_negotiation.so


and this is my php.con file located under /etc/httpd/conf.d

#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#
<IfModule prefork.c>
LoadModule php5_module modules/libphp5.so
</IfModule>
<IfModule !prefork.c>
LoadModule php5_module modules/libphp5-zts.so
</IfModule>


#
# Cause the PHP interpreter to handle files with a .php extension.
#
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>

#
# Allow php to handle Multiviews
#
AddType text/html .php

#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php

#
# Uncomment the following lines to allow PHP to pretty-print .phps
# files as PHP source code:
#
#<FilesMatch \.phps$>
# SetHandler application/x-httpd-php-source
#</FilesMatch>

#
# Apache specific PHP configuration options
# those can be override in each configured vhost
#
php_value session.save_handler "files"
php_value session.save_path "/var/lib/php/session"


there is a command to check status of mod_php?
it is possible also a workaround executing php with fastcgi like sites under ispconfig?

ty
Reply With Quote
  #6  
Old 28th June 2014, 10:32
leonep leonep is offline
Junior Member
 
Join Date: Feb 2014
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts
Default

i have do this command for check modules

apachectl -t -D DUMP_MODULES


Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
auth_basic_module (shared)
auth_digest_module (shared)
authn_file_module (shared)
authn_alias_module (shared)
authn_anon_module (shared)
authn_dbm_module (shared)
authn_default_module (shared)
authz_host_module (shared)
authz_user_module (shared)
authz_owner_module (shared)
authz_groupfile_module (shared)
authz_dbm_module (shared)
authz_default_module (shared)
ldap_module (shared)
authnz_ldap_module (shared)
include_module (shared)
log_config_module (shared)
logio_module (shared)
env_module (shared)
ext_filter_module (shared)
mime_magic_module (shared)
expires_module (shared)
deflate_module (shared)
headers_module (shared)
usertrack_module (shared)
setenvif_module (shared)
mime_module (shared)
dav_module (shared)
status_module (shared)
autoindex_module (shared)
info_module (shared)
dav_fs_module (shared)
vhost_alias_module (shared)
negotiation_module (shared)
dir_module (shared)
actions_module (shared)
speling_module (shared)
userdir_module (shared)
alias_module (shared)
substitute_module (shared)
rewrite_module (shared)
proxy_module (shared)
proxy_balancer_module (shared)
proxy_ftp_module (shared)
proxy_http_module (shared)
proxy_ajp_module (shared)
proxy_connect_module (shared)
cache_module (shared)
suexec_module (shared)
disk_cache_module (shared)
cgi_module (shared)
version_module (shared)
fcgid_module (shared)
php5_module (shared)
python_module (shared)
ruby_module (shared)
ssl_module (shared)
suphp_module (shared)
Reply With Quote
  #7  
Old 30th June 2014, 09:57
leonep leonep is offline
Junior Member
 
Join Date: Feb 2014
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts
Default

i come back to php 5.3.3 . this solve the problem but now i have the initial problem . i need to upgrade php.what is the correct way ? thanks
Reply With Quote
  #8  
Old 30th June 2014, 10:11
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,041
Thanks: 841
Thanked 5,660 Times in 4,467 Posts
 
Default

The system php should normally not be upgraded to a version that differs from the php version that is shipped with the OS. If you need a newer php version for a website, then install a additional php version:

http://www.howtoforge.com/how-to-use...g-3-centos-6.3
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 18:26
ispconfig php 5 errors itamarjp Installation/Configuration 8 25th April 2008 11:20
Postfix - Relay access denied gotting Server Operation 3 23rd April 2008 15:06
Slightly Confused (DNS & Server Help) JohnnyBGoode Installation/Configuration 26 14th August 2007 10:54
Apache2 Freezes celtic Server Operation 31 28th May 2007 18:18


All times are GMT +2. The time now is 14:21.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.