Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 200003

[PHP3] PLEASE NEEDhelp in installation of PHP /WIN98 /APACHE 1.3.9 From: ahmed yehia (ayehia <email protected>)
Date: 03/07/00

hi all
please i need help about installation of PHP under win98
i installed the apache and it works and it says that u installed the apache
server
and also i unzipped the php zip file to
c:\php3 which contain thae php.exe and also the dll required
an php.ini in the windows directory i edit the following
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
include_path = ; UNIX: "/path1:/path2" Windows:
"\path1;\path2"
; ######### by ayehia
doc_root = "C:\Program Files\Apache Group\Apache\htdocs\php\" ; the root of
the php pages, used only if nonempty
user_dir = ; the directory under which php opens the script using
/~username, used only if nonempty
;upload_tmp_dir = ; temporary directory for HTTP uploaded
files (will use system default if not specified)
upload_max_filesize = 2097152 ; 2 Meg default limit on file uploads
; ######### by ayehia
extension_dir = "c:\php3\" ; directory in which the loadable extensions
(modules) reside

and in the file http.conf
i edit the following
ScriptAlias /php/ "C:/Program Files/Apache Group/Apache/php/"
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3 .phtml
Action application/x-httpd-php3 "c:/php3/php.exe"
##########################**************By ayehia
#
# "C:/Program Files/Apache Group/Apache/php" should be changed to whatever
your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "C:/Program Files/Apache Group/Apache/php">
    AllowOverride None
    Options None
</Directory>

and i write test file like the following

<HTML>
<HEAD>
<TITLE>Our first PHP3.0 script</TITLE>
</HEAD>
<BODY>
<CENTER>Our first PHP3.0 script</CENTER>

<?
/* the above "<?" signals that the PHP script has begun */
 $today = date("Y-m-d");

 PRINT "<CENTER>Today is: $today.</CENTER>";

# the following "?>" closes the script
?>

</BODY>
</HTML>

then i restsrt the server it said to me
INTERNAL SERVER ERROR

could any one help me please
with instructions or tell me what are the errors ??
thanks

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>