logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache 2.2.14 on Windows 7
Author
bovcan



Joined: 15 Dec 2009
Posts: 19
Location: Slovenia

PostPosted: Tue 15 Dec '09 12:13    Post subject: Apache 2.2.14 on Windows 7 Reply with quote

Hello!
I have a strange problem on Windows 7.
I install Apache 2.2.14, PHP 5.3.0, MySQL 5.1.41 and phpmyAdmin 3.2.4, PERL 5.10.1

Well, phpmyadmin is working fine, but then I upload website in php/html(I think is a dinamic site) and when I go to localhost and that folder where web site is, nothing happen.
The paga is blank(just white).
Do I need to install any other modules or something and how?

thanks


EDIT: When I try the other web site, than on a localhost/website
I can see in page just this:
Code:
logout(); } else { $iq = mysql_query("SELECT * FROM users WHERE username='{$signin_username}' AND password='{$signin_password}' AND suspended='0' LIMIT 1;"); $ir = mysql_fetch_array($iq); $_SESSION['me'] = $ir; } } } } else { die("The configuration did not recieve appropriate variables to accept your request."); } if ($set['next_clearup'] < time ()) { $next_clearup = time () + 60 * 60 * 24; mysql_query ('' . 'UPDATE settings SET set_value=\'' . $next_clearup . '\' WHERE set_name=\'next_clearup\' LIMIT 1;'); mysql_query ('UPDATE users SET ads_clicked=\'\' WHERE ads_clicked!=\'\''); } } ?>

on a white page.
There are no headers, background, nothing.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7337
Location: Germany, Next to Hamburg

PostPosted: Tue 15 Dec '09 12:35    Post subject: Reply with quote

in your php.ini

change
from
short_open_tag = Off
to
short_open_tag = On

or change in your script <? to <?php
Back to top
bovcan



Joined: 15 Dec 2009
Posts: 19
Location: Slovenia

PostPosted: Tue 15 Dec '09 12:39    Post subject: Reply with quote

OMG.
Thanks, it works!
Back to top
bovcan



Joined: 15 Dec 2009
Posts: 19
Location: Slovenia

PostPosted: Thu 17 Dec '09 21:51    Post subject: Reply with quote

Another problem.
I have instaled Perl 5.10 and If I ad in httpd.conf line

LoadModule perl_module modules/mod_perl.so

apache dont start. mod_perl.so I downloaded and copy file into Apache2.2/modules.

Now I have this two lines in httpd.conf:
LoadFile C:/PERL/bin/perl510.dll
#LoadModule perl_module modules/mod_perl.so
Back to top
bovcan



Joined: 15 Dec 2009
Posts: 19
Location: Slovenia

PostPosted: Tue 05 Jan '10 21:16    Post subject: Reply with quote

This with perl I solved with PERL 5.8.9 and mod_perl 2.0.0.4.

But now i have strange problem with website page/php script.
on Windows is not working all corectly.
I get some errors when something must wrote into database(Mysql)

Then I try the same script on VM on system CentOS 5.3(host is Windows 7) and this script is working just fine.
I just do not get it why on Windows is not working as on VMachine?

I installed on both Apache 2.2.13,php 5.2.10,MySQL 5.0.51b
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7337
Location: Germany, Next to Hamburg

PostPosted: Tue 05 Jan '10 23:14    Post subject: Reply with quote

if you don't post a snippet there is no chance to help you and please open a new topic the scripting corner since that seems to be a scripting problem and not an apache problem.
Back to top
bovcan



Joined: 15 Dec 2009
Posts: 19
Location: Slovenia

PostPosted: Wed 06 Jan '10 13:09    Post subject: Reply with quote

Ok will open new topic just explain me what is "snippet"?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7337
Location: Germany, Next to Hamburg

PostPosted: Wed 06 Jan '10 16:38    Post subject: Reply with quote

snippet is a code seqment. So you post the relevant piece of code.
Back to top


Reply to topic   Topic: Apache 2.2.14 on Windows 7 View previous topic :: View next topic
Post new topic   Forum Index -> Apache