Author Topic: php 7.0  (Read 6242 times)

philmi

  • Newbie
  • *
  • Posts: 2
    • View Profile
php 7.0
« on: January 14, 2016, 06:55:02 AM »
Hello
I don't know if Feng Office is compatible with php 7 yet or if it will be soon.
I haven't seen any description on this on the roadmap.
I tried to install Feng Office on php 7 and I have the problem below on the second step of the installation

Step 2: Environment checks

OK: PHP version is 7.0.0
Error: 'mysql' extension is not loaded
OK: 'gd' extension is loaded
OK: 'simplexml' extension is loaded
OK: /config is writable
OK: /cache is writable
OK: /upload is writable
OK: /tmp is writable


This appear with Feng 3.0.4.7 installation
Of course, there is PDO support enabled
PDO Driver for MySQL   enabled
Client API version   5.1.63


Well, if someone can give me info on this
Thank's
« Last Edit: January 14, 2016, 10:18:17 AM by philmi »

philmi

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: php 7.0
« Reply #1 on: January 15, 2016, 05:44:43 AM »
I had an answer from Conrado Viņa, CEO at Fengoffice, yesterday.
At this time, Fengoffice have not been tested with php7.
To be continued so
Philippe

mwestre

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: php 7.0
« Reply #2 on: May 09, 2016, 06:15:19 AM »
Hi,

I have the same problem.
Is there any update regarding this matter?
Running a new 16.04 Ubuntu install, with php 7 installed.

OK: PHP version is 7.0.4-7ubuntu2
Error: 'mysql' extension is not loaded
OK: 'gd' extension is loaded
OK: 'simplexml' extension is loaded
OK: /config is writable
OK: /cache is writable
OK: /upload is writable
OK: /tmp is writable

Some feedback would be greatly appreciated!

steveg

  • Full Member
  • ***
  • Posts: 174
    • View Profile
Re: php 7.0
« Reply #3 on: May 10, 2016, 03:20:56 PM »
php7 is not currently supported, so you will have to roll back to 5.4+ for the FO installation.

IvanFLO

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: php 7.0
« Reply #4 on: November 15, 2016, 03:39:35 PM »
I have the same errors

OK: PHP version is 7.0.4-7ubuntu2
Error: 'mysql' extension is not loaded
OK: 'gd' extension is loaded
OK: 'simplexml' extension is loaded
OK: /config is writable
OK: /cache is writable
OK: /upload is writable
OK: /tmp is writable

My server requires PHP7 for other applications.
When would a eta to fix this problem?

Thanks

rubenibarra

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: php 7.0
« Reply #5 on: November 16, 2016, 02:57:22 PM »
I am having this issue as well. However, I think I can fix the issue directly as I think I know where the problem is. Where can I assign this bug to me?

By the way, I posted this accidentally as a new topic. I apologize for my mistake.

IvanFLO

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: php 7.0
« Reply #6 on: November 17, 2016, 08:52:27 AM »
Hello,

When copying the complete 'office to the webserver, It starts whit
Step 1
Code: [Select]
Step 1: Welcome

Feng Office is an open source web office. It includes document, spreadsheet and presentation web editor as well as a project management system. Feng Office is:

Easy to use - basic set of tools that just work
Easy to install - here you are, just follow the instructions
100% free - free for all, even for commercial use
Web based - after installation the only thing you'll need is a web browser
Installation steps:

Welcome
Environment check
Configuration
Finish
You should be done shortly.


Step 2
Step 2: Environment checks

OK: PHP version is 7.0.8-3ubuntu3
Error: 'mysql' extension is not loaded
OK: 'gd' extension is loaded
OK: 'simplexml' extension is loaded
OK: /config is writable
OK: /cache is writable
OK: /upload is writable
OK: /tmp is writable

MYSystem
Code: [Select]
$CMS_VERSION = "1.12.2";
$CMS_VERSION_NAME = "Kolonia";
$CMS_SCHEMA_VERSION = "37";

I run my own Linux Ubuntu server:
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.5 LTS
Release:        14.04
Codename:       trusty

Server: Localhost via UNIX socket
Servertype: MySQL
Serverversie: 5.5.52-0ubuntu0.14.04.1 - (Ubuntu)
Protocolversie: 10
Gebruiker: xxxxx@localhost
Karakterset van server: UTF-8 Unicode (utf8)

Apache/2.4.7 (Ubuntu)
Client-versie van databank: libmysql - 5.5.52
PHP-uitbreiding: mysqli

Yesterday I installed
apt-get nstall -y mysql *
apt-get nstall -y php7*



I run other webpages, configured for php7, so downwardds is not an option.


My WebServer is next to me, fyi.

Yours Sincerely

Ivan

mknowlton

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: php 7.0
« Reply #7 on: November 21, 2016, 12:56:39 PM »
Feng Office uses MySQL, this feature has been removed from PHP7 in favor of MySQLi. If you have a Ubuntu box and know a bit about the CLI you can recompile MySQL back into PHP7 and continue with your installation. Run a google search for "How to put MySQL functions back into PHP 7". You should find an article from ckon on wordpress with a very good tutorial.

pasnox

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: php 7.0
« Reply #8 on: January 16, 2017, 07:19:27 PM »
Many distributions still provide pdo mysql (even ubuntu 16.04).
Though this still does not allow fengoffice to run under php7.
Getting error 'Class DB not found' in the functions.php / __shutdown() code.

Is any php7 port planned, php5 is quite old from now on :/

peteman52

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: php 7.0
« Reply #9 on: February 04, 2017, 12:57:17 PM »
I ported fengoffice 3.4.4.1 to php 7.
At the moment it looks fine but it needs thoroughly testing.

My system:
Distributor ID:   Ubuntu
Description:   Ubuntu 16.04.1 LTS
Release:   16.04
Codename:   xenial
Linux 4.4.0-57-generic #78-Ubuntu SMP Fri Dec 9 23:50:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

PHP
7.0.13-0ubuntu0.16.04.1 (cli) ( NTS )

mysql 
Ver 14.14 Distrib 5.7.17, for Linux (x86_64)

Apache Server version:
Apache/2.4.18 (Ubuntu)
2016-07-14T12:32:26

Anybody interested is free to contact me.

erama

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • erama
Re: php 7.0
« Reply #10 on: May 10, 2017, 03:10:08 PM »
Hi peteman52, how can I do it, I need run fengoffice with PHP7.0 and mysqli support?...

 Thank you very much!

vl

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: php 7.0
« Reply #11 on: May 11, 2017, 09:31:52 AM »
This is Mysqli db adapter  vl.hotkey.ru/files/fo3/MysqliDBAdapter.class.php.bz2
download, unpack in  environment/library/database/adapters
Change config to define('DB_ADAPTER', 'mysqli');

stech

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Re: php 7.0
« Reply #12 on: October 05, 2017, 10:28:14 AM »
For some reason I could not post a new topic with my patch files (Upload path not found errors), so I gave up and just posted it on my company's website.  Blocking external links in a forum is ridiculous too.
silvatechsolutions.com tech-tips new-ubuntu-server-install-fengoffice-php-7

netgifted

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Re: php 7.0
« Reply #13 on: November 02, 2017, 08:40:41 PM »
Same problem here Error: 'mysql' extension is not loaded I'm trying to install on a Godaddy server

 

anything
anything