Search…

X3 Photo Gallery Support Forums

Search…
 
netopir
Experienced
Topic Author
Posts: 46
Joined: 11 Nov 2014, 14:37

Change PHP version

31 Dec 2015, 05:10

Hello

Today I have upgrade the PHP version from 5.6 to 7.0 the main page is normal a viable both the panel page become a HTTP 500 Error.

And HAPPY NEW YEAR 2016
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Change PHP version

31 Dec 2015, 23:50

Admittedly, we haven't tested X3 under PHP 7 yet, although I would't expect it to break. If it did, I would expect a PHP-related error, not "Internal Server Error".

Do you have a link so I can take a look? ... or even better, if you can offer FTP, I can figure it out completely.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Change PHP version

02 Jan 2016, 09:23

The frontend works fine:
Image

Panel
Code
PHP Fatal error:  Uncaught Error: Call to undefined function mysql_connect() in /home/mojeslik/www/panel/filemanager_core.php:37
The problem is you have setup the panel to use Database, yet your PHP does not have the necessary mysql extension. Seems like someone just upgraded the server to PHP 7 in a rush without setting up standard required extensions? Likely you can just edit your php.ini file (if you have access) and restart apache ...

Also, I am not sure what all the other folders in your web root are ... Unlikely they will create any issues, but be careful ...
 
netopir
Experienced
Topic Author
Posts: 46
Joined: 11 Nov 2014, 14:37

Re: Change PHP version

02 Jan 2016, 15:27

I changed the PHP version to 5.6 , and will contact the hoster abaut this msql problem.