Error after PHP update

tdcs

New member
Joined
Jun 3, 2013
Messages
2
Hi
I stared to update php in ssh with the following command:
sudo apt-get update
sudo apt-get safe-upgrade
sudo apt-get dist-upgrade
sudo apt-get install update-manager-core
sudo do-release-upgrade


Of course I what I did was wrong, and não I cant restart exim and httpd services

Can someone help me?

Thanks

Miguel Laranjeira
 
Please post the errors you get when restarting apache and exim. Thank you.
 
Now the problem is bigger.
I cant access directadmin but the "Apache is functioning normally"

The problem is that i tried to update php fo ubuntu without directadmin
 
You are on the wrong website. This website is for directadmin only.
 
I think he's on the correct website, and has directadmin but can't reach it because he updated php by apt-get instead of via directadmin.

@tdcs: remove php via apt-get.

Then /usr/local/directadmin/custombuild
./build clean
./build php n

to rebuild your php from Directadmin.
 
Solve with Reinstallation

I think he's on the correct website, and has directadmin but can't reach it because he updated php by apt-get instead of via directadmin.

@tdcs: remove php via apt-get.

Then /usr/local/directadmin/custombuild
./build clean
./build php n

to rebuild your php from Directadmin.

I tried and nothing, probably there were more problems. Thanks any way Richard. :)

What I dont understand is why someone post in a forum, only to say that "You are in the wrong Forum" :(
 
I tried and nothing, probably there were more problems. Thanks any way Richard. :)

What I dont understand is why someone post in a forum, only to say that "You are in the wrong Forum" :(
You're welcome, I'm glad to be of help if possible.:)

I think Chatwizrd misunderstood your question and thought you did not had Directadmin installed. Maybe because it's not usual to update php via apt-get, he got the impression that you did not have DA running. Normally he is a good helper, so I'm sure he did not mean any disrespect.

If there is more that is going wrong, it might be best to rebuild all things build by Directadmin.
Please take care first that you removed any mysql, php and http installed by apt-get.

After that you can try the following to reinstall everything from DA (if you are using custombuild).
Code:
cd /usr/local/directadmin/custombuild
./build clean
./build update
./build all d
This way everything build by DA should be rebuild. Hopefully that fixes things.
 
Back
Top