Accu Web Hosting Accu Web Hosting Accuweb Hosting
Accu Web Hosting Accu Web Hosting Window Hosting Home Accu Web Hosting Window Hosting Accu Web Hosting PHP Hosting Accu Web Hosting Reseller Accu Web Hosting SQL Hosting Accu Web Hosting   accu web hosting
 

Go Back   Web Hosting Technical Support Discussion Forum > Windows Web Hosting - Pre Sales Question > Windows Dedicated Servers

Windows Dedicated Servers Pre-sales questions related to Windows dedicated server issues.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 06-23-2006
Senior Member
 
Join Date: May 2005
Location: (.)
Age: 24
Posts: 144
Rep Power: 0
Manuel_ is on a distinguished road
Send a message via MSN to Manuel_
Default

The default location PHP searches for extensions is C:\php4\extensions in PHP 4 and C:\php5 in PHP 5. To change this setting to reflect your setup of PHP edit your php.ini file:

You will need to change the extension_dir setting to point to the directory where your extensions lives, or where you have placed your php_*.dll files. For example:

extension_dir = C:\php\extensions

Enable the extension(s) in php.ini you want to use by uncommenting the extension=php_*.dll lines in php.ini. This is done by deleting the leading ; from the extension you want to load. Example 6-8. Enable Bzip2 extension for PHP-Windows

// change the following line from ...
;extension=php_bz2.dll

// ... to
extension=php_bz2.dll

Some of the extensions need extra DLLs to work. Couple of them can be found in the distribution package, in the C:\php\dlls\ folder in PHP 4 or in the main folder in PHP 5, but some, for example Oracle (php_oci8.dll) require DLLs which are not bundled with the distribution package. If you are installing PHP 4, copy the bundled DLLs from C:\php\dlls folder to the main C:\php folder. Don't forget to include C:\php in the system PATH (this process is explained in a separate FAQ entry).

It's basically a matter of making sure that the required DLL is in place and the correct settings are in php.ini. Make sure the extension_dir specifies the correct location of php_gd2.dll, and then uncomment the line extension=php_gd2.dll.
__________________
Strat with Linux || Optimize, Secure and increase performance of Apache || Already Started
The visionary conceives the impossible, The missionary makes it possible. ...Gita.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile php Manuel_ Linux Reseller Accounts Pre-Sales Questions 0 07-10-2006 01:53 AM
Linux vs Windows hosting Manuel_ General Discussions 0 06-29-2006 02:38 AM
Setting up Perl CGI to work with Windows Server 2003 Manuel_ Windows Dedicated Servers 0 06-23-2006 07:27 AM
Howto: Install PHP on Windows 2003 Manuel_ Windows Dedicated Servers 0 06-22-2006 04:31 PM
Windows Webhosting with php and ms-sql database Jason Windows Web Hosting Discussion Forum 1 08-14-2005 07:22 PM


All times are GMT -5. The time now is 05:24 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC5
http://www.accuwebhosting.com/terms.htm

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29