|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Mbstring problem
I have PHP installed and trying to get mbstring working. My host is a Windows 2003 R2 server. PHP is in c:\PHP. I created a PHP page with <?php phpinfo(); ?> and it works but can not find mbstring to verify it is working. I have uncommented extension=php_mbstring.dll. I have verified the path extension_dir =c:\php\ext. In the php.ini I have done both extension_dir =c:\php\ext and extension_dir ="c:\php\ext".
Any suggestions? |
|
#2
|
||||
|
||||
|
To get changes made to php.ini to take effect, you must stop and start the web server. If this is Apache, you can stop and start the Apache service using the Windows menu items, under the Control Apache selection or you can use the "system tray" monitor if you installed it. If this is IIS, you need to go into the service control panel and stop and start the IIS service or more easily, just reboot the computer. On IIS, stopping and starting the web site in the management console does not get PHP to re-read the php.ini settings (at least it was this way the last time I used PHP on IIS.)
Also, check that the .dll is present in the ext folder. Check too that the php.ini that you are making changes to is the one that php is using. Near the top of the phpinfo() output are two lines that show where php is looking for the php.ini and the actual path/file name it is loading (if any). |
|
#3
|
|||
|
|||
|
Thank you for the quick response. It was the simplest thing. The path for the php.ini was c:\windows and I did not have the file there.
Thank you for the help. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > Mbstring problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|