plesk

Writing a file in PHP with a cron

I am trying to write a file to a sub folder of the directory my cron script is in using file_ put_ contents. However, I keep getting a warning "failed to open stream: No such file or directory." I have this directory structure: httpdocs/scripts/fileDirectory The cron script lives in the scripts folder. I call it with the cron comm...

Plesk deleting IIS log files?

So I got this Windows 2003 dedicated virtual server from GoDaddy for a client's sites. I'm troubleshooting a problem that requires looking at IIS log files going back two weeks. Unfortunately, when I looked into c:\windows\system32\logfiles\W3SVC[site #], I only found log files for the past five days. When I checked the following day,...

Why can't solr 1.3.0 install using CentOS, plesk 9.2.1 and tomcat 5.5?

Ok I just setup a dedicated server for my client through his hosting provider. They have plesk installed on there (version 9.2.1) and one of the caveats of this dedicated server is that if i do anything OUTSIDE of the control panel (i.e. use SSH) for any task they do not guarantee support for that software component. That's fine because ...

How to log/pinpoint which PHP script uses a lot of memory? Optimization Question

Hello, I wrote a small app that turns out to be using a lot of memory when used by a few users simultaniously. This is leading to some Fatal PHP errors and some mySQL (errcode 12) errors. My Plesk QoS page shows frequent 'kmemsize' black zone errors. My question is: What's the best method to monitor PHP script runs to pin-point which ...

upgrade PHP 5 on Plesk 9.2.1

Hi. I have Parallels Plesk 9.2.1, Debian 4 and 5.2.0-8+etch13 Is it safe to upgrade PHP5 to the latest version and how do I do it - I mean is there something special I have to be aware of? ...

Where is phpmyadmin located in plesk?

I have plesk 8.3.0, with phpmyadmin 2.8.2.4 I tried to look up where the phpmyadmin is located. I couldn't find it in srv/ and i did a find command in the server and not quite sure where it is actually located. What I want to do is to set up a phpmyadmin under /httpdocs so that I dont have to login to plesk and click many times until...

PHP Error output - Plesk 9.2 with IIS7 and FastCGI

Hi All, Where can I view PHP errors that are generated by a Plesk 9.2 website? I currently get a generic 500 error when I create a test PHP error: 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed. I have, unsuccessfully, tried to activate error reporting in the Plesk g...

Hosting WCF Service Application with Plesk Panel 9.2

Is there a way to host wcf service application with Plesk Panel 9.2 in shared hosting under Windows 2008. ...

Is there a free web file manager like Plesk or cPanel in ASP.Net

I'm looking for a free, open-sourced web application written in C#/VB.Net on top of ASP.Net, which functions like Plesk or cPanel when it comes to (remote) file management. Something that simulates a regular FTP client, but actually displays web pages over HTTP, with the following functions: Create Folder Rename File/Folder Delete File...

How do I setup a reverse DNS entry in Plesk 9.2.2 frontent?

I need to get a reverse DNS entry into my zones file for one of my domains hosted under Plesk 9.2.2. Does anybody have ANY idea how this done? If all else fails I will have to update the zones file myself, but I am not sure how that will affect the front end working. ...

Automatic Database reads/write every second

I am making an auction website, which has an auto-bid system. This system lets people make biddings without having to be there. My question is how to implement such a system. I have made the php files and everything is ready, I've made a html page which refreshes every second. It works, but I'm wondering if there's a better solution. T...

Windows with Plesk Panel installs ActiveState Python 2.5.0 - any thoughts?

I expect to run Pylons on a Windows Server 2003 and IIS 6 on a Virtual Private Server (VPS). Most work with the VPS is done through the Plesk 8.6 panel. The Plesk panel has a lot of maintenance advantages for us. However, this Plesk configuration installs ActiveState Python 2.5.0. The Parallels Plesk documents for 8.6 and version 9 insis...

Allow domain user in Plesk to run SVN Update

On a LAMP/Plesk VPS, I would like to give one domain administrator the ability to SSH in to their accoount and run svn update. It seems I have to give them the root password to do this, but this is not acceptable to me. If I try with domain account, I get permission errors involving .svn/tmp/ files, which seem to have root permission...

Crontab in Plesk

Hi, I'm trying to run a test script using crontab within Plesk. The php file simply emails me a message mail('[email protected]','Cron Test','Test'); My path to php is /user/bin/php I have entered * in every field, to run the script every minute with the following command: /usr/bin/php -q /usr/httpdocs/crontest.php However, the sc...

How do I debug a 500 Internal Server Error on IIS 6.0 managed by Plesk (running ASP classic)?

I have read pretty much EVERY blog post, article and help document published regarding this problem and they have not helped. The most common suggestions are: Internet Explorer -> Tools Menu -> Internet Options -> Advanced -> Show Friendly Error Messages (make sure this is NOT ticked) IIS -> Home Directory tab -> Configuration... -> De...

Need to increase PHP memory_limit for specific directory NOT entire server

I'm running wordpress 2.8.6 as fcgi with safe_mode=on, on plesk9/centOS64. wordpress was installed by installatron. php.ini is being read from /etc/etc/php.ini I need to increase php's memory_limit, because I get many mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 40961 bytes) in /...

Multiple Sub Domains - Same root dir

Hi All, I have a shared server I access via Plesk and manage for a client. I needed to set up sub-domains but I was unable to use wild-card sub-domains so what I did was to create sub-domains as sub-folders. All sub-domains use the same app (with small changes per sub-domain, such as logo, title etc). At the moment I have 42 sub-doma...

Plesk 9.2 email redirect stopped working after update from 9.0

Hi, Im really having a problem with this one. My server is a linux CentOS based running Plesk 9.2 After the update my email forwarding stopped working! Plesk uses qmail to manage emails. Basically whatever I do in the webpased Plesk panel just does not work with email forwarding. Does anyone know what can be the problem and how can I fi...

PLESK direct www.domain.com to another server with a unique IP

Hello. I got a customer where I host mail and www address on my server with PLESK 9.2 I want to direct the www address to another IP address like this: Original: www.domain.com -> IP: 1.2.3.4 mail.domain.com -> IP: 1.2.3.4 webmail.domain.com -> IP: 1.2.3.4 New: www.domain.com -> IP: 22.22.22.22 mail.domain.com -> IP: 1.2.3.4 webmail....

PHP on Plesk - Can't see absolute directories

I have PHP installed on a web server administered by Plesk. I am having some PHP include_path problems which I have narrowed down to absolute paths apparently not working. So, if I try to do a directory listing, the following works: echo "<h3>Directory listing of .</h3>"; foreach (new DirectoryIterator('.') as $fileInfo) { if($file...