F5F Stay Refreshed Software Operating Systems The system isn't locating php.info.

The system isn't locating php.info.

The system isn't locating php.info.

Z
Zoe783
Member
180
08-11-2017, 03:22 PM
#1
Hi, for your Joomla setup you want to verify if a particular feature is active using the PHPi configuration. You’ll need to inspect the php.ini file located in the Apache root directory (/var/www/html). To find the corresponding php.info file, check the standard installation paths or documentation. Since your system uses Debian Buster, ensure the files are accessible from the test client’s environment. Let me know if you need guidance on extracting or viewing those files.
Z
Zoe783
08-11-2017, 03:22 PM #1

Hi, for your Joomla setup you want to verify if a particular feature is active using the PHPi configuration. You’ll need to inspect the php.ini file located in the Apache root directory (/var/www/html). To find the corresponding php.info file, check the standard installation paths or documentation. Since your system uses Debian Buster, ensure the files are accessible from the test client’s environment. Let me know if you need guidance on extracting or viewing those files.

B
babyabuser666
Junior Member
23
08-17-2017, 02:47 PM
#2
Consider adding .php at the end of the URL. Or open Notepad and enter this code: <? php phpinfo (); ?> Save it, choose "All file types," type a filename like filename.php, save in the Apache serving directory, then visit it using the IP address followed by the slash.
B
babyabuser666
08-17-2017, 02:47 PM #2

Consider adding .php at the end of the URL. Or open Notepad and enter this code: <? php phpinfo (); ?> Save it, choose "All file types," type a filename like filename.php, save in the Apache serving directory, then visit it using the IP address followed by the slash.

X
x2fight
Member
52
08-19-2017, 09:55 AM
#3
Hi, thank you. The file phpinfo.php already had the information included. Even though I tried to look for it on the client machine, it wasn’t found.
X
x2fight
08-19-2017, 09:55 AM #3

Hi, thank you. The file phpinfo.php already had the information included. Even though I tried to look for it on the client machine, it wasn’t found.

D
DiosNegroX
Junior Member
34
08-19-2017, 10:09 AM
#4
To locate the 'php.ini' file, you could use sudo find / -name php.ini which would likely show options like /etc/phpX/cli/php.ini or /etc/phpX/apache2/php.ini. If you encounter a 404 error despite having all PHP files in place, it suggests the files aren't being processed correctly. Try running a simple script such as 'helloworld.php' to test. The example provided demonstrates a basic HTML page with PHP output. You may also want to verify that the PHP module is enabled via sudo apache2ctl -M and consider using a2enmod php5 or php7.x if needed. Check your '.htaccess' file for any misconfigurations.
D
DiosNegroX
08-19-2017, 10:09 AM #4

To locate the 'php.ini' file, you could use sudo find / -name php.ini which would likely show options like /etc/phpX/cli/php.ini or /etc/phpX/apache2/php.ini. If you encounter a 404 error despite having all PHP files in place, it suggests the files aren't being processed correctly. Try running a simple script such as 'helloworld.php' to test. The example provided demonstrates a basic HTML page with PHP output. You may also want to verify that the PHP module is enabled via sudo apache2ctl -M and consider using a2enmod php5 or php7.x if needed. Check your '.htaccess' file for any misconfigurations.