runeveryday Posted August 12, 2010 Share Posted August 12, 2010 how to install PHP which is run as an Apache module, or run as CGI on debain .any tips would be appreciated Quote Link to comment https://forums.phpfreaks.com/topic/210534-how-to-install-php/ Share on other sites More sharing options...
trq Posted August 12, 2010 Share Posted August 12, 2010 sudo apt-get update && sudo apt-get install php Quote Link to comment https://forums.phpfreaks.com/topic/210534-how-to-install-php/#findComment-1098464 Share on other sites More sharing options...
whit3fir3 Posted August 19, 2010 Share Posted August 19, 2010 One minor correction to the above post. In debian the php packages are called php5 not just php. I am sure depending on what you are wanting to do with will want to add some php modules like php5-mysql, or php5-gd. Quote Link to comment https://forums.phpfreaks.com/topic/210534-how-to-install-php/#findComment-1101110 Share on other sites More sharing options...
Jerry wilsson Posted February 9, 2011 Share Posted February 9, 2011 Gone through the tutorial but my connections are making some problem...will check this once more. Quote Link to comment https://forums.phpfreaks.com/topic/210534-how-to-install-php/#findComment-1171757 Share on other sites More sharing options...
polycap9 Posted October 20, 2011 Share Posted October 20, 2011 hey jerry get me a link to the tutorials please! Quote Link to comment https://forums.phpfreaks.com/topic/210534-how-to-install-php/#findComment-1280801 Share on other sites More sharing options...
rotten69 Posted October 26, 2011 Share Posted October 26, 2011 Hey buddy, Here are a few good n helpful tutorials on installing PHP and MySQL on ubuntu.. . . https://help.ubuntu.com/community/ApacheMySQLPHP http://www.howtoforge.com/ubuntu_lamp_for_newbies Quote Link to comment https://forums.phpfreaks.com/topic/210534-how-to-install-php/#findComment-1282266 Share on other sites More sharing options...
Network_ninja Posted October 26, 2011 Share Posted October 26, 2011 If anyone is interested you can visit this site: http://www.apachefriends.org/en/xampp-linux.html Pretty much easy package installation. Quote Link to comment https://forums.phpfreaks.com/topic/210534-how-to-install-php/#findComment-1282280 Share on other sites More sharing options...
trq Posted October 26, 2011 Share Posted October 26, 2011 If anyone is interested you can visit this site: http://www.apachefriends.org/en/xampp-linux.html Pretty much easy package installation. 'Easy packages' are not required on Linux where installing php is generally a pretty straight forward task. Quote Link to comment https://forums.phpfreaks.com/topic/210534-how-to-install-php/#findComment-1282312 Share on other sites More sharing options...
polycap9 Posted October 28, 2011 Share Posted October 28, 2011 thanks rotten69 Quote Link to comment https://forums.phpfreaks.com/topic/210534-how-to-install-php/#findComment-1282939 Share on other sites More sharing options...
jonsborn Posted December 15, 2011 Share Posted December 15, 2011 You can follow some steps and download PHP: - Download Source and Clock Install PHP. - Go to the directory whith the downloaded file and enter. - Configure httpd.conf for PHP. - Verify PHP Installation - Trouble shooting during installation - Create Php.ini File Quote Link to comment https://forums.phpfreaks.com/topic/210534-how-to-install-php/#findComment-1298096 Share on other sites More sharing options...
The Letter E Posted March 28, 2012 Share Posted March 28, 2012 how to install PHP which is run as an Apache module, or run as CGI on debain .any tips would be appreciated Assuming you are on apache2 sudo apt-get install php5 libapache2-mod-php5 php5-mysql sudo a2enmod php5 You can drop the php5-mysql if you're not using mysql. Quote Link to comment https://forums.phpfreaks.com/topic/210534-how-to-install-php/#findComment-1331808 Share on other sites More sharing options...
lovelycesar Posted March 29, 2012 Share Posted March 29, 2012 Debian has its packages for suPHP if you would like to run as CGI-like mode. apt-get install apache2 apache2-mpm-prefork libapache2-mod-suphp Quote Link to comment https://forums.phpfreaks.com/topic/210534-how-to-install-php/#findComment-1332400 Share on other sites More sharing options...
stenbom Posted March 30, 2012 Share Posted March 30, 2012 The entire "LAMP" stack: sudo apt-get install apache2 mysql-server php5 libapache2-mod-php5 php5-xsl php5-gd php-pear libapache2-mod-auth-mysql php5-mysql After that: sudo sed -i ‘s/; extension=mysql.so/extension=mysql\.so/g’ /etc/php5/apache2/php.ini (Make sure the path is correct and that it is 3 spaces after s/; sudo /etc/init.d/apache2 restart Quote Link to comment https://forums.phpfreaks.com/topic/210534-how-to-install-php/#findComment-1332687 Share on other sites More sharing options...
trq Posted March 30, 2012 Share Posted March 30, 2012 The entire "LAMP" stack: The *P* in LAMP can refer to many things besides PHP. Python and Perl come to mind. Quote Link to comment https://forums.phpfreaks.com/topic/210534-how-to-install-php/#findComment-1332713 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.