Plesk 12.x / Linux :: Allow PHP5 Json Decode Function In Chrooted Environment

Mar 4, 2015

I'm Running Plesk 12 latest version. I've been partially followed that instructions to add php5 to a chrooted environment with success : [URL] .....

Code:
bash-4.3$ php --version
PHP 5.5.9-1ubuntu4.5 (cli) (built: Oct 29 2014 11:59:10)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies

This is how i did it, as root user :

Code:
./chroot_update.sh --add /usr/lib/php5
mkdir /var/www/vhosts/chroot/usr/share
cp -a /usr/share/zoneinfo /var/www/vhosts/chroot/usr/share
php -i | grep extension_dir
# returns : /usr/lib/php5/20121212/

[Code] .....

View 2 Replies


ADVERTISEMENT

Plesk 12.x / Linux :: Add New Programs To CHROOTED Environment

Sep 24, 2014

I am trying to add new programs to the CHROOTED environment via this post: URL....I downloaded the following file URL...., but it has errors. After adding execute permissions, the linux file will not run (errors posted below). I believe there is invalid formatting in the document. I have tried to correct it myself by removing unnecessary characters, but I am unable to get it working.update the file or attach a new copy to this message?

: command not found line 1:
: command not found line 3:
): No such file or directorywarning: setlocale: LC_ALL: cannot change locale (POSIX
): No such file or directorywarning: setlocale: LC_ALL: cannot change locale (POSIX
: command not found line 6:
./chroot_update.sh: line 14: syntax error near unexpected token `elif'
'/chroot_update.sh: line 14: `elif [ -f /etc/debian_version ]; then

View 1 Replies View Related

Plesk 12.x / Linux :: Chrooted SFTP Not Working

Jun 17, 2015

Since the migration from Plesk 11.5 to Plesk 12.0 the "chrooted" SFTP accounts do not work anymore. Along with the Plesk migration we have changed the operating system too. We've migrated from CentOS 6 (x86_64) to CentOS 7 (x86_64).

When trying to connect using SFTP on the command line I get the following error message: debug1: Exit status 127...When using an SFTP client such as WinSCP I get logged out immediately without any message.

The OpenSSH configuration is saying:
<...>
Subsystem sftp /usr/libexec/openssh/sftp-server
<...>

The mentioned binary from above does exist:
ls -l /usr/libexec/openssh/sftp-server
-rwxr-xr-x 1 root root 83984 2015-05-12 21:41:56 /usr/libexec/openssh/sftp-server

I have attached the debug output of the SFTP command (plesk_sftp_issue.txt).When I change the option "Access to the server over SSH" to "/bin/bash" the SFTP access works again. But when "chrooted" it stops working.

Plesk 12 under CentOS 7?

View 1 Replies View Related

IIS7 And PHP5 : Call To Undefined Function Mysql_connect()

Feb 22, 2007

I've been struggling with IIS continuously.

I simply cannot get things to work on it like it's supposed to.

Right now...PHP is running fine...but MySQL won't work.

I've been searching Google for the past 12hours trying to fix this, but it won't budge.

In my "php.ini" file, I enabled the "php_mysql.dll" extension.

I've also tried several other things, but nothing works.

View 3 Replies View Related

Plesk 12.x / Linux :: Cache Lost In Fcgi-php-environment

Oct 11, 2014

Tested with my own comilations as well as the Panda-packages:
- zend opcache configured in php 5.5 and 5.6
- php version assigned to test domains

php-info:
- cache active and running

real-life:
- site loads "normally" on initial load
- cache kicks in on reload - perfect
- 15 seconds later: cache is empty

bottom line: when then php-cgi process ends, the cache is killed too.

Why does it happened? How do I keep the cache persistent? Is it due to cgi/fcgi and fpm would solve it?

View 7 Replies View Related

Plesk 11.x / Linux :: Daily Reports By Email In Client Environment

Dec 11, 2014

In plesk9 my customers had the option to send daily usage reports by e-mail. Only certain clients like this option. Using plesk11 I cannot find this option if I log in as a client. Has this feature been removed? And if so, can the administrator enable this option only for 1 or 2 clients?

View 2 Replies View Related

Plesk 12.x / Linux :: After Upgrade From 11.5 - Function Not Implemented

Jun 19, 2014

I am getting the "Function not implemented" error from /var/log/plesk/panel.log I have tried reading this article but it seems to only apply to Ubuntu and I am running CentOS 6 x64

How can I get past this error?

View 1 Replies View Related

Plesk 12.x / Linux :: From Header In Php Mail Function Being Overwritten

Feb 23, 2015

I'm trying to send email from a domain using code like this:

$email = "me@domain.com";
$from = "From: $email
";
mail($receiver, $subject, $message, $from);

But i see in the mail logs that from address is being overwritten using the default user for the domain. Is there anyway to configure plesk or postfix to respect those headers?

View 5 Replies View Related

Plesk 11.x / Linux :: Php5.4 On Subdomain Won't Work?

Nov 18, 2014

I trying to setup php5.4 on a Plesk 11.0.9 server using this guide:

[URL]

It works without problems but I can't get it to work on a subdomain.

As far as I know, the only difference should be the path in the vhost.conf. I changed that to match the path to the subdomain, restarted apache but it still won't start php5.4

View 1 Replies View Related

Plesk 11.x / Linux :: PHP Fatal Error - Call To Undefined Function

Jun 18, 2014

As per title, since few I have this when some php funcion is calling zlib_encode :

PHP Fatal error: Call to undefined function zlib_encode()

I saw that is was a know bug when there are some rewrite rules on .htacccess which is my case [URL] ....

I checked for json as well, and seem to be activated :

json
json support => enabled
json version => 1.2.1

View 1 Replies View Related

Plesk 11.x / Linux :: Php Mail Function Don't Work And No Configuration Menu?

Mar 9, 2014

I'm experiencing some issue with the php function mail(). No mails can get out and no errors from php. Is there any menu where we can parameter this php function ? Do I need to check up some services ?

CentOS 6.5 with Plesk 11.5
Fresh install

View 15 Replies View Related

Plesk 12.x / Linux :: Call To Member Function GetDomainId On Non-object

Aug 21, 2014

'ERROR: Call to a member function getDomainId() on a non-object (Sites.php:104)'

View 6 Replies View Related

Plesk 12.x / Linux :: Sendmail (linked Function) Doesn't Work

Jul 2, 2014

since my Update up to plesk 12

at the moment none of my websites can send E-Mails via sendmail :-(

View 4 Replies View Related

Plesk 12.x / Linux :: Outgoing Mail Control For Subdomains Does Not Function

Apr 7, 2015

Plesk 12.0.18 Update #38
Cloudlinux 6.6

Outgoing mail control functions properly for domains, but it does not count or limit subdomains.

For example, if you have a subdomain like:
sub.domain.tld

And an email account on that subdomain, like:
info@sub.domain.tld

Then outgoing mail limits are not applied to that subscription/domain/mail account. You are able to send more emails than the limit.

Also, if you go to:
-> Tools and Settings
-> Outgoing mail control

And try to see statistics for that subscription/domain/mail account, it shows that there are not sent emails, even if you have sent emails. Of course I checked it many hours after sending, or even the next days.

View 2 Replies View Related

Plesk 12.x / Linux :: Warning - Incorrect Operation Of Parse URL PHP Function

Jul 17, 2014

I have some problem with my parse_url after last update of Plesk Panel.I ran the test script on my server and on my local computer, and received the following result: Local computer:

HTML:
Array ( [path] => product_features.clear_list [query] => redirect_url=http://www.siteExample.com )
My server:

HTML:
Array ( [host] => product_features.clear_list?redirect_url=http [path] => //www.siteExample.com )
As you can see, the structure of the output data is not identical as it should be.

Test script that I used:

Code:
<?php
$test = 'product_features.clear_list?redirect_url=http://www.siteExample.com';
$test1 = parse_url($test);
print_r($test1);
?>

View 1 Replies View Related

Plesk 11.x / Linux :: Cannot Login After Upgrade - Exception Function Not Implemented

May 21, 2014

I have just upgraded linux VPS running ubuntu 10. I installed all of the latest plesk updates first and then went through the upgrade. There were no pre-upgrade warnings and message at the end said it was successful but i'm now getting the following error instead of the login page:

ERROR: Exception
Function not implemented

View 19 Replies View Related

Media Streaming, Encoding And Decode The Video File Like Youtube

Mar 30, 2009

I'm planning to buy a share hosting support media streaming, encoding and decode the video file like youtube, likeclub.com. or others

View 3 Replies View Related

Apache :: Rewrite JSON / XML Response Possible?

Oct 21, 2014

I have setup a reverse proxy that allows users to query an internal server. That internal server returns a JSON or XML response.

In that response some URLS need to be rewritten as they cannot be resolved externally. Is it possible to rewrite JSON/XML response bodies?

I experimented with "ProxyHTMLURLMap 1.1.1.1 2.2.2.2" but that did not work (seems to ignore the JSON response entirely)...

View 1 Replies View Related

Virtualized Windows Environment On Linux Server

May 7, 2008

i have a high end linux server, low load. i'm looking for ideas as to how i can get a windows 2003 machine hosted up onto it (i have a license already) on one of the machine's dedicated IPs, and set it up to host ASP based websites with MS access (have the license already too). Any tutorials or suggestions how this can be set up?

View 3 Replies View Related

Apache :: How To Access Linux Environment Variables

Mar 7, 2014

I am developing a php web application using Apache on CentOS6. I have set a custom environment variable in CentOS on command line by using: export test_var=3

View 1 Replies View Related

Using Crypt Function In C++ On Linux

Apr 23, 2008

Can anyone tell me in order to use the crypt function (amd md5sum) in a c++ program (g++ on CentOS assuming the cryptography libary is installed) what do I have to

#include

?

View 1 Replies View Related

Plesk Automation :: Migrating From IIS Environment

May 28, 2014

The migration tool allows only migration from other Parallels environments. What is the best way to migrate from an IIS environment. I'm assuming the API can be used to simply create webspace subscriptions and set the resource limits, right?

View 2 Replies View Related

Applications In A Chrooted Shell

May 5, 2008

On one of my servers, i created a chrooted shell environment in order to give out shell accounts, however i am wondering which linux commands i need in order for users to compile,install and run software like "eggdrop". I already added the most basic stuff, like "make, gcc, cc" but that does not seem to be enough. When i execute "./configure", it ends up in an endless loop which can only be ended by a root account.

View 9 Replies View Related

Upgrading To Php5 With Plesk

May 5, 2008

i have just got a virtuzzo vps it have 512 mb ram, its comes with, centos 4.4, plesk 8.2

php 4.4, apache 2.05, so i want to upgrade, to, php5, apache 2.57

View 2 Replies View Related

Plesk 12.x / Windows :: PHP Mail Function Not Work

Aug 13, 2014

PHP Mail Function not work and i cant fix it :/

i dont know whats the problem, but php.ini is right.

i also test email-function here: [URL]

View 2 Replies View Related

Giving Chrooted User Access To Mysqldump

Aug 3, 2009

I have a chrooted ftp user that I use on my server. I would like to run a cron job using this user that backs up my mySQL databases. When I execute the job, it complains about date and mysqldump not existing. I was able to fix the date problem simply by copying it from the actual /bin to the chrooted /bin. However, I can't simply copy mysqldump because it depends on several libraries. Anybody know how I can give this chrooted user access to commands that aren't in his chroot?

View 6 Replies View Related

Just Broke My Box..upgrading PHP5/Apache On Plesk

Dec 1, 2007

I just ran a simple yum update php on the server, because I need to be running 5.2 instead of 5.1.6

The update went smoothly, so I restarted httpd, and all hell broke loose. Apache can't start because of a whole lot of missing modules. So I commented out every single LoadModule line to see if that would get it to start, and it started complaining about the configuration file of some other software being incorrect (because that configuration file pointed to some module that no longer exists)

At one point I was able to get apache to start, I believe by copying my old configuration file to httpd.conf and then commenting out some lines that it was complaining about. Apache started, but no pages were loading.

So right now, basically, I've got no web service running at all on the server. I really didn't expect all of these problems for a simple PHP update, but obviously I was mistaken.

Is it worth trying to fix this myself (intermediate linux user here) or would it just be easier to hire someone to come in and do it for me?

View 4 Replies View Related

How To Install Mod_security, Suhosin, Mod_Evasive On Server Plesk (apache2, Php5)

Jul 26, 2007

how to install mod_security, suhosin, Mod_Evasive on server plesk (apache2, php5)?
win I loacate apxs I have empty results

View 4 Replies View Related

Setting Up An Environment On My VPS

Nov 3, 2007

I initially wanted to set up a VPS because I want to build a web application. The first phase is to set up a development environment, testing environment and production server. For the development environment, I want to set up an SVN server for my code (one reason why I chose a vps instead of a shared server) as well as a bug tracking system. Each environment would be under subdomains, except the production server (development.domain.com, trac.domain.com, testing.domain.com).

My question is what is the best way to utilize my VPS for this type of environment? Should I create a client for each environment? Stick everything under my admin account? I'm sure this is a simple question, but I just want to make my system as organized as possible.

At the minimum, could someone point me in the direction of any resources?

View 5 Replies View Related

Setting Up VPS Environment

Oct 5, 2009

I bought brand new server (2x i7 (8cores), 12GB DDR3, 4x1TB HDD etc...)

Well basically i want to divide my server into few VPS, so how can i start, which virtualization to use etc...

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved