How to enable curl in Appserv to overcome Fatal error: Call to undefined function curl_init()

By default appserv don’t enable curl extension. To enable that extension you need to check the following section :
1. php extension directory
Make sure you see php_curl.dll in the list.

curl How to enable curl in Appserv to overcome Fatal error: Call to undefined function curl init()

As you see php_curl listed in  you can continue.

2. Open php.ini

Delete ; sign in front of extension=php_curl.dll

;extension=php_mbstring.dll
;extension=php_bz2.dll
;extension=php_curl.dll
;extension=php_dba.dll
extension=php_dbase.dll
;extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_filepro.dll
extension=php_gd2.dll
;extension=php_gettext.dll

save the file.

3. Restart apache service

curl2 How to enable curl in Appserv to overcome Fatal error: Call to undefined function curl init()

Try again to run script that utilize curl() related function.

See you in other post!

Thanks for reading, if you think this post help you please consider to buy me a beer

  • Share/Bookmark
Tips

Howto password protect directory in cpanel based hosting

How to add password protection to a folder inside my blog?

That question came from a hostingformula.net reader and I try to answer it with example.

I use cpanel based hosting where facility for password protect directory provided under ‘Security’ section.

Target :

I’ll create new folder called ‘magic‘ that protected by username and password.

Open cpanel and find security area, find password protected directory and clic the icon.

cpanel protect directory 1 Howto password protect directory in cpanel based hosting

Pick a directory to open. I choose hostingformula.net

click Go.


Read the rest of this entry »

Thanks for reading, if you think this post help you please consider to buy me a beer

  • Share/Bookmark
Step By Step

How to find out uptime status of my VPS

I love to use netcraft for see how my vps server serve me.

Just change this address to your need :

http://uptime.netcraft.com/up/graph?site=yourdomain.extension

If netcraft has your data they will show you data like this one but if not you must wait for few days :-)

vps uptime 1 How to find out uptime status of my VPS


Read the rest of this entry »

Thanks for reading, if you think this post help you please consider to buy me a beer

  • Share/Bookmark
Tips, Vps