Question:
How to run php program in Ubuntu ?
2009-03-03 22:25:43 UTC
When i am trying to run the php program on ubuntu Browser its asks to save the program but not run the program in browser
Three answers:
sunil
2009-03-04 05:41:53 UTC
add the following lines at the end of /etc/httpd/conf/httpd.conf:



NameVirtualHost 192.168.1.100



ServerName 192.168.1.100

DocumentRoot /var/www/html/www/

DirectoryIndex index.php





Check httpd.conf configuration file as:

httpd -t



Start httpd service as:

service httpd start



I hope this will work for you.



________________________

www.opensourcenuts.com
Jessica Queller
2009-03-03 22:43:46 UTC
You need to install Apache and put the php file in the /var/www directory.
?
2016-10-04 17:31:52 UTC
If that's an application ( .exe ) then you certainly'll desire a domicile windows emulator. WINE is a brilliant determination for this. bypass right into a terminal window. type in: sudo apt-get deploy wine put in your password and watch for it to place in. in the terminal window type: reboot watch for the computing gadget to restart. bypass to this gadget you opt to run, desirable click on the .exe and run it using WINE. it is going to be the 2d determination in the main suitable-click menu. - Hex


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...