
27th April 2006, 12:52
|
|
Member
|
|
Join Date: Aug 2005
Posts: 85
Thanks: 1
Thanked 6 Times in 5 Posts
|
|
zlib and bzip support in PHP
Hello,
i have a small problem with php in ISPConfig, it is compiled without zlib and bzip support. It could lead to problems when one trying to use phpmyadmin's export/import compression feature. After recompiling php with "--with-zlib --with-bz2" it started to work. If this is not interfering with ISPconfig then it would be nice to make it enabled in next versions.
Thank you,
Tod.
|

27th April 2006, 16:49
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
It's not interfering with ISPConfig, but these switches have some dependencies (i.e., zlib must be installed, bzip2 must be installed), and we want to have a PHP5 that compiles on as much computers as possible. For example, on a computer where no bzip2 is installed, --with-bz2 will fail.
|

11th May 2006, 00:32
|
|
HowtoForge Supporter
|
|
Join Date: May 2006
Posts: 238
Thanks: 0
Thanked 12 Times in 11 Posts
|
|
Aha.. so that is why phpmyadmin goes into a loop and hicups at 99% usage on the ispconfig_httpd process?
Can't we just have a switch to handle bzip at install? Check for bzip and if so activate for compilation.
|

11th May 2006, 18:01
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
Quote:
|
Originally Posted by Norman
Aha.. so that is why phpmyadmin goes into a loop and hicups at 99% usage on the ispconfig_httpd process?
Can't we just have a switch to handle bzip at install? Check for bzip and if so activate for compilation.
|
phpMyAdmin doesn't offer to bzip2 SQL dumps if there's no bzip2 support in PHP...
|

12th February 2007, 14:39
|
|
Junior Member
|
|
Join Date: Aug 2006
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Well maybe phpMyAdmin doesn't offer gzip compression for SQL, but still it does offer Open Document download, for which gzip-compression is needed.
It doesn't work now and will confuse customers.
My main Apache PHP-module has gz and bz support.
I think the switch Norman supposed is a good thing, it will enhance phpMyAdmin for most people.
If I want to update my ISPconfig to 2.2.9, how should I do it to enable gzip/bz support in phpmyadmin.
Thx,
Jang
|

13th February 2007, 17:27
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
Quote:
|
Originally Posted by jang
If I want to update my ISPconfig to 2.2.9, how should I do it to enable gzip/bz support in phpmyadmin.
Thx,
Jang
|
You must compile gzip/bz support into ISPConfig's PHP5. The configure statement for ISPConfig's PHP5 is in install_ispconfig/compile_aps/compile.
|

15th February 2007, 18:39
|
|
Junior Member
|
|
Join Date: Aug 2006
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thx Falko,
I've added --with-zlib and now I've got gz compression in phpMyAdmin.
It's awesome.
|

5th June 2007, 14:58
|
|
Junior Member
|
|
Join Date: May 2007
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Hello,
I have the same problem (no gzip in phpmyadmin).
Can you indicate to me the procedure (how to) for recompile PHP with these options.
I have Debian 4, PHP 5, ISPconfig 2.2.13 with some sites in production.
Thank you.
|

6th June 2007, 16:54
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
The configure statement for ISPConfig's PHP5 is in install_ispconfig/compile_aps/compile. Just adjust it to your needs.
|

6th June 2007, 18:22
|
|
Senior Member
|
|
Join Date: Dec 2006
Posts: 184
Thanks: 16
Thanked 9 Times in 9 Posts
|
|
It would be nice to offer switched to the installer to allow gzip xml, etc to pass on to the compile stage. It would make things much easier for those of us with special requirements for IPSConfigs PHP subsystem.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 18:21.
|
|
Recent comments
18 hours 28 min ago
18 hours 34 min ago
23 hours 32 min ago
1 day 6 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 12 hours ago
1 day 19 hours ago
1 day 23 hours ago
2 days 44 min ago