Jump to content

how to install PHP ?


runeveryday

Recommended Posts

  • 5 months later...
  • 8 months later...
  • 1 month later...

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

Link to comment
Share on other sites

  • 3 months later...

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.