Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

khaledmbay's avatar

PHP 7 not working on custom VPS?

I just provision on a clean google compute engine and i'm 100% sure I didnt not check the PHP 5.6 checkbox, but i still end up with: PHP Version 5.6.16-2+deb.sury.org~trusty+1

Just as a test I also provision on Linode and end up with: PHP Version 7.0.0-4+deb.sury.org~trusty

Output when restarting nginx on Linode: php5-fpm: unrecognized service

  • Restarting PHP 7.0 FastCGI Process Manager php-fpm7.0 ...done. nginx stop/waiting nginx start/running, process 4318

Output when restarting nginx on Custom VPS: php5-fpm stop/waiting php5-fpm start/running, process 2893 php7.0-fpm: unrecognized service nginx stop/waiting nginx start/running, process 2912

0 likes
2 replies
khaledmbay's avatar

Little update I tried Vultr as provider, same result, 5.6.16.

Also tried upgrading to latest kernel before creating server, didnt help.

Can anyone actually confirm that forge comes with php7 on custom vps?

khaledmbay's avatar
khaledmbay
OP
Best Answer
Level 1

Custom VPS now install PHP7, tnx for update silent bob :D

Please or to participate in this conversation.