Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - wpmagic70

Pages: [1]
Hi, I tried editing webftp simple to add the zip and unzip feature to it.
Currently i added compress feature, but i have problems in making it work correctly, actually it works but it is not able to compress some files.
I link the index.php file here for anyone who have time to take a look at it and fix that problem if possible.
Please test it with atleast 3-depth directories and files:

my function is named compressFile. and the problem is in this function: download_dir_to_tmp .
When download_dir_to_tmp tries to download a big directory it fails downloading some of its files.

To test the file it must being inserted at :
Code: [Select]

I installed php 7.1 as secondary php version and i use it for one of my projects. Now i want update that project and add one dependency to it using composer.
Composer says one of dependencies needs php 7.0 and above, then i tried call composer this way :
Code: [Select]
/usr/local/cwp/php71/bin/php /usr/local/bin/composer.phar require 2amigos/yii2-tinymce-widget
The problem with above command is that php loads without exif extension which is needed by one of dependencies.
Also i tried
Code: [Select]
/usr/local/cwp/php71/bin/php -m but all extensions are loaded except exif !
Also i checked the list of extensions in cwp and --enable-exif is in flags file, so it is active, maybe not active in console ?
Anyway how i can load that extension ?

Apache / How to disable directory listing
« on: May 08, 2016, 07:09:32 AM »
Hi all. I installed cwp on my vps but sounds like directory browsing is enabled and i added following code on httpd.conf but it not works at all:
Options -Indexes

I have inserted it in many places even in my domain directory but it not works.
Please help me.

Pages: [1]