May 18 01:15:02 ds9 php: PHP Warning: mb_ereg_replace(): mbregex compile err: premature end of char-class in /home/e-smith/files/ibays/cacti/html/include/config.php on line 58May 18 01:15:02 ds9 php: PHP Warning: mb_ereg_replace(): mbregex compile err: premature end of char-class in /home/e-smith/files/ibays/cacti/html/include/config.php on line 59May 18 01:15:02 ds9 php: PHP Warning: include(/adodb/adodb.inc.php): failed to open stream: No such file or directory in /home/e-smith/files/ibays/cacti/html/include/config.php on line 143May 18 01:15:02 ds9 php: PHP Warning: include(): Failed opening '/adodb/adodb.inc.php' for inclusion (include_path='.:/usr/share/pear-addons:/usr/share/pear') in /home/e-smith/files/ibays/cacti/html/include/config.php on line 143May 18 01:15:02 ds9 php: PHP Warning: include(/database.php): failed to open stream: No such file or directory in /home/e-smith/files/ibays/cacti/html/include/config.php on line 144May 18 01:15:02 ds9 php: PHP Warning: include(): Failed opening '/database.php' for inclusion (include_path='.:/usr/share/pear-addons:/usr/share/pear') in /home/e-smith/files/ibays/cacti/html/include/config.php on line 144May 18 01:15:02 ds9 php: PHP Warning: include_once(/functions.php): failed to open stream: No such file or directory in /home/e-smith/files/ibays/cacti/html/include/config.php on line 145May 18 01:15:02 ds9 php: PHP Warning: include_once(): Failed opening '/functions.php' for inclusion (include_path='.:/usr/share/pear-addons:/usr/share/pear') in /home/e-smith/files/ibays/cacti/html/include/config.php on line 145May 18 01:15:02 ds9 php: PHP Fatal error: Call to undefined function db_connect_real() in /home/e-smith/files/ibays/cacti/html/include/config.php on line 151May 18 01:19:30 ds9 httpd: PHP Warning: include_once(PEAR.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /home/e-smith/files/ibays/egroupware/html/phpgwapi/inc/horde/lib/core.php on line 27May 18 01:19:30 ds9 httpd: PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'PEAR.php' for inclusion (include_path='/home/e-smith/files/ibays/egroupware/html/phpgwapi/inc/horde/lib/../../horde/:.:/usr/share/pear-addons:/usr/share/pear') in /home/e-smith/files/ibays/egroupware/html/phpgwapi/inc/horde/lib/core.php on line 27May 18 01:19:30 ds9 httpd: PHP Warning: include_once(Log.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /home/e-smith/files/ibays/egroupware/html/phpgwapi/inc/horde/Horde.php on line 3May 18 01:19:30 ds9 httpd: PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'Log.php' for inclusion (include_path='/home/e-smith/files/ibays/egroupware/html/phpgwapi/inc/horde/lib/../../horde/:.:/usr/share/pear-addons:/usr/share/pear') in /home/e-smith/files/ibays/egroupware/html/phpgwapi/inc/horde/Horde.php on line 3
Do you have php-pear and php-pear-Log installed?php-pear has a separate source rpm - you may need to rebuild that too, and there are some php-pear-xxx rpms in my contrib directory.
[root@ds9 php5]# rpm -qa | grep phpphp-xmlrpc-5.1.2-5.c4.02php-imap-5.1.2-5.c4.02php-pear-1.4.6-2.c4php-pear-Log-1.9.3-1php-pear-Net-Socket-1.0.6-1php-pecl-fileinfo-1.0.3-1.SME7php-devel-5.1.2-5.c4.02php-ncurses-5.1.2-5.c4.02php-pear-File-1.2.2-1php-pear-Net-IMAP-1.0.3-1php-pear-XML-Parser-1.2.7-1php-xml-5.1.2-5.c4.02php-eaccelerator-5.1.2_0.9.5-1.beta1.01.SME7php-odbc-5.1.2-5.c4.02php-pear-HTTP-Request-1.3.0-1php-pear-Net-Sieve-1.1.2-1php-pear-XML-Serializer-0.18.0-1e-smith-phpmyadmin-2.6.0-13.SME7e-smith-php-1.12.0-01php-bcmath-5.1.2-5.c4.02php-gd-5.1.2-5.c4.02php-mcrypt-5.1.2-5.c4.02php-pdo-5.1.2-5.c4.02php-pear-Date-1.4.6-1php-pear-HTTP-WebDAV-Server-1.0.0RC3-1php-pear-Net-DIME-0.3-1php-pear-Net-SMTP-1.2.8-1php-pear-SOAP-0.9.1-1php-pear-XML-Util-1.1.1-1php-snmp-5.1.2-5.c4.02php-dba-5.1.2-5.c4.02php-mysql-5.1.2-5.c4.02php-pear-DB-1.7.6-4php-pear-Net-FTP-1.3.2-1php-pear-Text-Wiki-1.1.0-1php-soap-5.1.2-5.c4.02php-ldap-5.1.2-5.c4.02php-pear-Auth-SASL-1.0.1-1php-pear-Mail-1.1.9-1php-pear-Net-URL-1.0.14-1php-pecl-memcache-2.0.1-1.SME7php-5.1.2-5.c4.02php-mbstring-5.1.2-5.c4.02php-pear-Cache-1.5.4-1php-pear-Mail-Mime-1.3.1-1php-pear-Services-Weather-1.4.0-1php-pgsql-5.1.2-5.c4.02[root@ds9 php5]#
ereg_replace("(.*[\/\\])include", "\\1lib", dirname(__FILE__));Code: [Select]the dirname(__FILE__) return the right value but the ereg_replace return nothing
the dirname(__FILE__) return the right value but the ereg_replace return nothing
May 18 15:32:03 ds9 httpd: PHP Warning: mb_ereg_replace() [<a href='function.mb-ereg-replace'>function.mb-ereg-replace</a>]: mbregex compile err: premature end of char-class in /home/e-smith/files/ibays/cacti/html/include/config.php on line 64May 18 15:32:03 ds9 httpd: PHP Warning: mb_ereg_replace() [<a href='function.mb-ereg-replace'>function.mb-ereg-replace</a>]: mbregex compile err: premature end of char-class in /home/e-smith/files/ibays/cacti/html/include/config.php on line 65
one think it's the possible prob the pear-* on the original repo was not updated because they aren' the same nameex:pear-Log in original an in the new rpm php-pear-Log
before i expand the php.ini everything work fine (except a problem with sessions)
I'm also waiting for an official support for PHP5 in SME 7...
Quote from: "stefan24"I'm also waiting for an official support for PHP5 in SME 7...You'll likely be waiting quite a long time. SME7 is based on CentOS4/RHEL4, which doesn't include php5.