HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Feature Requests (http://www.howtoforge.com/forums/forumdisplay.php?f=17)
-   -   zlib and bzip support in PHP (http://www.howtoforge.com/forums/showthread.php?t=3948)

todvard 27th April 2006 12:52

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.

falko 27th April 2006 16:49

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.

Norman 11th May 2006 00:32

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.

falko 11th May 2006 18:01

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...

jang 12th February 2007 14:39

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

falko 13th February 2007 17:27

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.

jang 15th February 2007 18:39

Thx Falko,

I've added --with-zlib and now I've got gz compression in phpMyAdmin.
It's awesome. :)

edison 5th June 2007 14:58

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.

falko 6th June 2007 16:54

The configure statement for ISPConfig's PHP5 is in install_ispconfig/compile_aps/compile. Just adjust it to your needs.

mlz 6th June 2007 18:22

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.


All times are GMT +2. The time now is 06:45.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.