Toon posts:

[debian] - Wie heeft er MySQL - Apache - PHP4

Pagina: 1
Acties:

Verwijderd

Topicstarter
Wie heeft er MySQL - Apache - PHP4 draaien onder Debian?? Ik wil graag weten hoe je dit geinstalleerd hebt...

Zou iemand me dat kunnen vertellen??


Thanx... :7

Verwijderd

apt-get install apache
apt-get install php4
apt-get install mysql

Dat werkt aardig makkelijk.
Handmatig kan ook:

als je doet
# apt-get install wget
kan je daarna met
# wget http://urlnaarfile
de tarbal files downloaden
dan
# gunzip defile.tar.gz
# tar -xvf defile.tar
en vervolgens de documentatie lezen.

op http://groups.google.com kan je heel veel informatie vinden als iets niet werkt wat in de docs staat van een programma.

Ik ben zelf niet echt bepaalt een linux expert, dus ik hoop dat ik geen verkeert 'advies' geef hier :)

Verwijderd

of simpeler:

apt-get install apache mysql php4

(en best ook php4-mysql)

en dan in /usr/share/doc de documentatie lezen. Kan zijn dat je mysql-doc ook nog moet installeren.

Met "apt-cache search iets" kun je naar packages zoeken.

  • HurrI
  • Registratie: Maart 2001
  • Laatst online: 19-06 15:04

HurrI

No fear... I is here

en niet te vergeten:
apt-get install php4-mysql

duurde ff voordat ik daar achter was ;)

If it's just us, it seems like an awful waste of space


Verwijderd

Uhh hoe vaak heb je nu binnen 1 week gevraagd, hoe je die programma's moet installeren ? volgens mij is de de derde keer of zo.

Maar nog iets, als ik php4 installeer wilt apache niet opstarten, ik gebruik gewoon de stabel debian pakketjes, weet iemand wat dit is.

  • Jordi
  • Registratie: Januari 2000
  • Niet online

Jordi

#1#1

Ligt waarschijnlijk aan de PHP (IMAP) modules. Workaround: comment de regel waarin php geladen wordt in httpd.conf, start apache, uncomment regel waarin php geladen wordt en doe een 'apachectl graceful' of '/etc/init.d/apache reload' oid.

Het zal wel niet, maar het zou maar wel.


Verwijderd

Nee dat lukt ook niet, hij wilt gewoon niet meer opstarten als php4 geinstalleerd is, met php3 heb ik geen probleem.

  • 0siris
  • Registratie: Augustus 2000
  • Laatst online: 17-08 02:11
geef eens de output die je krijgt als het niet lukt...

dit heb ik allemaal geinstalleerd (vast teveel, maar ja :)
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
osiris:~# dpkg -l | grep php
ii  php4         4.0.3pl1-0pota A server-side, HTML-embedded scripting langu
ii  php4-imap   4.0.3pl1-0pota IMAP module for php4
ii  php4-mysql     4.0.3pl1-0pota MySQL module for php4
osiris:~# dpkg -l | grep apache
ii  apache     1.3.9-13.2     Versatile, high-performance HTTP server
ii  apache-common  1.3.9-13.2     Support files for all Apache webservers
rc  libapache-mod- 2.4.10-1.3.9-1 Strong cryptography for Apache
osiris:~# dpkg -l | grep mysql
ii  libdbd-mysql-p 1.2202-4  mySQL database interface for Perl
ii  libmysqlclient 3.22.30-4    mysql database client library
ii  mysql-client   3.22.32-6    mysql database client binaries
ii  mysql-server   3.22.32-6    mysql database server binaries
ii  php4-mysql     4.0.3pl1-0pota MySQL module for php4

ook handig:
code:
1
2
3
osiris:/etc/apache# grep php srm.conf
DirectoryIndex index.html index.php
AddType application/x-httpd-php .php .php4 .php3

ach...in een volgend leven lach je er om!


Verwijderd

volgens mij heb ik alles er nu op staan
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
rc  php3         3.0.18-0potato A server-side, HTML-embedded scripting langu
rc  php3-cgi     3.0.18-0potato A server-side, HTML-embedded scripting langu
ii  php4         4.0.3pl1-0pota A server-side, HTML-embedded scripting langu
ii  php4-cgi     4.0.3pl1-0pota A server-side, HTML-embedded scripting langu
ii  php4-cgi-gd    4.0.3pl1-0pota GD module for php4-cgi
ii  php4-cgi-imap  4.0.3pl1-0pota IMAP module for php4-cgi
ii  php4-cgi-ldap  4.0.3pl1-0pota LDAP module for php4-cgi
ii  php4-cgi-mhash 4.0.3pl1-0pota MHASH module for php4-cgi
ii  php4-cgi-mysql 4.0.3pl1-0pota MySQL module for php4-cgi
ii  php4-cgi-pgsql 4.0.3pl1-0pota PostgreSQL module for php4-cgi
ii  php4-cgi-snmp  4.0.3pl1-0pota SNMP module for php4-cgi
ii  php4-cgi-xml   4.0.3pl1-0pota XML module for php4-cgi
ii  php4-dev     4.0.3pl1-0pota Files for PHP4 module development
ii  php4-gd   4.0.3pl1-0pota GD module for php4
ii  php4-imap   4.0.3pl1-0pota IMAP module for php4
ii  php4-ldap   4.0.3pl1-0pota LDAP module for php4
ii  php4-mhash     4.0.3pl1-0pota MHASH module for php4
ii  php4-mysql     4.0.3pl1-0pota MySQL module for php4
ii  php4-pgsql     4.0.3pl1-0pota PostgreSQL module for php4
ii  php4-snmp   4.0.3pl1-0pota SNMP module for php4
ii  php4-xml     4.0.3pl1-0pota XML module for php4
ii  phplib     7.3dev-3.1     Library for easy writing web applications

  • kenneth
  • Registratie: September 2001
  • Niet online

kenneth

achter de duinen

tuurnt, zeg 'ns eerlijk, hoe lang probeer jij ZELF iets voordat je weer naar GoT rent ...

ik denk dat ik topics die door jou gestart zijn maar ga negeren :Z

Look, runners deal in discomfort. After you get past a certain point, that’s all there really is. There is no finesse here.


Verwijderd

LoadModule php4 uncommenten in httpd.conf ?
En ook zorgen dat de php3 module uncommented is !
Pagina: 1