LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-08-2006, 11:31 AM   #1
0x0000h
LQ Newbie
 
Registered: Jul 2004
Location: Egypt
Distribution: Slackware, SUSE 10.1 , Mandriva 2006
Posts: 14

Rep: Reputation: 0
PHP ftp module problem


Hello ,
I have PHP 5.0.5 installed on my RHEL box , i installed it from a binary package and it works fine ,
but now i need to connect to ftp server via php which is not possible because i have no FTP support and i must recompile source with --enable-ftp flag .
For multiple reasons i cannot do this , so i wonder if there is any other solution ???????

Thanks in advace .

Haitham
 
Old 11-08-2006, 11:45 AM   #2
AlbinoJap
Member
 
Registered: Mar 2004
Posts: 36

Rep: Reputation: 15
Usually, RHEL packages have FTP enabled within PHP. Are you sure it is disabled? What output do you receive when you run this command?

php -i | grep FTP
 
Old 11-08-2006, 02:54 PM   #3
0x0000h
LQ Newbie
 
Registered: Jul 2004
Location: Egypt
Distribution: Slackware, SUSE 10.1 , Mandriva 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Hello ,
First of all , thank you so much for your reply .
I ran the PHP -i|grep FTP command and i got the following output:

Configure Command => './configure' '--with-apxs2=/usr/sbin/apxs' '--with-gettext' '--with-dom' '--with-mcrypt' '--with-iconv' '--enable-mbstring=all' '--enable-mbregex' '--with-gd' '--with-png-dir=/usr/lib' '--with-jpeg-dir=/usr/lib' '--enable-mime-magic' '--with-zlib-dir=/usr/local/lib' '--with-mysql' '--with-ftp' '--with-pgsql' '--with-imap-ssl' '--with-iconv' '--enable-mbstring=all' '--enable-mbregex' '--with-oci10=/usr/lib/oracle/10.2.0.1/client/lib/' '--with-mime-magic=/usr/share/magic.mime' '--with-kerberos=/usr/kerberos' '--with-imap'
Registered PHP Streams => php, file, http, ftp, compress.zlib


so it's enabled !!!!!!!!
but i still have a problem with FTP , any idea ????

Thank you .
Haitham
 
  


Reply



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
Problem with perl module for w3c validator to work on my local Apache+PHP+perl instal tbamt Linux - Software 0 12-16-2004 05:37 PM
fglrx module not found but X runs using module biger problem though HELP! fireicer Linux - Newbie 4 07-30-2004 04:44 PM
PHP -- How to execute a shell script from PHP using FTP functions?? zoonalex Programming 3 07-29-2004 11:51 AM
php static module & dynamic module install. eye Linux - Software 0 10-18-2003 12:16 PM
FTP module? gdpr005 Linux - Networking 4 08-17-2001 04:01 PM

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

All times are GMT -5. The time now is 07:28 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