Post

Hello guys!

Do you want to setup PHP website in Ubuntu machine. You have to follow the steps below:

 

sudo apt update //to update the system 

sudo apt upgrade 

sudo apt install php //it will install latest version of php in your machine. 

now to interact with mysql server. you will need one more package and that is php-mysqli  so type the below command in your terminal

sudo apt install php-mysqli 

That's it now you can use php and php with mysql server. 

:-)

Login to discuss.

Groups

51 Members joined | Created By: Manisha Agrawal
48 Members joined | Created By: Chandan Das
8 Members joined | Created By: Mr. Dubey
7 Members joined | Created By: Mr. Dubey
3 Members joined | Created By: Ram Avtar Sharma
10 Members joined | Created By: Deepak Sahoo

You need an account to perform this action. If you have account click Login or Create an Account.


Create an account | Already have account? Login