Re: install question: idiot guide to apache and phph and mysql on win NT 4

From: Date: Fri, 13 Apr 2001 14:55:41 +0000
Subject: Re: install question: idiot guide to apache and phph and mysql on win NT 4
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-48453@lists.php.net to get a copy of this message
Hi, thanks for the tips.
first check to see if you actually have those DLLs in your computer. use Start | Find Files or whatever you want to use.
php_pdf.dll (the first error - the other errors seem to have stopped all by themselves) is actually in the /extensions/ subdir of php. (Php is installed in the cgi bin of Apache, I'm working on win NT 4)
if they're there already, they're just not in your path. do whatever needs to be done on your computer to put them in the path (there are different ways to handle this if you're on Win95/98, WinNT, Win2000 and probably WinME. i'm only familiar with the Win95/98 (edit autoexec.bat), WinNT (i forget exactly, but i can find it if i've got it in front of me). no idea where you do that in Win2000 and ME though. what web server are you using? are you trying to do this in apache? if yes, you need to edit httpd.conf to tell it about php. that's easy, just search for the string "php" in httpd.conf and uncomment the relevant lines. it's pretty obvious (one line is Load-Module, the other is Add-Type).
ok, did that, uncommented these 2 lines in the apache config file: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps I already had added these before: ScriptAlias /php4/ "F:/Program Files/Apache group/Apache/cgi-bin/PHP/" Action application/x-httpd-php4 "/php4/php.exe" AddType application/x-httpd-php4 .php AddType application/x-httpd-php4 .php3 I restarted apache after doing this but I still get the "X-Powered-By: PHP/4.0.4 Content-type: text/html" on every php page. Any ideas? Peter ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http://liga1.com: building multiple language/culture websites

« previous php.general (#48453) next »