Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: percyiii on April 08, 2006, 05:30:25 PM
-
I have built a sme 7 server upgraded the php to 5.04. But seems to have broke the webmail.
Mar 15 01:12:14 lfp70 httpd: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/gd.so' - /usr/lib/php5/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
Mar 15 01:12:14 lfp70 httpd: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/imap.so' - /usr/lib/php5/imap.so: cannot open shared object file: No such file or directory in Unknown on line 0
Mar 15 01:12:14 lfp70 httpd: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/ldap.so' - /usr/lib/php5/ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0
Mar 15 01:12:14 lfp70 httpd: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/mbstring.so' - /usr/lib/php5/mbstring.so: cannot open shared object file: No such file or directory in Unknown on line 0
Mar 15 01:12:14 lfp70 httpd: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/mysql.so' - /usr/lib/php5/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
Mar 15 01:12:14 lfp70 httpd: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/mysqli.so' - /usr/lib/php5/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
Ok this is the error i got.
Well '/usr/lib/php5 did not exist.. so being the bandaid guy i am.. I copied the files looked for above from /usr/lib/php to the newly made /usr/lib/php5 dir...
Well no error now but the webmail still no workie...
Any ideas linux guru's
I got the php5 by
adding the following to yum
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://mirror.nsc.liu.se/CentOS/4.2/centosplus/$basearch/
gpgcheck=1
enabled=1
then making a fragment
/etc/e-smith/templates-custom/etc/php.ini/50PathsDirectories
include_path = ".:/usr/share/pear"
doc_root =
user_dir =
extension_dir = /usr/lib/php5
enable_dl = On
any ideas?
-
Is webmail the only thing broken so far? How are the panels that control the server acting?
-
Is webmail the only thing broken so far? How are the panels that control the server acting?
Everythng works that I can tell except the webmail. The web person wanted some features that php 5 had..
Bill
-
Is webmail the only thing broken so far? How are the panels that control the server acting?
The server manager does not use PHP.
-
Hummm! :-D
I'm on the same boat, and it's why I asked (Web person asking for PHP5).
I already replaced the webmail and went with roundcube (Still beta but works good), if everything else fails for you...
-
Hello,
For a script, i need PHP 5. I read this post, and, if the only thinks that doesn't work is the webmail and if it possible to modify this with Roundcube, maybe i go to install this.
But, i wont to know if it's possible to import the mail on Horde to Roundcube.
-
The great advantage of using Roundcube is that you don't have to touch anything, it uses IMAP so you could even have both working at the same time if you would.
-
There's a bug report open to allow the use of php4 or php5. The php rpms in my contrib directory are not supported at all, and I'd really recommend you not install them unless you are developing an addon that _requires_ php5.
http://bugs.contribs.org/show_bug.cgi?id=1120
-
:gregswallow
your rpm need mysql5 ?
they need libmysqlclient.so.15 that are ine mysql5 rpm
how can i install php5 whitout mysql5 ?
i need php5 for the syncML module of egroupware
-
i need php5 for the syncML module of egroupware
Complain to the developers of egroupware. It would be considerable easier for you if they allow the use of php4.
-
php 5.0.4-5 present in the centosplus repo did need mysql5
i test this this evening
-
@CharlieBrady: I already did complain to them (at LinuxTag 2006 in Wiesbaden, Germany). They said, that PHP5 is required for the SyncML thing in eGroupware and that there is no chance to use PHP4 in this case.
I'm also waiting for an official support for PHP5 in SME 7, but when I install eGroupware I probably won't need Horde Webmail anymore.
-
:gregswallow
your rpm need mysql5 ?
they need libmysqlclient.so.15 that are ine mysql5 rpm
how can i install php5 whitout mysql5 ?
Sorry about that, I don't have time to fix them now... - But you can rebuild the php rpms from the php source rpm - I had mysql5 installed when I built them and it must have picked that dependancy automatically.
-
i have recompiled the src.rpm and install it
modifier php.ini and httpd.conf
webmail work
cacti didn't work i search why tomorow
egroupware work
redoma work
gallery work
phpmyadmin work to
i'm happy :D
i post a link with the recompiled rpm tomorow is too late here
-
cacti didn't work i search why tomorow
cacti needs php-snmp and net-snmp I think.
Glad it is working for you...(so far) ;-)
Again for everyone else reading this, please stick with the version of php that comes with SME7 - this version of php is already out of date - there is 5.1.4 now - the php in SME7 is version 4.3.9, but it is patched, and will continue to be patched until 2012 by Redhat/CentOS, to fix any security problems. If you use php5, you have to update it yourself, and if it doesn't work you can't submit a bug report and will probably have a hard time finding help here.
-
By the way, one other cool thing I know of that needs php5:
Avantfax - http://avantfax.com/
-
it appear that is an include_path problem
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 58
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 59
May 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 143
May 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 143
May 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 144
May 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 144
May 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 145
May 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 145
May 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 151
May 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 27
May 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 27
May 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 3
May 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
one is for cacti and the other the syncML of egroupware
-
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.
-
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.
yes php-pear et the other in yours contrib dir but haven't recompile them
i do that and reinstall the rpm
the rpm installed
[root@ds9 php5]# rpm -qa | grep php
php-xmlrpc-5.1.2-5.c4.02
php-imap-5.1.2-5.c4.02
php-pear-1.4.6-2.c4
php-pear-Log-1.9.3-1
php-pear-Net-Socket-1.0.6-1
php-pecl-fileinfo-1.0.3-1.SME7
php-devel-5.1.2-5.c4.02
php-ncurses-5.1.2-5.c4.02
php-pear-File-1.2.2-1
php-pear-Net-IMAP-1.0.3-1
php-pear-XML-Parser-1.2.7-1
php-xml-5.1.2-5.c4.02
php-eaccelerator-5.1.2_0.9.5-1.beta1.01.SME7
php-odbc-5.1.2-5.c4.02
php-pear-HTTP-Request-1.3.0-1
php-pear-Net-Sieve-1.1.2-1
php-pear-XML-Serializer-0.18.0-1
e-smith-phpmyadmin-2.6.0-13.SME7
e-smith-php-1.12.0-01
php-bcmath-5.1.2-5.c4.02
php-gd-5.1.2-5.c4.02
php-mcrypt-5.1.2-5.c4.02
php-pdo-5.1.2-5.c4.02
php-pear-Date-1.4.6-1
php-pear-HTTP-WebDAV-Server-1.0.0RC3-1
php-pear-Net-DIME-0.3-1
php-pear-Net-SMTP-1.2.8-1
php-pear-SOAP-0.9.1-1
php-pear-XML-Util-1.1.1-1
php-snmp-5.1.2-5.c4.02
php-dba-5.1.2-5.c4.02
php-mysql-5.1.2-5.c4.02
php-pear-DB-1.7.6-4
php-pear-Net-FTP-1.3.2-1
php-pear-Text-Wiki-1.1.0-1
php-soap-5.1.2-5.c4.02
php-ldap-5.1.2-5.c4.02
php-pear-Auth-SASL-1.0.1-1
php-pear-Mail-1.1.9-1
php-pear-Net-URL-1.0.14-1
php-pecl-memcache-2.0.1-1.SME7
php-5.1.2-5.c4.02
php-mbstring-5.1.2-5.c4.02
php-pear-Cache-1.5.4-1
php-pear-Mail-Mime-1.3.1-1
php-pear-Services-Weather-1.4.0-1
php-pgsql-5.1.2-5.c4.02
[root@ds9 php5]#
-
same error with the recompiled rpm
-
go back tu standart php4
one think it's the possible prob the pear-* on the original repo was not updated because they aren' the same name
ex:pear-Log in original an in the new rpm php-pear-Log
-
same problem with cacti on php4 :hammer:
the problem is in this fonction
ereg_replace("(.*[\/\\])include", "\\1lib", dirname(__FILE__));
the dirname(__FILE__) return the right value but the ereg_replace return nothing
-
and here the reason of the ereg_replace error
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 64
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 65
and now i can't not solve this a this time
complette deinstal of all php and pear rpm and reinstal from repo or whith php5 didn't solve the prob
-
i think i found the prob missing --enable-mbregex in the compile option
-
not that the error
same problem with 5.1.2 ,5.0.4 from cenosplus and with the original when i reinstall it.
but when in install 5.0.4 after 5.1.2 and before i expand the php.ini everything
work fine (except a problem with sessions)
-
one think it's the possible prob the pear-* on the original repo was not updated because they aren' the same name
ex:pear-Log in original an in the new rpm php-pear-Log
Yes, my php-pear-xxx rpms are meant to replace the current pear-xxx rpms. php-pear-xxx is the naming sceme in Fedora Extras, so I think we should switch to that sometime soon.
before i expand the php.ini everything
work fine (except a problem with sessions)
It is very likely that we need to template some other lines from the suggested php.ini for php 5.
-
try without php-pecl-memcache and php-eaccelerator - they are just things to make php faster and are likely to cause problems.
-
found the error you need tu force mbstring overload tu not overload the ereg
whith this
mbstring.func_overload=0
or value under 4 in php.ini
with this cacti workfine with php 5.0.4 from centosplus repos
i test with gregswallow rpm this evening
-
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.
-
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.
the centosplus isn't centos 4 ?
php5.0.4 are in centos plus repositori
-
You might want to check this
http://mirror.centos.org/centos/4/centosplus/Readme.txt
Bob
-
found the error you need tu force mbstring overload tu not overload the ereg
whith this
mbstring.func_overload=0
or value under 4 in php.ini
I added this info to the bug report:
http://bugs.contribs.org/show_bug.cgi?id=1120
If you have edited the php.ini file with anything else, please make a not of your changes in the bug report (you will need to create an account in bugzilla) - Thanks!
-
the centosplus isn't centos 4 ?
No. They're maintained by people working on the centos4 project, but they are not in centos4.