Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a windows server 2008 r2 and i have uploaded sites there. I need an automatic way to check what version of joomla is per site. The best is to have 1 script and after running i want to see this output:

[site] [version] my problem is to check for my clients if they have upload or didn't update to last version for security breach. Any idea?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Search for and parse the version.php file.

The location has changed a few times, but you could search in the places you know it should be. If you can't find a valid version.php then have your script alert for that site/instance. Once you find the file check that is valid. Your check could be a simple sha256() comparison to the current stable release, or you could actually check the version number in the PHP file.

See this thread for locations for some older versions version.php.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.