RE: [PHP] php_self

From: Date: Sun, 25 Feb 2001 10:27:08 +0000
Subject: RE: [PHP] php_self
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-41572@lists.php.net to get a copy of this message
Here's what to do: in Apache: Add (this is all one line) LoadModule php4_module C:/Webserver/php/sapi/php4apache.dll then (five lines) AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps AddType application/x-httpd-php .php3 AddType application/x-httpd-php .php4 AddType application/x-httpd-php .phtml to your httpd.conf. Remove(comment) Action application ... line Copy php.ini to C:\Winnt\System32. Copy msvcrt.dll (from C:\Webserver\PHP\dlls\msvcrt.dll) to C:\Winnt\system32 - you're almost guranteed to have it, as I did, but just check. Copy phpts.dll to C:\Winnt\system32. Startup the Apache service. At this point, if it worked, you are runniong as a module. Hopefully this will work :-) And if it doesn't download a new version of PHP and reinstall it as INSTALL file says. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) maxim@phpbeginner.com www.phpbeginner.com -----Original Message----- From: Brandon Feldhahn [mailto:BrandonFeldhahn@earthlink.net] Sent: Sunday, February 25, 2001 9:27 AM To: PHPBeginner.com Subject: Re: [PHP] php_self well i have windows so how do i recompile it? "PHPBeginner.com" wrote: > You have compiled it as CGI, didn't ya? > > recompile it as apache's module if you can so apache can give PHP_SELF the > right value, > > Sincerely, > > Maxim Maletsky > Founder, Chief Developer > > PHPBeginner.com (Where PHP Begins) > maxim@phpbeginner.com > www.phpbeginner.com > > -----Original Message----- > From: Brandon Feldhahn [mailto:BrandonFeldhahn@earthlink.net] > Sent: Friday, February 23, 2001 4:30 PM > To: php-general@lists.php.net > Subject: [PHP] php_self > > Why does php self always show php4/php.exe? how do i take it off? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#41572) next »