Control Web Panel

WebPanel => PHP Selector => Topic started by: allvcc on April 23, 2015, 11:05:41 AM

Title: ioncube setup for PHP Version 5.2 php.ini location!!!
Post by: allvcc on April 23, 2015, 11:05:41 AM
Hi

By default cwp installed PHP Version 5.4 . i install ioncube loader and its work fine for php.ini. but now i want to test my script in php 5.2 and need ioncube loader for this version . But i add all ioncube versions in default php.ini. but it not work for php. where is the location of php.ini file for version 5.2.

Reply aspa

thanks
Title: Re: ioncube setup for PHP Version 5.2 php.ini location!!!
Post by: Parricull on June 01, 2015, 11:54:43 AM
It should not change location, it should be in usr/local/php/php.ini
Title: Re: ioncube setup for PHP Version 5.2 php.ini location!!!
Post by: dmidz on September 04, 2015, 06:06:29 PM
I am wondering the same, @Parricull are you sure of that ?
When editing this file, for example setting short_open_tag to off and restarting apache, my phpinfo is still short_open_tag on.
Then my user php ini has not this option.
So it seems this is not the default top ini file used by the php selector version...
The php info "Configuration File (php.ini) Path" is /opt/alt/php52/usr/php, but there is no such "php" dir by default...
Does it means this dir should be created manually, copying in a default php.ini for this php version ?
Title: Re: ioncube setup for PHP Version 5.2 php.ini location!!!
Post by: Administrator on October 22, 2015, 06:46:43 PM
you should use phpinfo() functions to see where php.ini file location is set.