PDA

View Full Version : Bagaimana nyeting Apache,PHP,MySQL di Win9x


karateman
07-12-2000, 02:04 PM
Ada yang tau cara menseting Apache,PHP,MySQL di Win9x ? Thx sebelumnya..

kaLenk
08-12-2000, 03:08 PM
pertama-tama... cari installernya...
(eh ngomong2 Windows elo asli kagak ?? entar di marahin Bang Bilget loh...) ::BBB::

Kalo udah punya ya udah ...install aja ...jadi khan ..(ps. harus PHP dulu baru mySQL)... ::hhh::

G24645
08-12-2000, 06:44 PM
Wah, gampang..Baca aja help-nya...Masya nggak mampu ?..:)

Paolo Diadio
11-12-2000, 09:24 PM
Mau install apache, php, mysql.
* Yang pertama diinstall adalah web server apache.
versi terbarunya bisa didownload di situs resmi apache.
lalu kita konfigurasikan yang perlu.
* Nah baru diinstall php (terbaru 4.0.x) dari situs resminya juga.
Kalo sudah baru dikonfigurasikan php.ini dan juga modules
di apachenya (edit httpd.conf)
* Nah kalo mysql saya masih belajar
Kalo mau tanya setingannya mengenai instalasi apache dan php email aja ke diadio@hotmail.com

karateman
12-12-2000, 08:27 AM
Originally posted by kaLenk
pertama-tama... cari installernya...
(eh ngomong2 Windows elo asli kagak ?? entar di marahin Bang Bilget loh...) ::BBB::

Kalo udah punya ya udah ...install aja ...jadi khan ..(ps. harus PHP dulu baru mySQL)... ::hhh::



Windows gue asli buatan om Bilget, :) emangnya buatan Cibaduyut. Gue udah download semua file yang dibutuhkan,...udah pula ngistallnya, yang jadi masalah nyambunginnya (Antara Apache,PHP dan MySQL). Nyeting httpd.conf ????Ini yang bikin gue sakit kepala...Ada yang punya contohnya !!!

orca
18-12-2000, 03:01 PM
kalo mau cepet dan gampang, coba deh ke http://www.abriasoft.com, ada installer ketiganya. atau di http://www.nusphere.com , cepet 15 menitan sudah keinstall semua kok...Download aja, tapi yang nusphere lumyan gede 20 MB-an

karateman
10-01-2001, 05:33 PM
Tengkyu..tengkyu akan gue coba...
:D

karateman
12-01-2001, 09:37 AM
Walah downloadnya gagal :(
Udah cape-cape d/l dari Abriasoft, 26 MB..eh filenya error padahal udah pake Getright. Yang Nusphere lebih parah lagi d/lnya gak bisa pake Getgright, padahal gede filenya 25 MB. ;(

iwyrobi
13-01-2001, 09:14 PM
dari thickbook.com

Using a text editor, open the httpd.conf file again. The goal of these changes configuration is to tell Apache what to do with files ending with .phtml, .php or anything else you use to indicate a PHP file. Basically, you'll be telling Apache to execute an application in order to do something with those files; in this case, run the php.exe program to parse the PHP code.

Find a section that looks like this:

#
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
ScriptAlias /cgi-bin/ "C:/Apache/cgi-bin/"

You need to add another ScriptAlias line:

ScriptAlias /php4/ "C:/php4/"

Now find a section that looks like this:

#
# AddType allows you to tweak mime.types without actually editing it, or to
# make certain files to be certain types.
#
# For example, the PHP3 module (not part of the Apache distribution)
# will typically use:
#
#AddType application/x-httpd-php3 .phtml
#AddType application/x-httpd-php3-source .phps

Although the example is now out-of-date, since you'll be using PHP4, you get the idea. This is the area where you say "for all files ending with [whatever], consider them to be of [whatever] type." Add these lines:

AddType application/x-httpd-php .phtml .php
AddType application/x-httpd-php-source .phps

If you want to create your own file extension for PHP files, like .joe (really, you can...), add .joe after the .phtml and .php in the first AddType line.

One more modification...find a section like this:

#
# Action lets you define media types that will execute a script whenever
# a matching file is called. This eliminates the need for repeated URL
# pathnames for oft-used CGI file processors.
# Format: Action media/type /cgi-script/location
# Format: Action handler-name /cgi-script/location
#

You need to add an Action line for your new file types, so that they get sent through the PHP parser. Add this:

Action application/x-httpd-php /php4/php.exe

I know it looks weird, without the drive letter, the slashes are backwards, there aren't any quotation marks, but this is how you do it. That /php4/ comes from the ScriptAlias line at the beginning of the file, so Apache knows that /php4/ really equals C:\php4\ ("C:/php4/" == "C:\php4\" in Apache world).

Alrighty then, let's try to start Apache again (shut down and restart Apache if it's still running). Provided there are no issues on startup, open a text editor and type this:

<? phpinfo() ?>

Save this file as phpinfo.php, and put it in the document root of Apache (in the htdocs directory within your installation directory.).

Fire up your Web browser and go to http://localhost/phpinfo.php

shinji-kun
29-01-2001, 10:33 AM
bagi yang gak mau repot install ketiga2nya di win9x, mungkin bisa coba ke http://www.sourceforge.net, ada installer yang namanya PHPTriad yang langsung menginstall ketiga program tsb dgn mudah.

http://sourceforge.net/projects/phptriad/

karateman
02-02-2001, 05:23 PM
Oke..akan gue d/l. Thx atas infonya...