I sent this to ports a bit back but looks like the mail server bounced
it.  You are correct, here is my original email:

Hi Ports,


Just doing pre-upgrade testing to 5.7 and just wanted to share a few
points that might need to be added to faq/upgrade57.html:

MariaDB mysql replacement wouldn't start. Uncommenting the following
in the /etc/my.cnf got it to start:

innodb_data_home_dir = /var/mysql

innodb_data_file_path = ibdata1:10M:autoextend

innodb_log_group_home_dir = /var/mysql


Then I could get it started to issue:

mysql_upgrade

Once mysql_upgrade has been run, you can then comment the lines back
out.  mysql/mariadb could restart and run as per normal without
throwing up errors in the log.


Upgrading/installing php-fpm from 5.5 to 5.6:

With php-fpm, it appears that the configuration file
(/etc/php-fpm.conf) is missing the mandatory:

user=www

Without it, it won’t start.  This isn’t an issue if you bring over
your configuration files but might catch users out that are doing
initial installs.



That is all I have found so far.  I’ll advise if I come across anything else.



Cheers,



Jason.

On 27 March 2015 at 09:48, frantisek holop <min...@obiit.org> wrote:
> looks like the transition from the older version syntax:
>
> ; Unix user/group of processes
> ; Note: The user is mandatory. If the group is not set, the default user's 
> group
> ;       will be used.
> user = www
> group = www
>
> to the new php-fpm-5.6:
>
> ; Unix user/group of processes
> ; Note: The user is mandatory. If the group is not set, the default user's 
> group
> ;       will be used.
> listen.owner = www
> listen.group = www
> listen.mode = 0660
>
>
> could be a bit smoother...
> i personally dont find the new version more readable...
>
> $ sudo /etc/rc.d/php_fpm start
> php_fpm(failed)
> $ sudo /usr/local/sbin/php-fpm-5.6
> [26-Mar-2015 23:37:41] ALERT: [pool www] user has not been defined
> [26-Mar-2015 23:37:41] ERROR: failed to post process the configuration
> [26-Mar-2015 23:37:41] ERROR: FPM initialization failed
>
> adding back
>
> user = www
>
> for the pool seems to fix this.
>
> -f
> --
> i am not a dictator.  it's just i have a grumpy face.
>
>



-- 
"Roads?  Where we're going, we don't need roads" - Dr. Emmett "Doc" Brown

Reply via email to