FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index mod_harbour Xampp Apache BLOCKED
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM

Xampp Apache BLOCKED

Posted: Wed Nov 06, 2019 08:04 AM
I have the apache blocked when I insert on file c:\xampp\apache\conf\httpd.conf

LoadModule harbour_module modules/mod_harbour.so




How I can resolve ?

the apache on my server run ok because I use each day Wordpress sites or another php prgs
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: Xampp Apache BLOCKED

Posted: Wed Nov 06, 2019 08:06 AM

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...

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM

Re: Xampp Apache BLOCKED

Posted: Wed Nov 06, 2019 08:11 AM

xampp is 64 bit and the file.so is win64 the same for the dll

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM

Re: Xampp Apache BLOCKED

Posted: Wed Nov 06, 2019 08:17 AM

Now try o erase all and install new xampp 64 bit
pls wait

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: Xampp Apache BLOCKED

Posted: Wed Nov 06, 2019 08:33 AM

ok, very good...

step by step...

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM

Re: Xampp Apache BLOCKED

Posted: Wed Nov 06, 2019 09:06 AM
Antonio,
Now the apache is run but when I load a prg sample eshop I see the source code



where is the error ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM

Re: Xampp Apache BLOCKED

Posted: Wed Nov 06, 2019 09:17 AM

ok now run

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

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM

Re: Xampp Apache BLOCKED

Posted: Wed Nov 06, 2019 09:42 AM
but sometimes there is this error



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 ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: Xampp Apache BLOCKED

Posted: Wed Nov 06, 2019 10:12 AM

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM

Re: Xampp Apache BLOCKED

Posted: Wed Nov 06, 2019 05:06 PM

yes yes I resolved
I wish init with small and easy prg now I wish search a nice css to use !!

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion