Buenas tardes
quisiera saber como instalar los módulos de modharbour en mi hosting
desde ya muchas gracias
pd. soy proveedor de hosting, si que tengo la maquina virtual a mi disposición
Instalar modharbour en el hosting
- Patricio Avalos Aguirre
- Posts: 1028
- Joined: Fri Oct 07, 2005 1:56 pm
- Location: La Serena, Chile
- Contact:
Instalar modharbour en el hosting
Saludos
Patricio
__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl
Patricio
__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Instalar modharbour en el hosting
Patricio,
Que sistema operativo usa ?
Que sistema operativo usa ?
- Patricio Avalos Aguirre
- Posts: 1028
- Joined: Fri Oct 07, 2005 1:56 pm
- Location: La Serena, Chile
- Contact:
Re: Instalar modharbour en el hosting
Antonio
CENTOS 6.10 pero luego nos vamos actualizar a CENTOS 7+
CENTOS 6.10 pero luego nos vamos actualizar a CENTOS 7+
Saludos
Patricio
__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl
Patricio
__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Instalar modharbour en el hosting
Esto descarga el código de mod_harbour y lo construye para CentOS:
https://github.com/FiveTechSoft/mod_har ... /readme.md
Para instalarlo:
Finalmente añade estas líneas al final de /etc/apache2/apache2.confcd /var/www/html
sudo ln -sf ~/mod_harbour/linux/libharbour.so.3.2.0 libharbour.so.3.2.0
sudo ln -sf ~/mod_harbour/samples modharbour_samples
cd /usr/lib/apache2/modules
sudo ln -sf ~/mod_harbour/linux/mod_harbour.so mod_harbour.so
Está explicado aqui:LoadModule harbour_module /usr/lib/apache2/modules/mod_harbour.so
<FilesMatch "\.(prg|hrb)$">
SetHandler harbour
</FilesMatch>
https://github.com/FiveTechSoft/mod_har ... /readme.md
- Patricio Avalos Aguirre
- Posts: 1028
- Joined: Fri Oct 07, 2005 1:56 pm
- Location: La Serena, Chile
- Contact:
Re: Instalar modharbour en el hosting
gracias antonio voy a probarlo
Saludos
Patricio
__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl
Patricio
__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl
- Patricio Avalos Aguirre
- Posts: 1028
- Joined: Fri Oct 07, 2005 1:56 pm
- Location: La Serena, Chile
- Contact:
Re: Instalar modharbour en el hosting
Hola Antonio
obtengo este error
obtengo este error
remote: Compressing objects: 100% (18/18), done.
remote: Total 17243 (delta 9), reused 15 (delta 6), pack-reused 17219
Recibiendo objetos: 100% (17243/17243), 426.06 MiB | 592.00 KiB/s, listo.
Resolviendo deltas: 100% (10667/10667), listo.
Actualizando archivos: 100% (1183/1183), listo.
[root@server3 ~]# cd /var/www/html
[root@server3 html]# sudo ln -sf ~/mod_harbour/linux/libharbour.so.3.2.0 libharbour.so.3.2.0
[root@server3 html]# sudo ln -sf ~/mod_harbour/samples modharbour_samples
[root@server3 html]# cd /usr/lib/apache2/modules
-bash: cd: /usr/lib/apache2/modules: No existe el fichero o el directorio
buscando la carpeta apache
[root@server3 /]# cd /
[root@server3 /]# find / -name apache
/var/cpanel/config/apache
/var/cpanel/conf/apache
/usr/local/apache
/usr/local/cpanel/bin/admin/Cpanel/apache
/usr/local/cpanel/Cpanel/WebServer/Supported/apache
/usr/local/cpanel/whostmgr/docroot/templates/apache
/usr/src/conf_2017_01_17/usr/local/apache
/home/virtfs/sialm/var/cpanel/config/apache
/home/virtfs/sialm/var/cpanel/conf/apache
/home/virtfs/sialm/usr/local/apache
/home/virtfs/sialm/usr/local/cpanel/bin/admin/Cpanel/apache
/home/virtfs/sialm/usr/local/cpanel/Cpanel/WebServer/Supported/apache
/home/virtfs/sialm/usr/local/cpanel/whostmgr/docroot/templates/apache
/home/virtfs/sialm/usr/src/conf_2017_01_17/usr/local/apache
Saludos
Patricio
__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl
Patricio
__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl
- Patricio Avalos Aguirre
- Posts: 1028
- Joined: Fri Oct 07, 2005 1:56 pm
- Location: La Serena, Chile
- Contact:
Re: Instalar modharbour en el hosting
que me estará faltando ?http://www.sialm.cl/prueba.prg
mod_harbour version Jul 14 2020, 14:33:26
/tmp/libharbour.1797473664.-1524963204: cannot open shared object file: No such file or directory
failed to load hb_apache()
Saludos
Patricio
__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl
Patricio
__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Instalar modharbour en el hosting
Patricio,
Tienes que instalar estos paquetes:
sudo apt install libcurl4-openssl-dev
sudo apt install libssl-dev
Tienes que instalar estos paquetes:
sudo apt install libcurl4-openssl-dev
sudo apt install libssl-dev