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


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

Upgrading Php4 To Php5

May 4, 2008

I have a client who is currently running their own linux machine and has php4 installed (mad I know ) Anyways, I have been asked to make some scripts for them, however I am wanting to use php5 rather than php4 as that is what I am accustomed to not to mention it's still got support for it. Does anyone know of any good online resources on how to upgrade to php5? or better still, how to install php5 and run both 4 and 5 on the same server (using Apache)

View 5 Replies View Related

Upgrading To Apache2/php5

Nov 5, 2007

I would like upgrading to apache2.X and PHP5.x I have some question about that, can I find details how can I make upgrade without any problem, in cpanel (aptche upgrade ) what modules can I check it befor upgrading I don't know what need to check ?? is my sites working well without problem after upgrading?

View 8 Replies View Related

Conflicts Upgrading From Php4 To Php5

Apr 8, 2009

My server currently has php 4.4.7 installed. I was wondering what potential issues (if any) there might be upgrading to 5.2.9?

Is there anything that might break code written for php4? (other than predefined functions with identical names)

View 7 Replies View Related

Plesk 12.x / Linux :: 5.3.3 Cgi And Fast-cgi Broke Down After Adding PHP 5.5.13

Jul 16, 2014

According to de Plesk Administrator Guide and according to the kb article: [URL] ...., Plesk Panel is suitable to enable multiple php versions After I performed the steps mentioned in the kb article, all seemed fine until somehow php-cgi and php-fcgi broke down after

# service httpd restart

After this event, all websites hosted on this particular the server only work running php as an apache module.

I am running Pleks Panel 12.0.18 #7 on top of CenOs 6.5 on this particular server, which means php version 5.3.3 is installed by default. PHP 5.3.3 also is was the php version for the "custom: false" php handlers (id's: cgi, fastcgi, module). Somehow all php handlers look like this:


# /usr/local/psa/bin/php_handler --list
id: display name: full version: version: type: cgi-bin: php-cli: php.ini: custom:
cgi 5.5.13 5.5.13 5.5 cgi /usr/bin/php-cgi /etc/php.ini false
fastcgi 5.5.13 5.5.13 5.5 fastcgi /usr/bin/php-cgi /etc/php.ini false


View 7 Replies View Related

Apache 1.3 And PHP4 With Apache 2.2 And PHP5

Jun 1, 2008

I have apache 1.3 and PHP 4.4 installed on my CentOS 4.4

Can I install apache 2.2 and PHP 5.x on the same server? I want to test my scripts for compatibility and also to check the performance.

I dont want to break my current setup because it's a production server.

View 5 Replies View Related

Upgrading Apache ..

Jan 12, 2008

I currently have a basic level VPS and was wondering if it is wise to upgrade apache from 1.3 to 2.2 and php to 5?

I am not quite sure why do I want to upgrade when everything is already running smoothly but it's just if something better exist then why not take advantage of that?

Anyone who can advise if this is going to a be a wise move? I have quite a few sites running on php so might have issues with newer version.

View 4 Replies View Related

Tweaking Assistance Fbsd 6.2 + Apache 2.2.4/php5.2.0

Jan 29, 2007

i can't seem to figure out what is causing this server to run out of cpu... something is running away, it has to be, load is shooting over a couple hundred.. i woke up with it dead.. but forgot to look at top to see if all 3 gigs of swap (i added some last night) was full..

View 8 Replies View Related

Apache Restart Fails After Upgrade To Php5

Aug 4, 2007

I upgraded to php 5.2.3 and it broke my apache somehow.

Here is the error i get in WHM when tring to restart.

Waiting for httpd to restart.... . . . . . . . . . . finished.

httpd statusroot 14613 1.0 2.1 23736 22060 ? S 02:55 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd
root 14626 1.2 1.0 20896 10408 ? Ss 02:55 0:00 /usr/local/apache/bin/httpd -DSSL

httpd: [ != HTTP/1..] httpd has failed, please contact the sysadmin
Im running CentOS with apache 1.3 and trying to run Php5 with whm 11.2.0 and cpanel 11.6.0.

Ive tried everything from loading the least amount of modules to trying to go back to php 4.3 but nothing seems to work and i get the same error no matter which way i go.
My zend is the latest required for php5 too.

Here is a tail from my apache error log.

[Sat Aug 4 02:55:13 2007] [notice] FastCGI: process manager initialized (pid 14627)
[Sat Aug 4 02:55:13 2007] [notice] Apache/1.3.37 (Unix) PHP/5.2.3 mod_gzip/ mod_fastcgi/2.4.2 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 F$
[Sat Aug 4 02:55:13 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Sat Aug 4 02:55:13 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sat Aug 4 02:55:28 2007] [notice] child pid 14633 exit signal Segmentation fault (11)
[Sat Aug 4 02:56:14 2007] [notice] child pid 14634 exit signal Segmentation fault (11)

View 9 Replies View Related

Php4 And Php5 On Single Instance Of Apache

Dec 17, 2007

I already have PHP 4 installed on my server and now i want to install php5 on same apache instance but different port.I want to configure the system so that on one port php4 runa dn on second port PHP5 run.

View 1 Replies View Related

Apache :: Upgrading 2.2.22 And Installing PHP

May 2, 2014

I have an Apache 2.2.22 from Apache.org and want to update it to the latest version and also install PHP latest version possible.

Its running on a Win 7 64bit machine....

View 2 Replies View Related

Apache :: No Localhost On 2.4.9 After Upgrading From 2.4.6

May 20, 2014

I have Apache 2.4.6 running without problem on Windows 7 Ultimate.

I upgraded to Apache 2.4.9 by:

Stopping Apache;
Renaming the 2.4.6 directory to "old";
Extracting the files from the zip to the Apache directory; and
Copying the old httpd.conf to the Apache directory.
After rebooting I found that I could not access localhost (or

I then reverted to Apache 2.4.6. Localhost is now working.

View 2 Replies View Related

Centos: Upgrading To Latest Php, Apache, Etc.

Dec 5, 2008

I'm using centos 5.2. To my surprise this only comes with php 5.1.6 and apache 2.0

I want the latest versions, php 5.2.7, apache 2.2.10, mysql 5.1 -- Are there any repositories for this available? (Or however I can upgrade with yum)

View 9 Replies View Related

Apache :: After Upgrading To 2.4 Does Not Get PHP Output In Browser

Dec 20, 2013

I have upgraded to Apache 2.4 and Php 5.5.7. I am not able to get any php script to show output in the browser. Html and text files work fine.

phpinfo works fine and shows output.

Phpmyadmin gives "No data received" in chrome and "The connection was reset" in Firefox.

In command line php -f filename gives me output.

Last lines of my Apache error log:

[mpm_winnt:notice] [pid 2028:tid 376] AH00456: Apache Lounge VC11 Server built: Nov 21 2013 20:13:01
[Fri Dec 20 2013] [core:notice] [pid 2028:tid 376] AH00094: Command line: 'C:Program FilesApache Software FoundationApache24binhttpd.exe -d C:/Program Files/Apache Software Foundation/Apache24'
[Fri Dec 20 2013] [mpm_winnt:notice] [pid 2028:tid 376] AH00418: Parent: Created child process 2628
[Fri Dec 20 2013] [mpm_winnt:notice] [pid 2628:tid 276] AH00354: Child: Starting 64 worker threads.

In Php log it is giving no error.

httpd -t shows: Syntax ok

php -v shows:

PHP 5.5.7 (cli) (built: Dec 11 2013 13:48:27)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies

View 2 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:


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

Upgrading Php On Linux Plesk

Feb 25, 2008

Anyone know of a good tutorial for upgrading php on a linux plesk 8.3.0?

View 4 Replies View Related

Upgrading Without Affecting Plesk

Mar 25, 2007

I just obtained a root server which is running plesk 8.0.1. At present the server runs:

php 5.0
mysql 4
apache 2

I want to upgrade to at least php 5.2, and MySQL 5. However I'm affraid this may break Plesk? I heard MySQL 5 is only supported by Pleask 8.1 or above?

If I go ahead with this decision, is there anything I should be aware of? Can anyone advise of any procedure I should follow to make things simple and minimise conflicts such as Plesk integration etc.

Also a slightly different note I have come accross atomicrocketturtle. Can anyone explain what this is about?

View 1 Replies View Related

Plesk 11.x / Linux :: Upgrading PHP From 5.4.4 To 5.4.9

Sep 1, 2014

My Plesk installation (on Debian Wheezy) has PHP5.4.4 and I need to upgrade it to 5.4.9 or above.

How can I do this (It's a self managed Plesk server)?

View 3 Replies View Related

Upgrading Php & MySQL On A Plesk Win2K3 Server

Jul 14, 2008

I have a Win2003 dedicated server (with The Planet) that i use to host a large IPB forum site.

I got it about 3yrs ago and as I was a complete newbie to server management I got Plesk CP installed so that it would take care of all the SQL, PHP and mail installation and setup in one easy go.

I've since found Plesk for Windows to be a complete waste of space.. but it's still on there and has never been upgraded. I don't actually use it as a CP.

Similarly PHP and mySQL have never been upgraded.

Now I've got to the stage where, to upgrade the IPB forum software, I need to upgrade PHP and mySQL.. but looking at the installation, they seem to be embedded in the Plesk installation. They're inside the SWSoft/Plesk/ folders and none of the ini or config files appear to be in the places you'd expect them to be.

My question -

Would these upgrades be simple?? A case of just running an update package?? Or is the fact that PHP/mySQL are embedded in Plesk mean that it'll all mess up?

I'm worried that a failed upgrade will knacker the forum, which is why I've delayed for so long.

View 2 Replies View Related

Plesk 11.x / Linux :: Upgrading Components Is No More Permitted

Oct 12, 2014

OS: CentOS 6.4 (Final)

After upgrading components as suggested by "Tools&Settings->Plesk->Updates and Upgrades" item, components remained the previous version (PHP 5.3.3 and MySQL 5.1.73) as stated by phpinfo() result and by "Tools&Settings->Server Management->Server Components" list, though "Update Components" is no more permitted as if there is nothing more to update.

I need both PHP and MySQL servers updated in order to run Joomla 3.3.6.

View 5 Replies View Related

Plesk 11.x / Linux :: After Upgrading To 11.5 Restore By CLI Is Not Working

Aug 3, 2013

Yesterday we upgraded V.11 to V.11.5.30. And now we are not able to restore our backups anymore from our main server on our failover server by CLI (we have automated this with cronjobs and need the CLI backup/restore). We have a failover sulotion with two servers and restore the backups of our main server on our failover server!

If we try to create the map file on our failover server, we get the error:

The dump specification '/home/backups/plesk_partnerserver/dumps/backup_info_1308030132.xml' should be inside of dump directory '/home/backups/plesk/dumps'.
/home/backups/plesk_partnerserver/dumps is the path on our failoverserver where we store the backups of our main server and /home/backups/plesk/dumps ist the regular dump path of the failover server.

And if we try to restore the file without creating a map file on our failover server with /usr/local/psa/bin/pleskrestore --restore backup_info_1308030132.xml -level server: Unable to resolve all conflicts

What happend? Now after upgrading to 11.5 our backup- and failover-solutions are in big trouble!

Our OS is Debian Squeeze
PP is 11.5.30

View 6 Replies View Related

Plesk 12.x / Linux :: 502 Bad Gateway Errors After Upgrading To 12.0.18

Aug 13, 2014

Yesterday I've upgraded the server to Plesk 12.0.18. After the upgrade, a WHMCS install has stopped working.

The only error logs where I found errors is the proxy_error_log. It contains this kind of lines (for the 502 error):

2014/08/13 08:13:45 [error] 2918#0: *400 upstream prematurely closed connection while reading response header from upstream, client: XX.XX.XX.XX, server: XXXXXXX.COM, request: "GET /knowledgebase.php HTTP/1.1", upstream: "http://XX.XX.XX.XX:7080/knowledgebase.php", host: "xxxxxxxxx.com"

View 9 Replies View Related

Plesk 12.x / Linux :: Upgrading Form Mysql 5.1.73 To 5.7

Aug 28, 2014

I need to upgrade mysql from 5.1.73 to 5.7 but I have applications like lms, cms, and websites that runs with that version with no problems, my question is: Some of you had problems upgrading mysql, because i kwon plesk runs over mysql y i don't want to mess up with plesk.

View 1 Replies View Related

Broke Something When Playing Around With Suphp

May 17, 2009

suphp and spent the better part of the day configuring a new server and then upgrading it to suphp in preparation for a migration next week.

However, I broke the links to var/www/html in the process and I don't know at what point it broke to know how to fix it.

I have a couple of links that usually work to this directory:

Both of which now come up to a 404 error from my main site: powermonster.net.

View 12 Replies View Related

Logwatch Broke Today

Jul 28, 2008

I logged into my email to check for my nightly logwatch report (at 12am).

So I log into ssh and manually run it, get greeted with this:

You have old files in your logwatch tmpdir (/var/cache/logwatch):
The directories listed above were most likely created by a
logwatch run that failed to complete successfully. If so, you
may delete these directories.

I last ran logwatch around 10:30pm, it worked fine.

I try to run logwatch again, same error.. except now there's another temp file showing beneath the first.

I go ahead and delete both of them, run logwatch again...it worked. I also got the other reports from when I tried running logwatch manually and was stopped with this error.

I've never had this happen before, so I'm curious as to what caused it? Logwatch is in cron.daily and has never missed a single report.

Just typical data corruption (as can happen with any computer file) or could something have interfered with its processing at 12?

View 2 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

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] .....

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 :

./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 View Related

Plesk 12.x / Linux :: No Output For Command Mailq After Upgrading To 12.0.18

Apr 2, 2015

We have a plesk server running on a Ubuntu 14.04.2 LTS machine. We check the state of the mailqueue with nagios, executing the "mailq" command. After the AutoInstaller upgraded our installation from 12.0.18 update 38 to 39, we noticed, that the nagios check failed.

After investigating a little bit, it seems that we found the problem:

When I enter "mailq" in the shell, the command is executed and gives me an proper output. But when I try to execute the command with its full path "/usr/bin/mailq" nothing happens, and I have to cancel with [ctrl]+[c]. The which-command delivers exactly the same path as written above...

View 4 Replies View Related

Plesk 12.x / Linux :: Upgrading Phpbb Breaks Installation

Jan 12, 2015

I am running phpbb 3.0.12 installed from Plesk. In Plesk it is showing me that there is an upgrade available to version 3.1.2-15 however when I Re-Check the version in phpbb it says that I already have the latest version 3.0.12. That's a little weird.

The problem is when I upgrade to 3.1.2-15 in Plesk, it will mess with the whole installation. The forum page will redirect in circles to /install/index.php which doesn't even exist and I can't do anything except revert to before the upgrade.

So my questions are: Why does Plesk show a version 3.1.2-15 but phpbb says the latest one is 3.0.12? How does the upgrade process from Plesk work? I expect it to automatically do everything, or why else would I want to let Plesk upgrade?

View 3 Replies View Related

I Broke Permissions Everywhere And The System Won't Boot

Jun 22, 2008

I backed a system up with rsync, and just used rsync to copy it into a new machine... I just backed up / to my home directory on another machine, and then 'extracted' it to / on the new machine.

But now everything (and I mean everything) is owned by "matt", my user on the intermediate machine. I rebooted the system to get it to boot the new stuff without realizing this, and now it's not booting... Since /etc/passwd, /bin/bash, etc. aren't owned by root.

Any tips on where to go from here? As I said, it's a brand-new machine (VM, actually: even better!), so re-imaging is a solution, but I'd still have to copy the data back over. Reinstalling is a pain, though, so if there's a simple fix, I'd prefer that. I've got pygrub installed as a boot manager for the VM, but I can't for the life of me figure out how to get into single-user mode. (Nor am I sure that a "cd /; chown -R root" will have the desired effect?)

View 2 Replies View Related

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