FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old July 22nd, 2001, 01:55 PM
pulsewidth pulsewidth is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Walnut, CA, USA
Posts: 8 pulsewidth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to pulsewidth
PHP + FTP module?

Hi,

I'm trying to use some of the FTP functions, like ftp_connect in a PHP script. I compiled PHP with the "--with-ftp" parameter during configuration, and the FTP functions still don't seem to work for me, although other PHP functions and mySQL are working fine (I compiled using "--with-mysql" also). I'm returned this error when I try calling ftp_connect:

Fatal error: Call to undefined function: ftp_connect()

Is there something I'm doing wrong? An additional module I might need to use FTP maybe? Or something I need to enable in Apache?

Any advice would be much appreciated.

Thanks...

Reply With Quote
  #2  
Old July 22nd, 2001, 04:57 PM
petergarda petergarda is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 1 petergarda User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Lightbulb PHP + FTP module?

U have to configure PHP with: "--enable-ftp".
When I did that so it's worked. My wrote:

./configure --with-xml --with-mysql=/usr/local/mysql --with-gd --with-ftp --with-apache=../apache_1.3.20 --enable-ftp --enable-track-vars

I hope it helps!

..........PeterG.........

Reply With Quote
  #3  
Old July 22nd, 2001, 07:47 PM
pulsewidth pulsewidth is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Walnut, CA, USA
Posts: 8 pulsewidth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to pulsewidth
Thanks, Peter! That worked perfectly.. thanks a ton!

Reply With Quote
  #4  
Old January 2nd, 2004, 11:26 AM
dmalhotr dmalhotr is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 1 dmalhotr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ftp module problem

Hi,

I am having the same problem.

I need ftp part of php installed. I actually have mysql,apache and php already on my server, and don't want to mess up the already configured server and the files, just add the ftp part.

How do I do this?

I tried:

./configure --with-xml --with-mysql=/usr/local/mysql --with-gd --with-ftp --with-apache=../apache_1.3.20 --enable-ftp --enable-track-vars

However I get an ERROR:

configure: error: Invalid Apache directory - unable to find httpd.h under /home/dmalhotr/downloads/linux/php/apache_1.3.20


when I do whereis apache I get:

/usr/lib/apache /usr/include/apache


I am not sure how to do this.

Any help would be greatly appreciated.

Thanks


DHRUV

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > PHP + FTP module?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway