Support

Admin Tools

#16527 Problem doing a PHP file scanner

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Tuesday, 25 June 2013 12:05 CDT

karen444
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? YES
Have I searched the tickets before posting? YES
Have I read the documentation before posting (which pages?)? YES
Joomla! version: 2.5.11
PHP version: 5.4.x
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Admin Tools version: 2.5.5

Description of my issue:
I would like to do a php file scanner but without success. If I understand correctly, you need to make the temp file writable. So I went and changed the permissions to the temp file to 777. Then I uploaded a .htaccess file which included the two lines found in the guide under the temp folder with the help of FTP.
Then I am supposed to give permissions to this .htaccess file to 444. But when I go inside the temp folder in the Permissions configuration section, it is not there.
Do you know what I did wrong ?
I still tried to do a PHP file scanner and it said nothing to report, so I conclud that it did not work,
Thanks !
Karine

nicholas
Akeeba Staff
Manager
The .htaccess file and all files whose name starts with a dot are hidden in UNIX-like operating systems such as Linux, the operating system of choice in over 80% of servers. As a result your FTP client application will not show this file. Most FTP client applications have an option to show hidden files. You need to enable it in order to see the .htaccess file.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

karen444
I discovered that you can change permissions in the File Manager in Cpanel, where you can see the hidden files. So I changed the permissions from there. But the scan still did not work. No files were scanned.
Is it OK to change the permisions from the File Manager ?
Is the .htaccess file not OK (I just created a file and inserted the two lines), do I need to take the one already on the site (with all the code) and insert the two lines ?
Or it is something else ?
When I read the instructions, it did not seem complicated, but I cannot see what I did wrong,
Thanks !
Karine

nicholas
Akeeba Staff
Manager
Please click on the blue Configure button in the PHP File Scanner page and set the following file types to scan (one on each line):
php
phps
php3
php5
inc

Make sure the minimum execution time is set to 1, maximum execution time set to 5 and runtime bias set to 75%. Then click on the Save & Close button. This will allow the PHP File Scanner to work correctly.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

karen444
Bingo ! It worked !
Thanks very much.

nicholas
Akeeba Staff
Manager
You're welcome!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!