This is good but could you show us something a good alternative like Laragon or Laravel Herd in Ubuntu? Where we can switch PHP version easily without going to terminal. Thanks!
After successfully installing php8.0 my phpmyadmin is not working it is showing a blank page but when disabled 8.0 php and again enabled my php7.2 it again start working can you please help me out here?
thank you so much for the video my question is I installed Wordpress while I was using 7.14 version but when I switch to 8.0 my website or the Wordpress doesn't load and gives "501 bad gateway ' error so do I need to install another Wordpress for the 8.0 version? or how do I make it work
Sir please help me.. 🙏😓 When I am typing: add-apt-respository ppa:ondrej/php It is showing cannot add ppa: ‘ppa:~ondrej/Ubuntu/php Error: ‘~ondrej’ user or team does not exist
I've just done this for a client's site and it's still showing the outdated PHP version in the WP dashboard. Does this usually take time to propagate or should this be instant?
php --version PHP 8.0.3 (cli) (built: Mar 5 2021 07:53:56) ( NTS ) Strange my Ubuntu 18.04 can update to PHP 8.0.3. In my case what I have to do if my system can update to PHP 8.0.3 ?
Not work for me in 03:26 my output : Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package php7.3 E: Couldn't find any package by glob 'php7.3' E: Couldn't find any package by regex 'php7.3'
Please help, sir, in php cli, the version has changed to php 8. but when I upload the project on the web server. I checked phpinfo(); the php version is still at 7.4. so when I run a php 8-based project but run on a webserver, there are a lot of errors. how do i change to the one on apache2? I've done commands like "sudo a2enmod php8.0" and "sudo a2dismod php7.4" but still in php info it still goes to 7.4 . but for the CLI it has changed to php 8
Congratulations on the video, I had a question, I have updated the php version in ubuntu 16.04, the problem is that since I update it when I try to enter roundcube the screen to login appears, but when I try to enter it shows a blank screen with error 500. Could it be that I am missing something more than install? i have apache server. Well congratulations again for the channel! and sorry for my english.
Error 500 is an internal server error. This could be a number of different problems. Have you already looked at the logs and determined that this is indeed a PHP error?
Great tutorial (what will be a Wordpress site 1 with php 7.3 and Wordpress site 2 with php.x 7.4 : and Wordpress website with php.x 5.4 - setting up and assigned php options ?) Sample; ubuntu has websites and site A need php 5.4x and site B need 7.2x others is fine with 7.4x
Sir please make a video how to add wordpress site to loadbalancer. Sir please make a video on this, I have been looking for such a video for a long time. Please make a video. How to add wordpress site to loadbalancer
Hi everyone I would like to ask for some advice from this community of web developers about the problem that I am facing right now as I am personally an IT person. I hired a web developer to develop an e-commerce website for me. Yesterday I came to know that the PHP version that was used to creat the website was very old, it’s PHP 5.6. A friend of mine who a understand a thing or two about the web development, said that this web developer had you, in an ugly way thoroughly. What he meant is that the version is to old. And it’s practically useless. He said it’s impossible to upgrade it or do anything about it. He said the web developer sold me a useless website. If it’s not a problem for you guys, could you please enlighten me as how bad is my situation here, and if my friend is right. Because, though my friend understanding something about web developing but he is not a professional.
Hi! When I enter the command "app-apt-repository ppa:ondrej/php", I get the following output: Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/lib/python3.7/threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 688, in addkey_func func(**kwargs) File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 386, in add_key return apsk.add_ppa_signing_key() File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 252, in add_ppa_signing_key tmp_keyring, tmp_secret_keyring, signing_key_fingerprint, tmp_keyring_dir): File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 181, in _recv_key "--recv", signing_key_fingerprint, File "/usr/lib/python3.7/subprocess.py", line 323, in call with Popen(*popenargs, **kwargs) as p: File "/usr/lib/python3.7/subprocess.py", line 775, in __init__ restore_signals, start_new_session) File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'gpg': 'gpg' I have done some research, and almost all articles on the internet suggests that I add the US locale, however this is the only locale I ever had. I'm running Debian 10.12, nGinX 1.14.2 and PHP v7.3.31. I am completely lost and I have no clue what to do. Any help would be greatly appreciated.
I keep coming for that video when i have such struggle with PHP versions, thank you.
Thank you for the tutorial. I have to rewind several times to follow. But gets my job done.
Good to hear!
Yay I can hear you loud and clear with no thick accent in a dungeon.
Very good :)
thanks for your info. it helps me to understand how to change php version
Hi Tony. Love your videos. When I access my OpenLitespeed server using SSH, it tells me I can Upgrade Ubuntu To 22.04. Do you recommend doing this?
Greate tutorial ! thanks for helping the community
Happy to help! Thanks :)
Thank you for this video. it surely saved my long time properly
Thank you for saving me ! Great Tutorial
You're welcome!
can i install php 7.4 in Ubuntuk 18.10 now? since the repsitories you used in this video no longer suppport Ubuntu 18.10
This is good but could you show us something a good alternative
like Laragon or Laravel Herd in Ubuntu?
Where we can switch PHP version easily without going to terminal.
Thanks!
thanks for sharing amazing video, i am looking this type of video.
hello what different :
a2enmod proxy_fcgi setenvif && a2enconf php8.1-fpm
AND
a2enmod actions fcgid alias proxy_fcgi
is must run ?
Will one need to restart/reload the server for changes to take effect? just asking
thanks tony. your tutorial helped me.
This is wonderful stuff 👌Thanks!
After successfully installing php8.0 my phpmyadmin is not working it is showing a blank page but when disabled 8.0 php and again enabled my php7.2 it again start working can you please help me out here?
This is aswesome, thank youuu
i try but /opt/lampp/bin/php -v and php --version give two different verion of php
thank you so much for the video my question is I installed Wordpress while I was using 7.14 version but when I switch to 8.0 my website or the Wordpress doesn't load and gives "501 bad gateway ' error so do I need to install another Wordpress for the 8.0 version? or how do I make it work
in other words do i need to make a new directory for my website on the 8.0 version of php
thank you so much, it is exactly what I am looking for.
You are welcome Sam!
Sir please help me.. 🙏😓
When I am typing: add-apt-respository ppa:ondrej/php
It is showing cannot add ppa: ‘ppa:~ondrej/Ubuntu/php
Error: ‘~ondrej’ user or team does not exist
AWESOME!!!! Thanks a lot buddy.
No problem 👍
I follow this tutorial but I still get the message "PLUGIN need php 7.3 or higher , your are using 7.2.24-0ubuntu0.18.04.12."
I've just done this for a client's site and it's still showing the outdated PHP version in the WP dashboard. Does this usually take time to propagate or should this be instant?
It should be instant. Perhaps restarting your web server
php --version
PHP 8.0.3 (cli) (built: Mar 5 2021 07:53:56) ( NTS )
Strange my Ubuntu 18.04 can update to PHP 8.0.3.
In my case what I have to do if my system can update to PHP 8.0.3 ?
Perhaps this is possible now. I would try it out to see if it works
Not work for me in 03:26
my output :
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php7.3
E: Couldn't find any package by glob 'php7.3'
E: Couldn't find any package by regex 'php7.3'
me too. If you fixed the error, please share me. Thanks
@@apu6289 Unfortunately, I did not find a solution
thank you tony, it means a lot to me.
Sure thing :)
Does Root access required ?
You are legend thanks Man !
You're welcome!!
Make a video switching php versions for apache and ngnix
Please reference the installed version directly:
/usr/bin/php7.4
/usr/bin/php8.0
Please help, sir, in php cli, the version has changed to php 8. but when I upload the project on the web server. I checked phpinfo(); the php version is still at 7.4. so when I run a php 8-based project but run on a webserver, there are a lot of errors. how do i change to the one on apache2? I've done commands like "sudo a2enmod php8.0" and "sudo a2dismod php7.4" but still in php info it still goes to 7.4 . but for the CLI it has changed to php 8
Check out this video ua-cam.com/video/vJw6SX1fdUo/v-deo.html
really helpful! thank you!
Congratulations on the video, I had a question, I have updated the php version in ubuntu 16.04, the problem is that since I update it when I try to enter roundcube the screen to login appears, but when I try to enter it shows a blank screen with error 500. Could it be that I am missing something more than install? i have apache server. Well congratulations again for the channel! and sorry for my english.
Error 500 is an internal server error. This could be a number of different problems. Have you already looked at the logs and determined that this is indeed a PHP error?
ily my guy
:)
Great tutorial (what will be a Wordpress site 1 with php 7.3 and Wordpress site 2 with php.x 7.4 : and Wordpress website with php.x 5.4 - setting up and assigned php options ?)
Sample; ubuntu has websites and site A need php 5.4x and site B need 7.2x others is fine with 7.4x
Sorry, I don't understand your question
got this error after PFP update. Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
:-(
*PHP
Try this: sudo apt-get install php-mysql
Sir please make a video how to add wordpress site to loadbalancer. Sir please make a video on this, I have been looking for such a video for a long time. Please make a video. How to add wordpress site to loadbalancer
I don't have any experience in this realm, but perhaps in the future this could be a topic
Hi everyone I would like to ask for some advice from this community of web developers about the problem that I am facing right now as I am personally an IT person. I hired a web developer to develop an e-commerce website for me. Yesterday I came to know that the PHP version that was used to creat the website was very old, it’s PHP 5.6. A friend of mine who a understand a thing or two about the web development, said that this web developer had you, in an ugly way thoroughly. What he meant is that the version is to old. And it’s practically useless. He said it’s impossible to upgrade it or do anything about it. He said the web developer sold me a useless website. If it’s not a problem for you guys, could you please enlighten me as how bad is my situation here, and if my friend is right. Because, though my friend understanding something about web developing but he is not a professional.
Hi please how to install php 5.5.9 on ubuntu ❤
Sir please help me my mind is not working
after follow your troubleshooting step not issue has resolved, getting error php.info showing old version, if anyone have solution let me update
Sorry , I'm not sure why it's showing the old version
can you share php restart command,
I am using php7.4.3 ver
systemctl restart php
@@TonyTeachesTech ok thanks.
I need exactly same tutorial for aws linux 2, any resource or guidance please.
Sorry, I'm not familiar with AWS right now
@@TonyTeachesTech I have try aws ec2 machine its working fine
Thank you man
No problem
Bedankt
Graag gedaan
It's fabulous
Thanks
thank you so much
You're welcome
How I set php 7.0 in google cloud??
This video will show you
@@TonyTeachesTech but i use centos
@@bhavinkarthiya5421 Oh I'm sorry idk
@@TonyTeachesTech you help me suggest video??
@@bhavinkarthiya5421 Sorry i don't know :(
Thanks bro
Welcome
please make a wordpress migration video. migrating to Linode.
Hi Luis, I have this video which will show you how to do just that ua-cam.com/video/QSJlmh_x_UQ/v-deo.html
thx
You're welcome
So It's not an update, pfff.
Hi! When I enter the command "app-apt-repository ppa:ondrej/php", I get the following output:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 688, in addkey_func
func(**kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 386, in add_key
return apsk.add_ppa_signing_key()
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 252, in add_ppa_signing_key
tmp_keyring, tmp_secret_keyring, signing_key_fingerprint, tmp_keyring_dir):
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 181, in _recv_key
"--recv", signing_key_fingerprint,
File "/usr/lib/python3.7/subprocess.py", line 323, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'gpg': 'gpg'
I have done some research, and almost all articles on the internet suggests that I add the US locale, however this is the only locale I ever had.
I'm running Debian 10.12, nGinX 1.14.2 and PHP v7.3.31.
I am completely lost and I have no clue what to do.
Any help would be greatly appreciated.
Hmm I haven't seen that error before. Try one of these solutions www.google.com/search?q=%22No+such+file+or+directory+gpg