Re: Apache24, Perl 5.010, MySQL 5.6 and Windows 8.1 - no database connection

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

 



Dan,

The #! line has to be the first line - so it's being ignored... remove the ##! line at the start and see what happens.

James

On 19/04/2015 18:28, Dan Östberg wrote:
Dear Jeff:-) As you can see from the enclosed files I've changed the scriptinpretersource.
Are there any updates of httpd.conf that I shall do? DBIcreatetable.pl doesn't run but printenv.pl does....


2015-04-19 18:22 GMT+02:00 Jeff Trawick <trawick@xxxxxxxxx>:
On 04/19/2015 11:01 AM, Dan Östberg wrote:
Everything works (It works!) except for running cgi/pl-files where database connection are involved. A typical Apache server error message is 
"
[Sun Apr 19 15:11:03.324060 2015] [cgi:error] [pid 3312:tid 1032] (9)Bad file descriptor: [client ::1:49681] AH01222: don't know how to spawn child process: C:/Apache24/cgi-bin/DBIcreatetable.pl
"
HELP!

Expect this to be a simple issue of running Perl scripts as CGIs, and nothing to do with database connections.

Please have a look at this documentation and see if it helps: http://httpd.apache.org/docs/2.4/mod/core.html#scriptinterpretersource





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




This email has been checked for viruses by Avast antivirus software.
www.avast.com



-- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux