Page 1 of 1

Xampp Apache BLOCKED

Posted: Wed Nov 06, 2019 8:04 am
by Silvio.Falconi
I have the apache blocked when I insert on file c:\xampp\apache\conf\httpd.conf

LoadModule harbour_module modules/mod_harbour.so

Image


How I can resolve ?

the apache on my server run ok because I use each day Wordpress sites or another php prgs

Re: Xampp Apache BLOCKED

Posted: Wed Nov 06, 2019 8:06 am
by Antonio Linares
Dear Silvio,

Please check that you are using the same bits for the apache and the mod_harbour version

If Apache is 32 bits, then use mod_harbour 32 bits...

same for 64 bits...

Re: Xampp Apache BLOCKED

Posted: Wed Nov 06, 2019 8:11 am
by Silvio.Falconi
xampp is 64 bit and the file.so is win64 the same for the dll

Re: Xampp Apache BLOCKED

Posted: Wed Nov 06, 2019 8:17 am
by Silvio.Falconi
Now try o erase all and install new xampp 64 bit
pls wait

Re: Xampp Apache BLOCKED

Posted: Wed Nov 06, 2019 8:33 am
by Antonio Linares
ok, very good...

step by step...

Re: Xampp Apache BLOCKED

Posted: Wed Nov 06, 2019 9:06 am
by Silvio.Falconi
Antonio,
Now the apache is run but when I load a prg sample eshop I see the source code

Image

where is the error ?

Re: Xampp Apache BLOCKED

Posted: Wed Nov 06, 2019 9:17 am
by Silvio.Falconi
ok now run


I move loadmodules command at init of file c:\xampp\apache\conf\httpd.conf

Re: Xampp Apache BLOCKED

Posted: Wed Nov 06, 2019 9:42 am
by Silvio.Falconi
but sometimes there is this error

Image

Error: Can't open #include file 'hbclass.ch'
called from: ../../../apache.prg, (b)MAIN, line: 50
called from: __PP_PROCESS, line: 0
called from: ../../../apache.prg, EXECUTE, line: 110
called from: ../../../apache.prg, MAIN, line: 61

why ?

Re: Xampp Apache BLOCKED

Posted: Wed Nov 06, 2019 10:12 am
by Antonio Linares
Silvio,

At the top of your PRG use this:

// {% hb_SetEnv( "HB_INCLUDE", "c:\harbour\include\" ) %}

so mod_harbour knows where your header files are

Re: Xampp Apache BLOCKED

Posted: Wed Nov 06, 2019 5:06 pm
by Silvio.Falconi
yes yes I resolved
I wish init with small and easy prg now I wish search a nice css to use !!