cpanel

How can I use both PHP 4 and 5 with the same apache install?

I am trying to make this feature available, maybe in an apache .htaccess file. ...

WHM: Moving an account to a new server

Hi There, I have an account on WHM for a PHP web app that's over 50GB in size on a dedicated server, the company decided to move it to a new server, and I was assigned the task. I would like to know what is the best way to do it, built-in WHM copy account function, or creating full backup and restore it to the new server? Thanks in ad...

Using Alias in Apache ONLY if local directory not present?

Hey all, We're running a reseller web host, and aliasing a particular directory for ALL the sites within. This is all happening through WHM/Cpanel, which could possibly complicate my question. We want all hosts to run their "/concrete" directory through a shared location on the server. This is working fine by adding "Alias /concrete/...

How can I host a mod_perl application on a shared RHEL server?

I want to host a mod_perl application on a shared RHEL server where I do not have access to a root account. mod_perl is available on the server as are all Perl modules required (my app runs fine with CGI). Here are two problems I anticipate: Apache restarts would be required whenever I update my code the first time and subsequently on ...

Is there any opensource software like cpanel?

Have to know this thing that it exist or not. ...

PHP APC and Imagick with cpanel

I currently purchased a dedicated server hosted at iWeb and got it administered by them. I recently asked after registration to add php_apc and php_imagick to the available libraries. It seems according to them that it is not possible as it is not supported with cPanel. I would apparently need to do that myself... is there any risks to...

php cpanel

I have a php account with my provider, and I also have cpanel installed for me. I currently have two drupal sites there, let's called the main myMainSite and another one under construction called myNewSite. So when I go to www.myMainSite.com, I go to the main site. When I go to myNewSite.myMainSite.com, i go to the drupal site that is ...

formalizing centralized web hosting in a University setting

Our Foobar University is currently in the planning stages of moving their web hosting services to an enterprise hosting automation panel system like Plesk or cPanel. Is anyone out there in a University environment that has gone down this path and has a roadmap with resource requirements, pitfalls, and issues? Is there another product on ...

Accessing CPanel and Plesk password via custom module.

I am making a custom CPanel and Plesk module that assists in logging into a Web application using the user's login and password for CPanel and Plesk. How would I use the module's API calls to retrieve the password? Thanks. ...

How to set a file in cron job

I need to run a php file every minute so I tried to set a cronjob from the cpanel but it's sending mail with the message "could not open the input file:" My php file is inside public_html/schoolerp/cron.php I did: /usr/local/bin/php -f /public_html/schoolerp/cron.php Am I doing something wrong please tell me if I am setting it right...

Setting up a cron job in cPanel to execute every 12 hrs and 20 mins

How to set a cron job (in cPanel's Standard Cron manager) to run every 12 hours and 20 mins? Say I want it to start at 5 AM. So the next run would be 5:20 PM, 5:40 AM, 6:00 PM, and so on. Any idea? ...

cronjobs, how to use it in cpanel

Hello, I want to execute a script every 30mins, but i want to use it through cron as it is my personal script which emails me updates from various sites depending on configurations. So what should i write in Command to run in cpanel to execute my script with name check.php ...

Accept All Dns Requests in cPanel (or any)

Assuming i have the subdomain(ex. park1.server.com) and i want to point another domains to the park1.server.com without having to manually adding to my WHM. Think of it as domain parking service. Can it be done with WHM, cPanel? Will it affect another domains hosting on the same server in some ways? ...

creating dynamic unique email address pipes in cpanel with php

Im trying to make something similar to twitpic.com's email submission feature. Their address schema is something like [email protected]. When you send an email to that address it processes it and uploads your picture. What im wondering is how they generate and handle those addresses in php. I know how to pipe a single email addr...

Restrict access using SSL certs

Hello, is there a way to restrict access to a website, running Apache via cPanel, using SSL (like CTLs on IIS/Windows)? I.E, the user has to have an ssl certificate installed/issued to be able to access the site. ...

Cannot install Ruby on CentOS

Hey folks, I just cannot install Ruby on my CentOS (which is also hosting a cPanel). sudo yum install ruby ruby-devel ruby-irb ruby-rdoc ruby-ri audit_log_user_command(): Connection refused Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile base: mirror.sov.uk.goscomb.net updates: mirror.sov.uk.goscomb.net ...

Fantastico not automated enough

From a php script, I need to log into cPanel and run Fantastico De Luxe to install WordPress. Anyone know how to do this? Doesn't look like Fantastico comes with an API. ...

Installing PDO_MYSQL PHP extension on CPanel?

I recieved this error while installing Magento on a customer's server, 'PHP Extension "pdo_mysql" must be loaded'. How would one go about installing/enabling this extension through CPanel Accelerated? Server information is as follows: cPanel Version 11.24.5-STABLE cPanel Build 38506 Apache version 2.2.13 (Unix) PHP version 5.2.8 MySQL...

How do you set up a cookieless domain on a WHM/Cpanel server?

What's the easiest way to set up a cookieless domain on a WHM/Cpanel server? And please don't answer "Don't set a cookie on your domain then", I want to ensure that even if something on the server tries to set a cookie, it won't work. If this feature is possible anyways... Thank you. ...

How i can edit php.ini from cpanel when php.ini is readonly.

Hi How i can edit php.ini file from cpanel.I am using putty and vi editor to access php.ini file.It showing message -> 'readonly' option is set (add ! to override) .If php.ini is readonly then how i can change its permissions. Regards Deepak ...