[Kolab-devel] kolab 2.2.1beta -- apache+php+mysql+memcached

Thomas Baumann tom at tiri.li
Mon Feb 2 09:02:54 CET 2009


Yes I run phpinfo from apache.
What are the steps to get customized php usable from the
webserver ?

Which RPMs are to be recompiled ?

Thanks for your reply in advance.

Thomas.

Zitat von Gunnar Wrobel <wrobel at pardus.de>:

> Quoting Thomas Baumann <tom at thomasbaumann.com>:
>
>> Thanks, Alain,
>>
>> I got (as referred in my link on http://inhalt.serviert.de )
>>
>> checking for MySQL support... yes
>> checking for specified location of the MySQL UNIX socket... no
>> checking for MySQL UNIX socket location... no
>> checking for mysql_close in -lmysqlclient... yes
>> checking for MySQLi support... no
>> checking whether to enable embedded MySQLi support... no
>> checking for ncurses support... no
>>
>> So everything looks fine. Even the RPM builds correctly.
>>
>> But when I install and look after my phpinfo there
>> is nothing about mysql nor memcache :-(
>
> Maybe you are running phpinfo() via the Apache (using mod_php which is
> represented by the apache-php pacakge on OpenPKG) rather than on the
> command line. It looks as you are compiling the php package and this
> will only modify the command line PHP.
>
> Cheers,
>
> Gunnar
>
>>
>> That's what I cannot understand.
>>
>> Hope sb can help me further.
>>
>> Thanks for your reply in advance,
>>
>> thomas.
>>
>> Zitat von Alain Spineux <aspineux at gmail.com>:
>>
>>> On Sat, Jan 31, 2009 at 10:08 PM, Thomas Baumann
>>> <tom at thomasbaumann.com> wrote:
>>>> Hello list,
>>>>
>>>> I tried to get PHP5 working with mysql but I didnt succeed.
>>>>
>>>> I succeeded in rebuild mysql to
>>>> mysql-5.1.30-20090102.ix86-debian4.0-kolab.rpm
>>>> (taken from openpkg).
>>>> I succeeded in rebuild   
>>>> libevent-1.4.9-20081222.ix86-debian4.0-kolab.rpm and
>>>> memcached-1.3.0-20090130.ix86-debian4.0-kolab.rpm to get all dependencies
>>>> to my php.src.rpm
>>>>
>>>> I did a
>>>>
>>>> /kolab/bin/openpkg rpm -ivh php-5.2.8-20081209_kolab.src.rpm
>>>>
>>>> went to
>>>>
>>>> cd /kolab/RPM/SRC/php
>>>>
>>>> and tried to recompile with
>>>>
>>>> /kolab/bin/openpkg rpm -ba --define 'with_mysql yes' \
>>>>       --define 'with_pecl_memcache yes'  php.spec
>>>
>>> The command looks correct !
>>>
>>> Usually, I skip the rpm -i and use a rpm --build like this :
>>>
>>> /kolab/bin/openpkg rpm --rebuild \
>>>       php-5.2.8-20081209_kolab.src.rpm \
>>>       --define 'with_mysql yes' \
>>>       --define 'with_pecl_memcache yes'  php.spec
>>>
>>> Did you install mysql first, before to build your php package ?
>>>
>>> I tried it myself, with mysql installed, but get this :
>>>
>>> # /kolab/bin/openpkg rpm --rebuild
>>> /s0/emailgency/kolab_src/php-5.2.6-20080514_kolab.src.rpm --define
>>> 'with_mysql yes' --define 'with_mysql yes'
>>> ......
>>> checking for specified location of the MySQL UNIX socket... no
>>> checking for MySQL UNIX socket location... no
>>> checking for mysql_close in -lmysqlclient... no
>>> checking for mysql_error in -lmysqlclient... no
>>> configure: error: mysql configure failed. Please check config.log for
>>> more information.
>>> error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.71712 (%build)
>>>
>>> Hope this give you some ideas
>>>
>>>
>>>>
>>>> But the result was a installable rpm-file, but it lacks on
>>>> mysql and pecl-memcache support.
>>>>
>>>> What is going wrong - or what do i have to type to get
>>>> a RPM-file with all support as in the original but additional with
>>>> mysql and memcache support ?
>>>>
>>>> The compile log is visible on
>>>>
>>>> http://inhalt.serviert.de/ -->
>>>> http://inhalt.serviert.de/wissen/migration/kolab-2.2-beta-unter-debian-etch
>>>> ->
>>>> php_recompile
>>>>
>>>> Thanks for your reply in advance.
>>>>
>>>> Thomas.
>>>>
>>>> --
>>>> Thomas Baumann
>>>>
>>>> Bücher und mehr im Internet - meine neue Site: http://www.1-search.de
>>>> - Viel Spass!
>>>>
>>>> ----------------------------------------------------------------
>>>> This message was sent using IMP, the Internet Messaging Program.
>>>>
>>>> _______________________________________________
>>>> Kolab-devel mailing list
>>>> Kolab-devel at kolab.org
>>>> https://kolab.org/mailman/listinfo/kolab-devel
>>>>
>>>
>>>
>>>
>>> --
>>> Alain Spineux
>>> aspineux gmail com
>>> May the sources be with you
>>>
>>> _______________________________________________
>>> Kolab-devel mailing list
>>> Kolab-devel at kolab.org
>>> https://kolab.org/mailman/listinfo/kolab-devel
>>>
>>>
>>
>> --
>> Bücher und mehr im Internet - meine neue Site: http://www.1-search.de
>> - Viel Spass!
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>> _______________________________________________
>> Kolab-devel mailing list
>> Kolab-devel at kolab.org
>> https://kolab.org/mailman/listinfo/kolab-devel
>>
>
>
>
> -- 
> ______ http://kdab.com _______________ http://kolab-konsortium.com _
>
> p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium
>
> ____ http://www.pardus.de _________________ http://gunnarwrobel.de _
> E-mail : p at rdus.de                                 Dr. Gunnar Wrobel
> Tel.   : +49 700 6245 0000                          Bundesstrasse 29
> Fax    : +49 721 1513 52322                          D-20146 Hamburg
> --------------------------------------------------------------------
>    >> Mail at ease - Rent a kolab groupware server at p at rdus <<
> --------------------------------------------------------------------
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.



-- 
tiri Limited & Co. KG
Johann-Adolf-Hasse-Str. 2b
21493 Schwarzenbek

Geschäftsführerin: Anja Baumann

Sitz der Gesellschaft: Schwarzenbek

Handelsregister: HRA 5078 HL
USt.-ID: DE254262065

Persönlich haftender Gesellschafter: tiri Limited

tiri Limited ist eine Gesellschaft nach englischem Recht, zugelassen
bei Companies House zu Cardiff, Company No. 05178378, Registered
Office: 39-40 Calthorpe Road, Birmingham, West Midlands, B15 1TS,
United Kingdom

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the devel mailing list