Show Posts

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.


Messages - LifeSteala

Pages: [1]
1
Apache / Re: [SOLVED] PHP Selector installs Apache from Yum
« on: November 20, 2016, 08:00:40 AM »
I managed to fix this. I read the php-selector-build.log and it says you have to add paths to PHP include_path variable.

I added this to CWP php.ini file:

Code: [Select]
include_path = "/opt/alt/php56:/opt/alt/php7/usr/lib/php"
I can now choose which PHP version I want using .htaccess files.

This should be added to the wiki.

2
Information / Re: some errors
« on: November 15, 2016, 08:16:26 PM »
Hello,
Yes, I get the exact same errors.

What are the fixes please?

3
Apache / [SOLVED] PHP Selector installs Apache from Yum
« on: November 15, 2016, 12:18:01 AM »
Hey,
I need some help with Apache and PHP Selector. When I install dependencies it seems to install Apache 2.2.15 from Yum. This effects installed domains with Let's Encrypt SSL certificates. These domains don't load.

I remove Apache using yum remove and restart the server which makes all domains work again.

The problem, I cannot use the .htaccess commands to set a folder to use another PHP version.

What do I do?

4
CentOS-WebPanel Bugs / PHP Selector - PHP5.2 invalid flag
« on: February 21, 2016, 01:55:31 AM »
Hey there,
I've come across a bug with PHP Selector, specifically when it comes to installing PHP 5.2.

The directive is incorrect:
Code: [Select]
--libdir=/usr/lib64
Default Invalid Flags:
Code: [Select]
./configure
--prefix=/opt/alt/php52/usr
--with-zlib
--enable-soap
--enable-exif
--with-config-file-path=/opt/alt/php52/usr/php
--with-config-file-scan-dir=/opt/alt/php52/usr/php/php.d
--enable-phar
--enable-bcmath
--enable-calendar
--with-curl
--with-iconv
--with-mysql
--with-mysqli
--with-mcrypt
--with-gettext
--with-xsl
--with-xmlrpc
--with-pdo-mysql
--enable-posix
--enable-ftp
--with-openssl
--enable-mbstring
--with-jpeg-dir=/usr
--with-freetype-dir=/usr
--with-kerberos
--with-xsl
--with-bz2
--enable-sockets
--enable-zip
--with-gd
--with-imap
--with-imap-ssl
--enable-sockets
--with-pcre-regex
--libdir=/usr/lib64
--with-mysql-sock=/var/lib/mysql/mysql.sock

Fixed Flags:
Code: [Select]
./configure
--prefix=/opt/alt/php52/usr
--with-zlib
--enable-soap
--enable-exif
--with-config-file-path=/opt/alt/php52/usr/php
--with-config-file-scan-dir=/opt/alt/php52/usr/php/php.d
--enable-phar
--enable-bcmath
--enable-calendar
--with-curl
--with-iconv
--with-mysql
--with-mysqli
--with-mcrypt
--with-gettext
--with-xsl
--with-xmlrpc
--with-pdo-mysql
--enable-posix
--enable-ftp
--with-openssl
--enable-mbstring
--with-jpeg-dir=/usr
--with-freetype-dir=/usr
--with-kerberos
--with-xsl
--with-bz2
--enable-sockets
--enable-zip
--with-gd
--with-imap
--with-imap-ssl
--enable-sockets
--with-pcre-regex
--with-libdir=lib64
--with-mysql-sock=/var/lib/mysql/mysql.sock

Hope that helps anyone!

Pages: [1]