Re: xphome+apache1.3.27+php4.2.3 EQUALS blank pages
| From: | toby - | Date: | Mon, 13 Jan 2003 04:58:07 +0000 |
| Subject: | Re: xphome+apache1.3.27+php4.2.3 EQUALS blank pages | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9678@lists.php.net to get a copy of this message | ||
ok erkan
letts start from the start
ur php.ini first
im assumming u have installed php in C:\WINNT\system32\inetsrv\php
n u have all the extensions n dlls n pear n sapi all foldrs in php folder
locate in ur php.ini 'Paths and Directories'
n set
1.include_path = "C:\WINNT\system32\inetsrv\php"
the path to ur php folder !!!!
2.doc_root = "path to the folder u want ur php files to be picked up from ....... d:\phpFiles"
remember '\' NOT '/' ok ?????
now ur httpd.conf
1. locate ServerRoot and set it
ServerRoot "C:/complete path to ur apache folder"
2. add or uncomment
LoadModule php4_module C:/WINNT/system32/inetsrv/php/sapi/php4apache.dll
3. add
AddModule mod_php4.c
4. locate ServerName and set it
ServerName name of ur server !!!!
5. locate and set
DocumentRoot "path of the folder u set in ur php.ini"
6. then again
<Directory "doccumentroot path">
7. locate and set
# "c:/Program Files/Apache Group/Apache/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "C:\WINDOWS\system32\inetsrv\php">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</IfModule>
# End of aliases.
8. add these
AddType application/x-tar .tgz
AddType application/x-httpd-php .phtml .php
AddType application/x-httpd-php-source .phps
9. leave the rest intact
10. i hope all this hlps pal
good luck
toby ......
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail