LAMP is now installed on your Debian 7 server.MySQL is a well-known and open-source relational database management system that is pre-installed on Linux Debian’s repository. What is important at this time is that your page is properly processing php information. The data in your info page may be different from mine since some of the modules I have may not be installed on your server. Afterwards, open your web browser and enter your server ip address followed by the filename we just created. Open the file and paste the following php script inside the file: & lt ?php To do this we will creat a file in our /var/sudo nano /var/www/html/info.php In order to check if our PHP installation is working and that all installed modules are properly configured we will have to create a php file containing our php information. Sudo aptitude install php5-gd php5-common TESTING PHP To install multiple modules just add it into the existing command: The command above will install php and we will test it later on to check if our configuration and installation is fine. Sudo aptitude install php5-common libapache2-mod-php5 php5-cli To install PHP we will execute the following commands. Some use of PHP is to provide information on user accounts, traffic updates, location information and many more. In LAMP PHP is the glue that takes the input from the browser and adds the data to the MySQL database.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |