Apache Server????????
Moderator: General Moderators
- softsolvers
- Forum Commoner
- Posts: 75
- Joined: Fri Feb 13, 2004 4:26 am
- Location: India
Apache Server????????
Hello friends
i am first time going to use apache server.
i am using iis server with win nt initially.Where i need to put my web files so that i can run the files.Plz suggest soon .
Thanks
i am first time going to use apache server.
i am using iis server with win nt initially.Where i need to put my web files so that i can run the files.Plz suggest soon .
Thanks
- softsolvers
- Forum Commoner
- Posts: 75
- Joined: Fri Feb 13, 2004 4:26 am
- Location: India
And what path should i write in browser to run that file.
is it like:
http://localhost/test.php
Thanks for your previous posts
is it like:
http://localhost/test.php
Thanks for your previous posts
-
Illusionist
- Forum Regular
- Posts: 903
- Joined: Mon Jan 12, 2004 9:32 pm
- softsolvers
- Forum Commoner
- Posts: 75
- Joined: Fri Feb 13, 2004 4:26 am
- Location: India
install mysql and all other which u need.
freetds>? freetype?
unpack apache1.3.+
> ./configure --prefix=/usr/local/apache -enable-module=so
unpack php4.3.4
> ./configure --prefix=/usr/local --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs
> cp php.ini-dist /usr/local/lib/php.ini
than add the following to the httpd.conf
> vi /usr/local/apache/conf/httpd.conf
LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
/usr/local/apache/bin/apachectl start
and off you go.
make this in php
save it as test.php or info.php ....
http://localhost/info.php
and done
if i missed something excuse me .. ( php manual
will tell you about the same )
freetds>? freetype?
unpack apache1.3.+
> ./configure --prefix=/usr/local/apache -enable-module=so
unpack php4.3.4
> ./configure --prefix=/usr/local --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs
> cp php.ini-dist /usr/local/lib/php.ini
than add the following to the httpd.conf
> vi /usr/local/apache/conf/httpd.conf
LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
/usr/local/apache/bin/apachectl start
and off you go.
make this in php
Code: Select all
<?
phpinfo();
?>http://localhost/info.php
and done
if i missed something excuse me .. ( php manual