How Run Php on Kali Linux?
Contents How Install Php Curl in Kali Linux? How Install Php Curl Linux? First Install Curl by Typing Sudo Apt-Get Install Curl. Then Restart Apache by Typing...
Contents
How install php curl in Kali Linux?
How install php curl Linux?
- First Install CURL by typing sudo apt-get install curl.
- Then Restart Apache by typing sudo service apache2 restart.
- Then Install PHP5 CURL by typing sudo apt-get install php5-curl.
- will prompt to install… type y or yes!
- Then Restart Apache by typing sudo service apache2 restart Done!
Must Read
How do I open a php file in Linux?
Testing PHP:
- Open a terminal and type this command: ‘ gksudo gedit /var/www/testing. php ‘ (gedit being the default text editor, others should work too)
- Enter this text in the file and save it: <? php phpinfo(); ?>
- Restart the php server using this command: ‘ sudo /etc/init. d/apache2 restart ‘