Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 10:49:39 AM

Pages: [1]   Go Down
  Print  
Author Topic: CURL  (Read 552 times)
smokey44
Spaceship Navigator
*****
Offline Offline

Posts: 79


« on: July 23, 2010, 11:11:42 AM »

Do the servers support curl on the shared servers? I am looking at embedding a video in my forum but it requires that CURL be supported on the server.
Logged
lexhair
Galactic Royalty
*****
Offline Offline

Posts: 402


« Reply #1 on: July 28, 2010, 05:37:40 PM »

Do the servers support curl on the shared servers? I am looking at embedding a video in my forum but it requires that CURL be supported on the server.
Most, if not all, do support cURL. Easy way to tell. Create a script
Code:
<?php
phpinfo
();
?>
Save it as phpinfo.php (or whatever you like) and run it from your web browser (http://www.yourdomain.com/phpinfo.php). Search for cURL and it should say 'enabled.'
Logged
MichaelT
Support
Jabba the Hutt
*****
Offline Offline

Posts: 523



« Reply #2 on: July 30, 2010, 01:43:02 AM »

Do the servers support curl on the shared servers? I am looking at embedding a video in my forum but it requires that CURL be supported on the server.

All the shared linux servers should support it. If you are not seeing it when checking with a phpinfo page (like lexhair mentioned) please send an email to support@lunarpages.com.
Logged

--

Support and Assistance:
Contacting Us
Hosting Plans
Affiliate Program
Wiki and Tutorials
smokey44
Spaceship Navigator
*****
Offline Offline

Posts: 79


« Reply #3 on: July 30, 2010, 06:35:34 PM »

thanks for the replies. i will try whats posted.
Logged
smokey44
Spaceship Navigator
*****
Offline Offline

Posts: 79


« Reply #4 on: August 19, 2010, 02:22:38 PM »

Does this show enabled?

Configure Command
 './configure' '--enable-bcmath' '--enable-calendar' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-memory-limit' '--enable-sockets' '--prefix=/usr/php4' '--with-curl=/opt/curlssl/' '--with-freetype-dir=/usr' '--with-gd' '--with-gettext' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mhash=/opt/mhash/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-pcre-regex=/opt/pcre' '--with-pgsql=/usr' '--with-png-dir=/usr' '--with-pspell' '--with-swf=/opt/flash/' '--with-ttf' '--with-xpm-dir=/usr/X11R6' '--with-zlib' '--with-zlib-dir=/usr' 
Logged
lexhair
Galactic Royalty
*****
Offline Offline

Posts: 402


« Reply #5 on: August 24, 2010, 09:00:30 AM »

Look down the phpinfo() page a little further. There's a section on CURL that will show if curl support is enabled.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: