question about the latest version and apache

Problems with the Windows version of XAMPP, questions, comments, and anything related.

question about the latest version and apache

Postby EvilNick » 11. June 2018 21:45

pardon my ignorance here and forgive me if this IS in some writing I missed but Ive recently started setting up the server and installation for our new company intranet. I unfortunately am not building the site. Offered but the company would rather spend money when not needed.
Upon receiving the wordpress export of the constructed site (yes this company paid a pretty decent sum for a wordpress site) and trying to import it I received an error stating that my php was version 5 while the site was constructed using 7. I checked and I am def running the latest version of XAMMP and it has 7.25 in the PHPmyAdmin specs but when I went into the PHP ini it did say it was PHP5.6.*

Is there a discrepancy in the versions? I of course checked to late and already reverted my HypV installation to a pre imported stage but before importing again I wanted to be sure there wasnt
a) a bug or error in the latest install
b) something I might need to change or activate
c) bad installer on the site

Im more than likely thinking its something stupid like on line in a config I might need to change a 5 to a 7 but I want to be sure. When I completed their import I could not log in using their credentials for the WP backend so I was curious if a PHP mismatch might be able to cause this.

All of this could have been avoided had they just let me change a theme on our current intranet, lol, but man do people love spending other peoples money!

Thanks guys
EvilNick
 
Posts: 2
Joined: 11. June 2018 21:18
XAMPP version: 3.2.2
Operating System: windows 2012 server

Re: question about the latest version and apache

Postby Altrea » 11. June 2018 22:43

XAMPP 7.2.5 included PHP 7.2.5 (verified 2 minutes ago with the installer version).
My php.ini does not say anything about a PHP version used, not 7.2.5 and not 5.6.

Maybe you have installed an alternative PHP version on your system which is included in your Windows PATH variable.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: question about the latest version and apache

Postby EvilNick » 12. June 2018 13:24

I double check the ini and was reading wrong. It says "as of version"

; 1. SAPI module specific location.
; 2. The PHPRC environment variable. (As of PHP 5.2.0)
; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0
)

I cant understand why my word press importer is saying its version 5. I vauguley remember having a similar problem with my last attempt at using XAMMP here and our network scanner said it was an older version than it was (came to me last night) and I had to alter some header in a file to hide or change the version #.

Does this sound familiar to anyone.

I know the only version of PHP is from XAMMP as this was a clean server install.

Thanks


edit:
I found the edit to hide the PHP version
EvilNick
 
Posts: 2
Joined: 11. June 2018 21:18
XAMPP version: 3.2.2
Operating System: windows 2012 server


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 59 guests