Installing PHP4 and Apache on Ubuntu Namestitev PHP4 in Apache na Ubuntu
If you are doing any kind of PHP development, you'll almost always be using Apache along with it. Če delaš vse vrste razvoja PHP, boste skoraj vedno uporablja Apache skupaj z njim. Here's the quick and easy way to get PHP up and running on your Ubuntu box. Tukaj je hiter in enostaven način za PHP gor ter tekmovanje v teku naprej vaš okno Ubuntu.
First, you'll want to add the Najprej boste želeli dodati extra repositories to Ubuntu's sources.list file. ekstra odlagališča za sources.list Ubuntu dokumentacije.
From a command shell, you will run the following commands: Od ukaz lupine, boste prost dostop sledeč zapoved:
sudo apt-get install apache2 sudo apt-get install apache2
sudo apt-get install php4 sudo apt-get namestite PHP4
sudo apt-get install libapache2-mod-php4 sudo apt-get namestite libapache2-mod-PHP4
sudo /etc/init.d/apache2 restart sudo / etc/init.d/apache2 znova
Note that if apache is already installed you can omit the first line. Upoštevajte, da če je že nameščen apache lahko izpustite prvi vrstici. Your web files will now be found in /var/www/ Vaša spletna datotek bo sedaj mogoče najti v / var / www /
Note that this is nearly the same as Upoštevajte, da je to skoraj enako kot installing PHP5 namestitev PHP5 , which is the latest version. , Ki je najnovejša različica.

Daily Email Updates Dnevni Email Updates
You can get our how-to articles in your inbox each day for free. Lahko dobite našo kako do člankov v vašo mapo »Prejeto vsak dan brezplačno. Just enter your name and email below: Preprosto vpišite vaše ime in e-pošto spodaj:



php4 isn't going to be supported after the end of this year, I think PHP4 se ne bo podprla po koncu tega leta, mislim, da
Yes, that's correct, but a ton of people still use it. Ja, to je pravilno, vendar tone ljudi, ki še vedno uporabljajo.
i ran all the commands in terminal on Ubuntu 7.10 and it asked for my password then it said couldn't find package apache2 , what should i do sem tekel vse ukaze v terminalu na Ubuntu 7,10 in jo prosila za geslo, potem je rekel ne more najti paketa apache2, kaj naj naredim
I installed Linux Ubuntu on 25.7.2008. Namestil sem Linux Ubuntu na 25.7.2008. A fresh copy. Svež izvod. I completely fromatted my HD. Popolnoma fromatted moj HD. My computer is working only in Ubuntu. Moj računalnik deluje le v Ubuntu. I want to install PHP4 , Apache and MySQL. Hočem namestiti PHP4, Apache in MySQL. Can any one suggest me the steps involved in doing so? Ali lahko kateri koli od predlagamo mi korake, vključenih v to? . .
all you have to do, is the commands in the terminal of the page you posted on ^. vse, kar morate storiti, je ukaze v terminal strani, ki ste napoteni na ^.
but what i did was: ampak kaj sem storil je bil:
sudo apt-get install apache2 sudo apt-get install apache2
sudo apt-get install php5 sudo apt-get install php5
sudo apt-get install mysql(this is the part that always gets me messed up, look it up on google, search sudo apt-get install mysql command for ubunut) sudo apt-get install mysql (to je tisti del, ki me vedno gets zajebal, poglej gor na google, iskanje sudo apt-get install mysql ukaz za ubunut)
sudo apt-get install webmin sudo apt-get namestite Webmin
there is another one that is like php-mysql, youll have to look that one up, it lets mysql and php communiacate obstaja še eden, ki je kot php, mysql, youll have to look to izmislil, to omogoča, mysql in php communiacate
php4 seems not to be there anymore – php5 is good PHP4 se zdi, da ne bo več tam - php5 je dobra