Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: Snoopyski on January 27, 2007, 03:50:31 AM
-
Hello Everyone,
Since I upgrade My PHP and MySQL to Versio 5.x.x I got those error messages in my log:
Jan 26 21:35:06 server httpd: PHP Warning: require_once(config.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /opt/addressbook/constants.inc on line 60
Jan 26 21:35:06 server httpd: PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'config.php' (include_path='.:/usr/share/pear-addons:/usr/share/pear') in /opt/addressbook/constants.inc on line 60
Jan 26 21:35:06 server su(pam_unix)[29047]: session closed for user qmailr
Jan 26 21:37:28 server php: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/bcmath.so' - /usr/lib/php/modules/bcmath.so: cannot open shared object file: No such file or directory in Unknown on line 0
Jan 26 21:37:28 server php: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/dom.so' - /usr/lib/php/modules/dom.so: cannot open shared object file: No such file or directory in Unknown on line 0
Jan 26 21:37:28 server php: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pgsql.so' - /usr/lib/php/modules/pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
Jan 26 21:37:28 server php: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/curl.so' - /usr/lib/php/modules/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0
Jan 26 21:37:28 server php: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/domxml.so' - /usr/lib/php/modules/domxml.so: cannot open shared object file: No such file or directory in Unknown on line 0
Jan 26 21:37:28 server php: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/fileinfo.so' - /usr/lib/php/modules/fileinfo.so: cannot open shared object file: No such file or directory in Unknown on line 0
Jan 26 21:37:28 server php: PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
Jan 26 21:37:28 server php: PHP Warning: Module 'mhash' already loaded in Unknown on line 0
Jan 26 21:37:28 server php: PHP Warning: Module 'xmlrpc' already loaded in Unknown on line 0
Jan 26 21:37:39 server php: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/bcmath.so' - /usr/lib/php/modules/bcmath.so: cannot open shared object file: No such file or directory in Unknown on line 0
Jan 26 21:37:39 server php: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/dom.so' - /usr/lib/php/modules/dom.so: cannot open shared object file: No such file or directory in Unknown on line 0
Jan 26 21:37:39 server php: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pgsql.so' - /usr/lib/php/modules/pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
Jan 26 21:37:39 server php: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/curl.so' - /usr/lib/php/modules/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0
Jan 26 21:37:39 server php: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/domxml.so' - /usr/lib/php/modules/domxml.so: cannot open shared object file: No such file or directory in Unknown on line 0
Jan 26 21:37:39 server php: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/fileinfo.so' - /usr/lib/php/modules/fileinfo.so: cannot open shared object file: No such file or directory in Unknown on line 0
Jan 26 21:37:39 server php: PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
Jan 26 21:37:39 server php: PHP Warning: Module 'mhash' already loaded in Unknown on line 0
Jan 26 21:37:39 server php: PHP Warning: Module 'xmlrpc' already loaded in Unknown on line 0
Jan 26 21:37:56 server php: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/bcmath.so' - /usr/lib/php/modules/bcmath.so: cannot open shared object file: No such file or directory in Unknown on line 0
Jan 26 21:37:56 server php: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/dom.so' - /usr/lib/php/modules/dom.so: cannot open shared object file: No such file or directory in Unknown on line 0
Jan 26 21:37:56 server php: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pgsql.so' - /usr/lib/php/modules/pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0
Jan 26 21:37:56 server php: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/curl.so' - /usr/lib/php/modules/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0
Jan 26 21:37:56 server php: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/domxml.so' - /usr/lib/php/modules/domxml.so: cannot open shared object file: No such file or directory in Unknown on line 0
Jan 26 21:37:56 server php: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/fileinfo.so' - /usr/lib/php/modules/fileinfo.so: cannot open shared object file: No such file or directory in Unknown on line 0
Jan 26 21:37:56 server php: PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
Jan 26 21:37:56 server php: PHP Warning: Module 'mhash' already loaded in Unknown on line 0
Jan 26 21:37:56 server php: PHP Warning: Module 'xmlrpc' already loaded in Unknown on line 0
Jan 26 21:39:13 server httpd: PHP Warning: mcrypt_decrypt() [<a href='function.mcrypt-decrypt'>function.mcrypt-decrypt</a>]: Size of key is too large for this algorithm in /opt/administration/phpmyadminmulti/libraries/mcrypt.lib.php on line 90
Jan 26 21:39:13 server httpd: PHP Fatal error: mcrypt_decrypt() [<a href='function.mcrypt-decrypt'>function.mcrypt-decrypt</a>]: Mcrypt initialisation failed in /opt/administration/phpmyadminmulti/libraries/mcrypt.lib.php on line 90
Jan 26 21:39:16 server httpd: PHP Warning: require_once(config.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /opt/addressbook/constants.inc on line 60
Jan 26 21:39:16 server httpd: PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'config.php' (include_path='.:/usr/share/pear-addons:/usr/share/pear') in /opt/addressbook/constants.inc on line 60
Jan 26 21:39:17 server httpd: PHP Warning: require_once(config.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /opt/addressbook/constants.inc on line 60
Jan 26 21:39:17 server httpd: PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'config.php' (include_path='.:/usr/share/pear-addons:/usr/share/pear') in /opt/addressbook/constants.inc on line 60
Jan 26 21:39:17 server httpd: PHP Warning: require_once(config.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /opt/addressbook/constants.inc on line 60
Jan 26 21:39:17 server httpd: PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'config.php' (include_path='.:/usr/share/pear-addons:/usr/share/pear') in /opt/addressbook/constants.inc on line 60
Jan 26 21:39:18 server httpd: PHP Warning: require_once(config.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /opt/addressbook/constants.inc on line 60
Jan 26 21:39:18 server httpd: PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'config.php' (include_path='.:/usr/share/pear-addons:/usr/share/pear') in /opt/addressbook/constants.inc on line 60
Jan 26 21:39:18 server httpd: PHP Warning: require_once(config.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /opt/addressbook/constants.inc on line 60
Jan 26 21:39:18 server httpd: PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'config.php' (include_path='.:/usr/share/pear-addons:/usr/share/pear') in /opt/addressbook/constants.inc on line 60
PS. TheAdressBook, PHPMyAdmin, etc don't work in HTTPS... And I use the Howto for upgrading from PHP4 to PHP5/MySQL5 fron the contribs web site...
Thanks for help,
Snoopyski
-
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!
-
The how to is read only and cannot be changed, deleted or corrected.
It did work on a stock SME 7.0.
Do not use it with SME 7.1.
Which version did you update and when did you update? I will look into some way of backing out of it if possible.
-
Hello,
I'm in version 7.1... It's a upgrade from version 6.0.1 to 7.1... And after the upgrade and everything works fine I do a upgrade for PHP5/MySQL5 because my eGroupWare apps (and others) need those upgrade...
Thanks,
Snoopyski
-
Hello,
I'm in version 7.1... It's a upgrade from version 6.0.1 to 7.1... And after the upgrade and everything works fine I do a upgrade for PHP5/MySQL5 because my eGroupWare apps (and others) need those upgrade...
Thanks,
Snoopyski
Ok.
Just to be clear, you upgrade 7.1 using the wiki howto ?
Before 7.1 you never had php5 or mysql5?
-
Hello,
Thats wright
6.0.1 running in PHP 4.x and MySQL 4.x
Thanks,
Snoopyski
-
The following will give an idea of how to transition from custom templates to default templates. This may assist SME updates in the future.
I installed 7.1 from CD in server only mode.
I followed the old wiki how to with one change.
rpm -Uvh --nodeps http://mirror.contribs.org/smeserver/releases/obsolete/7.0/smeupdates/i386/RPMS/php-domxml-4.3.9-3.15.i386.rpm
instead of
rpm -Uvh --nodeps http://mirror.contribs.org/smeserver/releases/7/updates/i386/RPMS/php-domxml-4.3.9-3.15.i386.rpm
Everything appears to work but not extensively tested.
Prior to using the default templates lets make sure they exist and contain the correct code.
What is the content of /etc/e-smith/templates/etc/php.ini/50PathsDirectories ?
[root@sme71 ~]# cat /etc/e-smith/templates/etc/php.ini/50PathsDirectories
include_path = ".:/usr/share/pear-addons:/usr/share/pear"
doc_root =
user_dir =
extension_dir = { if( -d "/usr/lib/php/modules" ) { "/usr/lib/php/modules"; } else { "/usr/lib/php4"; } }
enable_dl = On
[root@sme71 ~]#
What is the content of /etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80PHP
[root@sme71 php4]# cat /etc/e-smith/templates/etc/httpd/conf/httpd.conf/20LoadModule80PHP
{
return "" unless (exists $php{status} and $php{status} eq "enabled");
return "LoadModule php5_module modules/libphp5.so" if ( -r "/usr/lib/httpd/modules/libphp5.so" );
return "LoadModule php4_module modules/libphp4.so";
}
[root@sme71 php4]#
If they are the same as above proceed with the following..
# rpm -e --nodeps php-domxml
# yum --enablerepo=centosplus install php-xml
# rm /etc/e-smith/templates-custom/etc/php.ini/50PathsDirectories
# rm /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/20LoadModule80PHP
# expand-template /etc/php.ini
# expand-template /etc/httpd/conf/httpd.conf
# mysql_upgrade
# cat /usr/share/mysql/mysql_fix_privilege_tables.sql | /usr/bin/mysql --force --user=root --host=localhost --database=mysql
# signal-event post-upgrade
# signal-event reboot
You may also want to post the full output of...
/sbin/e-smith/audittools/templates