Re: php help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello,

I am very new to php but i already had some Perl/CGI and Tcl experience.
I saw the "#!" only on linux plattforms before. It introduces a line
which lets the webserver know which interpreter has to be used for
the file at hand. I could imagine, that your apache is not correctly
configured. Did you add some lines like

# PHP4
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
#PHP3
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3 .phtml
AddType application/x-httpd-php3-source .phps

# (other stuff)

#PHP4
Action application/x-httpd-php "/cgi-bin/php.exe"
#PHP3
Action application/x-httpd-php3 "/cgi-bin/php.exe"

to the httpd.conf file in ..\Apache2\conf ?

Furthermore the directory C:/php-4.3.9-Win32/info.php looks wrong.
Is that the "DocumentRoot" of your apache? it should better look like
C:\Apache2\htdocs.

Wich Windows do you use? I am running php-4.3.9 on a Windows 98
plattform. I set it up by using an elderly but helpfull installation
documentation. The problem for you could be that it is written in german
but i will give it to you anyway:

http://www.dynamic-webpages.de/50.tutorials.php?dwp_tutorialID=9

hope this could help you a little.

Robert

Amala Singh wrote:

Hi

I get the following error after installing php-4.3.9-Win32 with Apache 2.0


[Mon Oct 18 19:58:36 2004] [error] [client 127.0.0.1] C:/php-4.3.9-Win32/info.php is not executable; ensure interpreted scripts have "#!" first line [Mon Oct 18 19:58:36 2004] [error] [client 127.0.0.1] (9)Bad file descriptor: don't know how to spawn child process: C:/php-4.3.9-Win32/info.php


Could you please tell me what the problem is:

Cheers
Amala Singh

_________________________________________________________________
Want to block unwanted pop-ups? Download the free MSN Toolbar now! http://toolbar.msn.co.uk/

-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux