New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

ERROR APACHE WEBSERVER

Started by kortibu, April 03, 2018, 03:09:38 AM

Previous topic - Next topic

kortibu

Hi,

I'm using CWP Pro, but I cannot to setup Apache & Varnish Cache & Nginx Reverse Proxy or Apache & Nginx Reverse Proxy.

Error:

Warning: file_put_contents(/etc/nginx/conf.d/103.9.xxx.xxx.conf): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/include/hooks.php on line 0

Please help me! Many thanks.

c1audiu

I have same issue... :'(
Can anyone help?

c1audiu

After a little debugging i found the issue. It seems that if you change php with "PHP Version Switcher" even if you compile the new php with "ioncube" enabled, the enconded content of "usr/local/cwpsrv/htdocs/resources/admin/include/hooks.php" file cannot be read with the new version.

kortibu, use "curl http://dl1.centos-webpanel.com/files/s_scripts/sinfo.sh|sh" and see what is the problem at your side...

kortibu

c1audiu: thank you so much, now i knew the raison of this error. So, should we to remove ioncube while compiling PHP Version or to upgrade Ioncube version???

kortibu

My error on SSH: PHP Fatal error:  The file /usr/local/cwpsrv/htdocs/resources/scripts/cwp_version was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1.

Igor S.

Quote from: kortibu on April 06, 2018, 05:30:33 AM
My error on SSH: PHP Fatal error:  The file /usr/local/cwpsrv/htdocs/resources/scripts/cwp_version was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1.

Hello.

Try to install ionCube for your PHP version



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services