Control Web Panel

WebPanel => Apache => Topic started by: biant3 on October 07, 2014, 02:19:04 PM

Title: How to enable mod_expire on the server?
Post by: biant3 on October 07, 2014, 02:19:04 PM
I am with the last version of the CWP and I see the loaded (static) modules, but I dont know how to load a mod_expire.

Thanks in advance
Title: Re: How to enable mod_expire on the server?
Post by: Administrator on October 08, 2014, 01:38:08 AM
did you meant on mod_expires ?
Title: Re: How to enable mod_expire on the server?
Post by: biant3 on October 08, 2014, 09:22:28 AM
Yes, I mean mod_expires. Awso I need to install ImageMagick, I tryed to install it like this:

# yum install gcc php-devel php-pear

# yum install ImageMagick ImageMagick-devel

# pecl install imagick
# echo "extension=imagick.so" > /etc/php.d/imagick.ini

 but the apache stoped when i do this command:

# service httpd reload

The panel showed that I am using a different apache and fix it but the ImageMagick is not working.
Title: Re: How to enable mod_expire on the server?
Post by: vladi246 on October 09, 2014, 02:59:27 PM
I installed ImageMagick without any problem
Just add extension=imagick.co line ot /usr/local/php/php.ini and everything will be fine

Cheers
Yes, I mean mod_expires. Awso I need to install ImageMagick, I tryed to install it like this:

# yum install gcc php-devel php-pear

# yum install ImageMagick ImageMagick-devel

# pecl install imagick
# echo "extension=imagick.so" > /etc/php.d/imagick.ini

 but the apache stoped when i do this command:

# service httpd reload

The panel showed that I am using a different apache and fix it but the ImageMagick is not working.
Title: Re: How to enable mod_expire on the server?
Post by: Administrator on October 09, 2014, 05:20:32 PM
you would need to recompile apache, apache recompiler will come with the next version.
Title: Re: How to enable mod_expire on the server?
Post by: biant3 on October 10, 2014, 06:21:21 AM
What does it mean "recompile"? And what about the install of the mod?
Title: Re: How to enable mod_expire on the server?
Post by: Administrator on October 10, 2014, 09:35:23 PM
apache is compiler from the source so you would need to know on how to compile apache.

if you do not have knowledge for doing that than I suggest that you wait for newer release which will have apache recompiler (same like php recompiler/switcher)