Re: Problems installing PHP

From: Date: Tue, 12 Mar 2002 09:16:16 +0000
Subject: Re: Problems installing PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-88161@lists.php.net to get a copy of this message
Hi again, and thanks. Well, I will try to explain...Im trying to run PHP as a module, but you helped me to use it as a CGI. I installed NTSP 6 on my computer, and reconfigure Apache for execute PHP as a CGI. Now Apache starts so well and i can execute de PHP info() function. Good. But when I tried to execute some old pages, that runs in a Linux platform and in a Win'98 platform, PHP crashes again. Appears again Dr Watson and it say that the PHP.EXE (access infraction) crashes and Apache shows an Internal Server Error. Any ideas? Advanced thanks again, Berli ----- Original Message ----- From: "DL Neil" <PHPml@DandE.HomeChoice.co.uk> To: "Berlina" <berlina_berlina@hotmail.com>; "php-general-list" <php-general@lists.php.net> Sent: Monday, March 11, 2002 6:47 PM Subject: Re: [PHP] Problems installing PHP > Hi Berlina, > > > Im trying to install an Apache Web Server and PHP in a Windows NT . > > > > * Apache 1.2.23 > > * PHP 4.1.1 > > * Windows NT Server 4.0 with SP4 > > > > The installation of Apache Web Server and PHP was succesfully ok, but > when I > > configure the PHP and Apache, editing the PHP.ini and httpd.conf > files, as > > installation manual says, was not any problem neither. > > > > The problem appears when i try to load a php file with the web server, > then > > shows all the content of a file. The server reads and show the file > but not > > execute it. > > And, of course I added the lines: > > LoadModule php4_module PATH/php4apache.dll > > AddType application/x-httpd-php .php > > in my httpd.conf file. > > > My (NT) system is Apache 1.3.20, PHP 4.0.6, NTWS 4.0 SP6a > > Entries in httpd.conf that you didn't mention: > > ScriptInterpreterSource registry > and in: > <IfModule mod_alias.c> > ScriptAlias /php/ "C:/Program Files/PHP/" > later (in addition to what you described) in: > <IfModule mod_mime.c> > Action application/x-httpd-php "/php/php.exe" > AddType application/x-httpd-php .php .phtml .php3 .php4 > > - watch those PATHs!? > > I'm not sure if any/all of them might be useful to you - I'm no Apache > specialist, but I followed the instructions given and everything runs > really well. > > Regards, > =dn > >

« previous php.general (#88161) next »