Pham Quỳnh Anh
New member
How do I open PHP in Linux?
Answer
Testing PHP:
Answer
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 ‘