LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-30-2004, 01:06 PM   #1
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
Wink 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,
 
Old 08-30-2004, 01:50 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
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
 
Old 08-30-2004, 02:42 PM   #3
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Original Poster
Rep: Reputation: 47
perfect
you are a true PHP god.

Thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
php extension for postgresql xrado Slackware 3 12-06-2005 09:31 AM
PHP Extension for session_id tunasashimi Linux - Software 11 10-04-2005 03:46 AM
Mysql Php Extension SilentK Linux - Newbie 11 06-11-2004 08:47 AM
PHP does not show mysql as an extension Linix Linux - Newbie 7 01-31-2004 09:13 AM
Build PHP extension. ugenn Linux - Software 1 11-05-2003 05:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration