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 - NALF

Pages: [1]
CentOS-WebPanel Bugs / Re: Domain vhost with wrong IP
« on: June 03, 2015, 03:55:03 PM »
... the correct IP is set but then all web sites goes to default CWP page. Argggggg!  >:(

I had a really good feeling about CWP at first, I even sent a donation... but as days pass I find out bugs after bugs!
I have been working for 3-4 days now to configure and correct bugs, find workaround, etc.

I am thinking that my time would be better spent to start over from scratch and install another control panel...

But heck there is no way to uninstall CWP! My god! I'll have to ask for a OS reload from my host, they will probably charge me.

What a pain! >:( >:( >:( >:( >:(

Apache / Re: Default Page Displayed for all domains
« on: June 03, 2015, 04:05:05 AM »
Same problem here. When I try to setup a domain on different IP it always shows the default page...  >:(

CentOS-WebPanel Bugs / Domain vhost with wrong IP
« on: June 03, 2015, 03:33:25 AM »
Let's say I have 2 users:

admin with ip
user2 with ip

When I add a domain to user2 I want this domain to use the ip
The IP in the Apache vhost is always

I didn't touch the template, it uses %domain_ip%
If I Rebuild Apache vHosts the correct ip is set.

CentOS-WebPanel Bugs / Domain path truncated
« on: June 03, 2015, 03:27:12 AM »
The domain PATH is not long enought. It is getting truncated when I enter long domain name.

Path: /home/admin/domains/

Path shown: /home/admin/domains/nice-long-domain-name-are-not-unusual.sp

« on: June 02, 2015, 07:57:23 PM »
I did the same thing to install ZipArchive

« on: June 02, 2015, 07:23:40 PM »
I got it.

- I went in CWP under Php Settings\Php version switcher
- I selected the same version as actually installed (5.4.27) and clicked Next
- I modified the Additional configuration section to add --enable-soap=shared (I am not sure if the shared is important)
- Click Start compiler in background
- Keep an eye on the progress...

Code: [Select]
tail -f /var/log/php-rebuild.log
- When finished, find the module:

Code: [Select]
find / -name
There is a couple files now. The good one is the one with a path like /usr/lib64/extensions/no-debug-non-zts-20100525/

Edit php.ini to add the module

Code: [Select]
nano /usr/local/cwp/php54/php.ini
Add the following at the end:

Code: [Select]
Retstart Apache:

Code: [Select]
service httpd restart
And voilą! The SOAP information can be found on phpinfo() page and my code works.


« on: June 02, 2015, 04:23:59 PM »
SOAP calls dont' seem to work on my brand new CWP installation.

I can see the SOAP module enabled on the PHP Short Info page but it does not appear on phpinfo() page.
When I do php -i | grep -i soap I see --enable-soap and Soap Client => enabled.
It all seems fine but It doesn't work when I try to use it in my code.

I have tried to (re)install it using yum install php-soap but still no luck.

Any clue please?  :o

PHP / Re: How to Install APC for Wordpress
« on: June 02, 2015, 04:17:21 PM »
I just installed APC yesterday, it was a pain! I tried with yum but didn't woork at all. I finally got it!
Here is what I did...

Code: [Select]
tar xvzf APC-3.1.13.tgz
cd APC-3.1.13
./configure --with-php-config=/usr/local/bin/php-config
make install

Find the path of the module:

Code: [Select]
find / -name
(in my case /usr/lib64/extensions/no-debug-non-zts-20100525/

Edit php.ini:

Code: [Select]
nano /usr/local/cwp/php54/php.ini
There are many php.ini and it's pretty confusing to know which one to update. It didn't work when I updated this one /usr/local/php/php.ini

Add the following lines at the end of php.ini and change for your desired values:

Code: [Select]

Restart Apache:

Code: [Select]
service httpd restart
You should now find the APC section on phpinfo() page.

Pages: [1]