post your comment   print   send to a friend
Rate:  75% | Views: 547
Question categories:  NT Plans

i have a windows-based hosting plan. how can i enable additional php extensions?

Answer by: Stuart Pierce, Aplus.Net Knowledge Base Support.

Please note that the information below is related to Windows-based hosting plans only. If you have Unix-based hosting and want to modify your php.ini file, please look here: How do I use the PHP Configuration tool?


With Windows-based hosting you cannot modify a custom php.ini file. However, you can load additional PHP extensions by attaching the following line to the beginning of your PHP files:

if (!extension_loaded('php_extension_name.dll')) dl('php_extension_name.dll');

Note: In the example above you have to replace php_extension_name.dll with the actual name of the extension you wish to load, e.g. php_gd2.dll.

Related links:


Customer Feedback
Rate:  75% | Views: 547 | Please Rate:  
 
If you have other comments or ideas for future technical tips, please type them here:

Email: (optional)

Comments: (optional)

 Hosting Service | Asp Hosting    Back to serch results
Browse the Base
Knowledge Base
Shared Hosting
  NT Plans
Messages
Private Area
 
Ask
in Private
   
Personal
Folder
 
Related Questions
 
1. How can I connect to a Microsoft Access database using ASP?
 
2. How do I access the SQL Server that comes with my Windows hosting plan?
 
3. Some of the asp pages in my site use ASPEmail or CDONTS mail components but they don't work.
 
4. How do I enable SQL on my Windows plan using Aplus.Net web Control Panel?
 
5. What do i need to do to get an ASP.NET project to work?
 
Home Browse Search Ask in Private Personal Folder   Help
powered by web hosting 
  Logged as: Guest