Page 1 of 1

no PHP on the APACHE web server

PostPosted: Mon Aug 23, 2021 5:22 am
by Otto
Hwello fireinds,
Do we have to install PHP on the APACHE web server for mod harbor to work?
I think a system without PHP and only mod harbor on the backend is more secure.
Best regards,
Otto

Re: no PHP on the APACHE web server

PostPosted: Mon Aug 23, 2021 9:49 am
by Antonio Linares
Dear Otto,

We don't need to install PHP to use mod_harbour

mod_harbour is pure Harbour and it is all that we need :-)

Re: no PHP on the APACHE web server

PostPosted: Tue Aug 24, 2021 9:10 am
by Otto
Dear Antonio,
do you have a stress test program for mod harbour and DBF?

Thank you in advance
Otto


Image
Image

Re: no PHP on the APACHE web server

PostPosted: Tue Aug 24, 2021 10:37 am
by Antonio Linares
Dear Otto,

We use Apache's ab.exe (Apache Benchmark) to stress mod_harbour and see how it behaves.

This is an example:
apache_folder_bin\ab.exe -n 100 -c 10 your_url_modharbour_webapp

Regarding executing multi threaded Harbour code, mod_harbour uses a timeout for each thread so if it waits
longer than expected, mod_harbour kills such thread

Re: no PHP on the APACHE web server

PostPosted: Tue Aug 24, 2021 1:55 pm
by Otto
Dear Antonio,
Thank you.
I think what Ruby means is that maybe DBF is incapable to handle many requests.
I never made such an experience. Important you know how to work with DBF. But that is valid for everything.
For my purpose, DBF is best.
Maybe you can tell us about the limits of DBF.

Best regards,
Otto

Re: no PHP on the APACHE web server

PostPosted: Tue Aug 24, 2021 4:15 pm
by Antonio Linares
Dear Otto,

DBFs accesses on the web are managed by Harbour (and mod_harbour) the same way as on a LAN (shared access and record locking, unlocking)

So we have the same limitations that we have on a desktop EXE working on a LAN regarding the use of DBFs: almost none :-)

Re: no PHP on the APACHE web server

PostPosted: Tue Aug 24, 2021 4:43 pm
by Otto
Dear Antonio,
Thank you. As you know, WINHOTEL is always installed on a Remote Server. This way we have no problems with LAN as we access locally.
The same as a standalone desktop program.
Same with mod harbour. If you have your DBF files stored on the mod harbour server, all is locally.

Best regards,
Otto