LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ATTN PHP Gods - Need extension Help (https://www.linuxquestions.org/questions/linux-software-2/attn-php-gods-need-extension-help-224377/)

Finlay 08-30-2004 01:06 PM

ATTN PHP Gods - Need extension Help
 
I want to see what extensions are enabled on my default install from red hat 9.

I googled around and found that i can add some phpinfo thing to a script and it will tell me.

This is awesome because i have no idea how to make php scripts, i just need to know if ftp is compiled into it.

i'm assuming once this script is created i simply run it and it will output the information i need.

Does anyone have a script that does this? and how do i use it?

Thanks,

hw-tph 08-30-2004 01:50 PM

Create a file and name it phpinfo.php or something similar. Edit it and add these lines:
Code:

<?php
  phpinfo();
?>

Put it where you can access it through the web server and navigate to it. It will contain *lots* of information. Also, some features may be configured as modules so you'll have to load them through your php.ini.


Håkan

Finlay 08-30-2004 02:42 PM

perfect
you are a true PHP god.

Thank you


All times are GMT -5. The time now is 09:42 AM.