Since last 4 days, we are facing strange issue on our Production server (AWS EC2 instance) specific to only one site which is SugarCRM. Issue is /home/site_folder/public_html/include/MassUpdate.php file is renamed automatically to /home/site_folder/public_html/include/MassUpdate.php.suspected This happens 2-3 times in a day with 3-4 hours of gap. This issue occurs only in case of specific site, even it doesn’t occur for staging
Tag: linux
what i can do with error : permission denied in hosting service
i registered in one of the free hosting service i have a problem with extracting files , in panel of host i haven’t facility for extract files so i just write a script in php to do this , but i got this error : permission denied ! so in your idea can i do anything (like changing permission) or
permission denied for composer in /usr/local/bin/
I followed the documentation on https://getcomposer.org/doc/00-intro.md#globally to install composer globally on arch linux. When I do composer self-update, I get this message: [ErrorException] …
Cake php Missing helper, working on local but not on remote
Faced this issue and none of the solutions mentioned online actually helped: Using Cake php all my project was working perfectly fine on a local windows machine but not working on a linux server and I was presented with this error: Eventually I found out that I wasn’t missing any helpers but the issue was in the ctp file and
Where to store cookies safely on Linux
I’m running curl from PHP and I want to use cookies. Curl, in PHP, accept the option COOKIEJAR that specifies the location where to save the cookie. I wanted to set it to curl_setopt_array( …
Unable to start php-fpm – “cannot get uid for user ‘apache'”
On a fresh AWS Linux HVM box, I ran the commands: I then tried to sudo service start php-fpm, but got the error: Where am I going wrong and where is the apache user coming from? Answer The apache user comes from php-fpm.conf file. It does not matter that you run it as root, the service will start as the
Why doesn’t PHP include work on my Raspberry Pi?
So I’m very new to Linux and I just bought a Raspberry Pi to serve as my webserver and I noticed the following lines, with the location var/www/mysite/index.php, doesn’t work properly: echo “Hello1”; …
Different hash value created on windows,linux and Mac for same image
i am creating Hash values with following code, now what happens is that when i test the hash value on Windows local Xampp server i get hash value which is different for same code that runs on Linux. Now i dont know why is this happening. For the same code that i just pasted above. EDIT: Opening question again. The
Convert RBG to CMYK with use of ICC profile in PHP
I am currently building an online APP which allows users to pick a color for text from a usual javascript color picker. I want to convert the returned value to CMYK and I know there is not one simple run-of-the-mill method to achieve this, given there are ICC profiles and all that. I still want to achieve a relatively useful
How do I install / enable the PHP phar extension?
I am trying to install Composer on my KnownHost VPS. When I run this command: I get this error message: How do I install the phar extension? I am running PHP 5.4.22 on my VPS. Answer In the end I solved this by getting my host to rebuild PHP with PDO support.