luciliacoelho
asked on
PHP extension dir
Everytime I nedd to change my PHP extension file localtion I have to amend php.ini, namely the following lines:
; Directory in which the loadable extensions (modules) reside.
; http://php.net/extension-dir
; extension_dir = "./"
; On windows:
; extension_dir = "ext"
extension_dir = "C:\Myapplication\WBS\php\ ext\"
Whenever the "Myapplication" Directory has spaces between the path, for example "Program Files" PHP can´t reach the directory where the extensions reside.
Can anyone give some clue to solve this?
Kind regards
Lucilia
; Directory in which the loadable extensions (modules) reside.
; http://php.net/extension-dir
; extension_dir = "./"
; On windows:
; extension_dir = "ext"
extension_dir = "C:\Myapplication\WBS\php\
Whenever the "Myapplication" Directory has spaces between the path, for example "Program Files" PHP can´t reach the directory where the extensions reside.
Can anyone give some clue to solve this?
Kind regards
Lucilia
More information on short names can be found here: http://answers.google.com/answers/threadview/id/522710.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What DaveBaldwin said!
No points, please. ~Ray
No points, please. ~Ray
http://support.microsoft.com/kb/142982
Open a CMD promt in Windows and type:
dir *. /x
This will give you the short names.
For example, "program files" becomes "PROGRA~1"
15/05/2011 11:47 <DIR> PROGRA~1 Program Files