I'M trying to learn php and I use Mint Linux as my OS. I don't know if php is installed or not. I went to synaptic package manager and input php, I got back a big list of php-xyz packages and I dont' know which one to get. Any suggestions?
lewashby
56
Junior Poster
Recommended Answers
Jump to Postyou want to make sure you have apache as well.
run these at your terminalsudo apt-get install apache2 sudo apt-get install php5 sudo apt-get install libapache2-mod-php5 sudo /etc/init.d/apache2 restart
Jump to Post@Garret85 to check if PHP is installed type
php -v
in the terminal, you will get the version. Bye!
All 8 Replies
brandonrunyon
21
Junior Poster
iamthwee
commented:
Better to use the one line command.
-3
cereal
commented:
for me instead this is good, because it's more flexible and gives the user the ability to choose what to install ;D
+9
iamthwee
cereal
1,524
Nearly a Senior Poster
Featured Poster
lewashby
56
Junior Poster
cereal
1,524
Nearly a Senior Poster
Featured Poster
lewashby
56
Junior Poster
lewashby
56
Junior Poster
cereal
1,524
Nearly a Senior Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.