This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
SSL / /usr/local/apache/conf.d/vhosts/mydomain.com.ssl.conf cannot be seen
« on: February 22, 2021, 12:29:16 PM »
I do not know what happened but in my new installation in the google cloud service everything does not work as I normally know it, I am using version 8 of cwp and then everything changes a bit but I cannot find the tractions files that I know and well, I don't really know how make them appear to make the respective modification
2
PHP / Re: PHP Selector
« on: October 23, 2019, 04:43:13 PM »
In my server this no work, and ejecut one error 500
From version 0.9.8 all CWP servers have a CWP PHP Selector which can install all PHP versions with a single click.
Using CWP PHP selector you can use a different PHP version per folder or domain.
Available PHP versions in the CWP PHP Selector
- php 4.4
- php 5.2
- php 5.3
- php 5.4
- php 5.5
- php 5.6
- php 7.0
- php 7.1
- php 7.2
- php 7.x (development version from php git, don't use for production server!!!)
You can completely modify flags per PHP version according to you needs.
PHP per folder
Now each user can run PHP version per folder, meaning that each folder can have a different php version, example:
/home/USERNAME/public_html runs PHP 5.4
/home/USERNAME/public_html/test runs PHP 5.6
/home/USERNAME/public_html/my-domain.com runs PHP 5.2
/home/USERNAME/public_html/my-domain.com/application runs PHP 5.3
Usage instructions
In each folder you want to run different PHP version you only need to define it in the .htaccess file.
Example for file: /home/USERNAME/public_html/.htaccess
Use PHP 4.4Code: [Select]AddHandler application/x-httpd-php44 .php
Use PHP 5.2Code: [Select]AddHandler application/x-httpd-php52 .php
Use PHP 5.3Code: [Select]AddHandler application/x-httpd-php53 .php
Use PHP 5.4Code: [Select]AddHandler application/x-httpd-php54 .php
Use PHP 5.5Code: [Select]AddHandler application/x-httpd-php55 .php
Use PHP 5.6Code: [Select]AddHandler application/x-httpd-php56 .php
Use PHP 7.0Code: [Select]AddHandler application/x-httpd-php70 .php
Use PHP 7.1Code: [Select]AddHandler application/x-httpd-php71 .php
Use PHP 7.2Code: [Select]AddHandler application/x-httpd-php72 .php
To run some other PHP version in the other folder, you can use the same example.
Example lets run php 5.3 in /home/USERNAME/public_html/domain1.com/
Edit /home/USERNAME/public_html/domain1.com/.htaccess file and addCode: [Select]AddHandler application/x-httpd-php53 .php
Example lets run php 5.2 in /home/USERNAME/public_html/domain2.com/
Edit /home/USERNAME/public_html/domain2.com/.htaccess file and addCode: [Select]AddHandler application/x-httpd-php52 .php
php.ini configuration file locationsCode: [Select]/opt/alt/php44/usr/php/php.ini
/opt/alt/php52/usr/php/php.ini
/opt/alt/php53/usr/php/php.ini
/opt/alt/php54/usr/php/php.ini
/opt/alt/php55/usr/php/php.ini
/opt/alt/php56/usr/php/php.ini
/opt/alt/php70/usr/php/php.ini
/opt/alt/php71/usr/php/php.ini
/opt/alt/php72/usr/php/php.ini
php config file scan dirCode: [Select]/opt/alt/php44/usr/php/php.d
/opt/alt/php52/usr/php/php.d
/opt/alt/php53/usr/php/php.d
/opt/alt/php54/usr/php/php.d
/opt/alt/php55/usr/php/php.d
/opt/alt/php56/usr/php/php.d
/opt/alt/php70/usr/php/php.d
/opt/alt/php71/usr/php/php.d
/opt/alt/php72/usr/php/php.d
and so on.
To delete some php selector version use this command (example)
rm -Rf /opt/alt/php71
be careful with this command as you can easily delete wrong path.
3
CentOS 7 Problems / problen in subdomain no function
« on: February 24, 2018, 10:35:17 PM »
Hi, I'm from Colombia and I'm new to this cwp and I like it a lot after searching so much, but my only problem is that no subdomain works. I believe it from within. I believe it as a domain. it works check everything, and formatted my server about 20 times and in no way possible it works.
I have a domain that works perfectly that allows me to connect my first time from my PC that has IP 186.31.88.82, and my server has IP 186.31.88.84 which is with the installation of my service and is the main address of my service and my network card is already configured to have 3 ips, I have no active networkmanager is installed the bind
It has all the necessary programs for this and I want to work only with subdomains that do not consume the things that users can use for real domains but so far this issue of subdomains is not able to migrate, I have seen several posts but in all solves miraculously, without doing anything, in one, he said, that reintiere in the PC and already but this is the activity performed for a while, without seeing the results of my problem.
I do not have any kind of error in my platform or services, everything is active and functioning
///////////////////////////////////////////////////////////////////////////////////////
hola soy de colombia y soy nuevo en esto de cwp y pues me gusta muchisomo despues de buscar tanto, pero mi problema unico es que no funciona ningun subdominio yo lo creo desde adentro subdominio lo creo como dominio lo creo como cuanta pero de manera inguna no funciona revise todo, y formateado mi servidor al rededor de unas 20 veces y de ninguna manera posible funciona.
Tengo un dominio que funciona a la perfección que me permite conectar mi primera vez desde mi PC que tiene IP 186.31.88.82, y mi servidor tiene IP 186.31.88.84 que es con la instalación mi servicio y es la dirección principal de mi servicio y mi targeta de red ya esta configurada para tener 3 ips, no tengo activo el networkmanager esta instalado el bind
tiene todos los programas necesarios para esto y quiero trabajar solo con subdominios que no me consume las cosas que los usuarios pueden usar para los dominios reales pero que hasta ahora no está este tema de los subdominios no puedo migrar, he visto varios posts pero entodos se soluciona de forma milagrosa, sin hacer nada, en uno solo, decia, que reintiere en la PC y ya pero esta es la actividad realizada por una ocación, sin ver los resultados de mi problema.
No tengo ningún tipo de error en mi plataforma o de los servicios todo esta activo y funcionado
I have a domain that works perfectly that allows me to connect my first time from my PC that has IP 186.31.88.82, and my server has IP 186.31.88.84 which is with the installation of my service and is the main address of my service and my network card is already configured to have 3 ips, I have no active networkmanager is installed the bind
It has all the necessary programs for this and I want to work only with subdomains that do not consume the things that users can use for real domains but so far this issue of subdomains is not able to migrate, I have seen several posts but in all solves miraculously, without doing anything, in one, he said, that reintiere in the PC and already but this is the activity performed for a while, without seeing the results of my problem.
I do not have any kind of error in my platform or services, everything is active and functioning
///////////////////////////////////////////////////////////////////////////////////////
hola soy de colombia y soy nuevo en esto de cwp y pues me gusta muchisomo despues de buscar tanto, pero mi problema unico es que no funciona ningun subdominio yo lo creo desde adentro subdominio lo creo como dominio lo creo como cuanta pero de manera inguna no funciona revise todo, y formateado mi servidor al rededor de unas 20 veces y de ninguna manera posible funciona.
Tengo un dominio que funciona a la perfección que me permite conectar mi primera vez desde mi PC que tiene IP 186.31.88.82, y mi servidor tiene IP 186.31.88.84 que es con la instalación mi servicio y es la dirección principal de mi servicio y mi targeta de red ya esta configurada para tener 3 ips, no tengo activo el networkmanager esta instalado el bind
tiene todos los programas necesarios para esto y quiero trabajar solo con subdominios que no me consume las cosas que los usuarios pueden usar para los dominios reales pero que hasta ahora no está este tema de los subdominios no puedo migrar, he visto varios posts pero entodos se soluciona de forma milagrosa, sin hacer nada, en uno solo, decia, que reintiere en la PC y ya pero esta es la actividad realizada por una ocación, sin ver los resultados de mi problema.
No tengo ningún tipo de error en mi plataforma o de los servicios todo esta activo y funcionado
Pages: [1]