FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Run Harbour on Apache Linux from Windows 10 !!!
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: Run Harbour on Apache Linux from Windows 10 !!!

Posted: Fri Jul 19, 2019 07:13 AM
Maurizio,

In /etc/apache2/apache2.conf please check that you don't have this line twice (duplicated):
LoadModule harbour_module /usr/lib/apache2/modules/mod_harbour.so

You don't have to copy all the examples to /var/www/html. Simply go to /var/www/html and do this:
sudo ln -sf /home/$USER/mod_harbour/samples modharbour_samples

Now from your browser go to:
localhost/modharbour_samples

If you do the same operation (create a symlink) for mod_harbour.so and libharbour.so.3.2.0:
cd /usr/lib/apache2/modules
sudo ln -sf /home/$USER/mod_harbour/linux/Ubuntu 18.04/mod_harbour.so mod_harbour.so
cd /var/www/html
sudo ln -sf /home/$USER/mod_harbour/linux/Ubuntu 18.04/libharbour.so.3.2.0 libharbour.so.3.2.0

then to upgrade mod_harbour you will only have to do:
cd mod_harbour
git pull
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM

Re: Run Harbour on Apache Linux from Windows 10 !!!

Posted: Fri Jul 19, 2019 08:32 AM

Antonio ,
Perfect :D everything works

Thanks Maurizio

Continue the discussion