• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Issues w/ Apache, php, sql etc...

MIDIman

Diamond Member
I'm a total newbie to this stuff and am working on a project that is basically being duplicated, just with different information. Unfortunately, the idiot before didn't duplicate some of the files properly, and I'm not sure whats going on...

This is basically a flash project with php and sql. I have installed Apache2Triad which is a neat-o installation of Apache2, php, sql, perl and various other stuff. It installed on Win2K, though 1) I'm not admin, but have admin rights on my computer, and 2) during install, two of the lines in cmd.exe said Could not find file to copy, or something.

After install, registry gets inputted fine, then I reboot. Everything was installed to default c:\apache2\. After reboot, I start up the apache2 monitor and start the service for Apache+php+perl+python.

I throw the files in htdocs, and its definitely accessing the files, but not the sql, perhaps not the php either, cause for instance, when I click on a link that has enter.php I get the save/open as... dialog. What exactly does that probably mean?

How should I go about troubleshooting this? I know so little about it, and don't want to get heavy into it - just enough so that I can run these scripts locally rather than having to go through IT and get access on the server.

Thx in advance...



Note - the installation includes a bunch of admin files in the htdocs dir...loading index.html gives me blanks on the left side of the screen:
Proxy :
Client adres :
Client port :
Gateway :
Protocol :

PHP test gives me blanks:
server software :
client software :
http referer :
opened file :
server adress :
your adress :

CGI/Perl test gives me just a text print of the script itself, even tho the cmd line (#!c:/Apache2/Perl/bin/Perl.exe) is fine.

SSI, mySQL tests also give me blanks...

On server pages, there is a server-info link, which gives me:
Server Version: Apache/2.0.46 (Win32) mod_perl/1.99_10-dev Perl/v5.8.0 PHP/4.3.2 mod_python/3.0.3 Python/2.2.2
Server Built: May 27 2003 23:15:42
API Version: 20020903:3
Hostname/port: localhost:80
Timeouts: connection: 300 keep-alive: 300
MPM Name: WinNT
MPM Information: Max Daemons: 64 Threaded: yes Forked: no
Server Root: C:/apache2
Config File: conf/httpd.conf

server-status gives me:
Server Version: Apache/2.0.46 (Win32) mod_perl/1.99_10-dev Perl/v5.8.0 PHP/4.3.2 mod_python/3.0.3 Python/2.2.2
Server Built: May 27 2003 23:15:42
--------------------------------------------------------------------------------
Current Time: Monday, 21-Jul-2003 11:54:21 Eastern Daylight Time
Restart Time: Monday, 21-Jul-2003 11:12:59 Eastern Daylight Time
Parent Server Generation: 0
Server uptime: 41 minutes 22 seconds
Total accesses: 3 - Total Traffic: 102 kB
.00121 requests/sec - 42 B/second - 34.0 kB/request
1 requests currently being processed, 249 idle workers

Error log has starts with this:
#!c:/Apache2/Perl/bin/Perl.exe $log1 = "c:/Apache2/logs/error.log"; $log2 = "c:/Apache2/logs/ssl_error.log"; $log3 = "c:/Apache2/Mysql/logs/myerror.log"; $log4 = "c:/Apache2/Php/logs/perror.log"; print "Content-type: text/html\n\n"; print "\n"; print "\n"; print "
--------------------------------------------------------------------------------
"; open (LOG1, "$log1")|| die "Can't open $log1\n"; @log1 = ; close (LOG1); @log1=reverse(@log1); splice @log1, 10; print "
The Apache server on $ENV{'SERVER_NAME'}:80 last 10 eror log lines:

\n"; foreach $log1 (@log1) { print "$log1
\n"; } print "



etc etc etc...i'll stop now....
 
Back
Top