R: [PHP-WIN] Install problems

From: Date: Thu, 23 Aug 2001 11:24:52 +0000
Subject: R: [PHP-WIN] Install problems
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-9014@lists.php.net to get a copy of this message
Hi Ronald I suggest you to define the line ScriptAlias /php/ "e:/internet/homepage/blank/php/" as an alias, ( Alias /php/ "e:/internet/homepage/blank/php/" ) and then define a new scriptalias for php.exe. I.e. ScriptAlias /phpexe/ "c:/php/" Action application/x-httpd-php "/phpexe/php.exe" Greatings Darvin > -----Messaggio originale----- > Da: Ronald Weinrich [mailto:office@weronet.com] > Inviato: giovedì 23 agosto 2001 12.23 > A: php-windows@lists.php.net > Oggetto: [PHP-WIN] Install problems > > > Hello All > > I try to install php on my Notebook. I have php-4.0.6-Win32 on c:\php and > Apache 1.3.12 on F:\Apache Group\Apache. > > My DocumentRoot is "e:/Internet/homepage/blank" and the phpScript > should stay in "e:/internet/homepage/blank/php/" > > In php.ini I have: > include_path = > doc_root =e:\internet\homepages\blank > user_dir =e:\internet\homepages\blank\php > extension_dir = c:\php > enable_dl = On > > and in httpd.conf I use > LoadModule php4_module c:/php/sapi/php4apache.dll > DocumentRoot "e:/Internet/homepage/blank" > ScriptAlias /php/ "e:/internet/homepage/blank/php/" > AddType application/x-httpd-php .php .phtml > Action application/x-httpd-php "/php/php.exe" > > > If I run from index.html " <a href="/php/info.php" target="main" > name="info">info</a>" > I get the error: > e:/internet/homepage/blank/php/info.php is not executable; ensure > interpreted scripts have "#!" first line > (2)No such file or directory: couldn't spawn child process: > e:/internet/homepage/blank/php/info.php > > > If I run from index.html " <a href="info.php" target="main" > name="info">info</a>" > It works !! > > Can anyone tell me what I’m doing wrong ?? > > Thank you in advance > > Ron > > > > > > > > > > > >

« previous php.windows (#9014) next »