GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 15-Jan-2007, 02:26
nirvana4lf nirvana4lf is offline
New Member
 
Join Date: Oct 2004
Posts: 8
nirvana4lf is on a distinguished road

Enabling PHP extensions on windows


i wanna run my php scripts on my computer instead of a website that i own. so i downloaded the latest php from php.net and installed it. when i run the program, it just gives me errors about missing DLL's, when in fact, all the dynamic libraries are in place. For example, it will say that it cant find C:\Program Files\PHP\ext\php_mbstring.dll when in fact its right there. How can I fix this?
  #2  
Old 18-Jan-2007, 00:34
admin's Avatar
admin admin is offline
Administrator
 
Join Date: Sep 2002
Posts: 741
admin will become famous soon enough

Re: installing php on windows


I do remember having similar problems in the past, with certain DLLs only.

So what I will suggest is for you to disable all the DLLs inside the php.ini file. Then slowly, enable them one by one, starting with the ones you really need. See if you can get PHP working with no extensions enabled, then enabling them each or in 'batches' at a time.

In my php.ini file, the extensions directory is set like this:

Code:
; Directory in which the loadable extensions (modules) reside. extension_dir = "/Program Files/php/php-4.4.2-Win32/extensions"
__________________
Custom BB codes you can use here:
[HTML] | [C++] | [CSS] | [JAVA] | [PY] | [VB]
  #3  
Old 18-Jan-2007, 09:53
nirvana4lf nirvana4lf is offline
New Member
 
Join Date: Oct 2004
Posts: 8
nirvana4lf is on a distinguished road

Re: installing php on windows


I tried that, and strangely, it behaved the same way! It was still saying it couldnt find those DLLs, even though I removed all of the dll statements in the php.ini file.


Quote:
Originally Posted by admin
I do remember having similar problems in the past, with certain DLLs only.

So what I will suggest is for you to disable all the DLLs inside the php.ini file. Then slowly, enable them one by one, starting with the ones you really need. See if you can get PHP working with no extensions enabled, then enabling them each or in 'batches' at a time.

In my php.ini file, the extensions directory is set like this:

Code:
; Directory in which the loadable extensions (modules) reside. extension_dir = "/Program Files/php/php-4.4.2-Win32/extensions"
 
 

Recent GIDBlogLast Week of IA Training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PayPal's PHP SDK on Windows s2j1j1b0 MySQL / PHP Forum 1 05-Aug-2006 01:50
Incomplete output using Apache and PHP in Windows canobi2005 Apache Web Server Forum 4 23-Aug-2005 10:59
[Linux] - Installing PHP 4.3.2 JdS Computer Software Forum - Linux 1 14-Jul-2003 05:50
Windows: From only £20p/y,Linux: from $10p/m. ASP, ASP.NET, PHP, Free MySQL, +More EyotaHosts Web Hosting Advertisements & Offers 0 28-Jun-2003 13:54
Installing Linux with Windows ME JdS Computer Software Forum - Linux 4 30-Apr-2003 17:47

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 08:42.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.