Hello All,
I have just started with php and I thought all was well. However I will
state problem and then my procedures.

Problem: I run a .php file and I get nothing but a blank screen. I view the
source and the php code is not there indicating that apache sent it to the
php program, right? I run an html file containing php and again no display
but the code is still in the source.

This is what I have done.
I extracted the zip file containing the php files and put them in C:\php4. I
then copied all of the dll's from the dll subdir and copied them into the
C:\winnt\system32 dir. I then take copy the php4ts.dll and put it in the
system dir as well. I then copy the php.ini_recommend and put it into the
C:\winnt dir and rename it to php.ini. Then I edit php.ini with the
following: [doc_root = "C:\wwwroot"] , and [extension_dir =
C:\php4\extensions]. I then go to the httpd.conf file and add the following:
[LoadModule php4_module c:/php4/sapi/php4apache.dll] placed last on the list
of other "LoadModule" directives. I then add [AddModule mod_php4.c] last on
the list of other "AddModule directives. Then [AddType
application/x-httpd-php .php4 .php .phtml] and [AddType
application/x-httpd-php-source .phps] in the file where it refers to
document types. I then added the user [IUSR_(machinename)] to my user list
and verified that the php.exe prog was working properly.

That is what I have done and there is my problem. Please help me with this.
I am usually very deductive with this stuff but I have used all known
resources to get nowhere.

Thanks
Bryan

P.S. In the meantime I will install as cgi...hopefully I can get that to
work.






-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to