Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : ampps 2.5 windows bad php ext dir path



Threaded Mode | Print  

 ampps 2.5 windows bad php ext dir path (4 Replies, Read 7547 times)
delebash
Group: Member
Post Group: Newbie
Posts: 5
Status:
Windows 7 x64
Ampps2.5
Php 5.6

The path in the php.ini for 5.6 defaults to extension_dir = "E:/Program Files/AMPPS/php/ext"

it should default to ./ext

IP: --   

ampps 2.5 windows bad php ext dir path
amit.s
Group: Member
Post Group: Newbie
Posts: 45
Status:
The given path for ext directory is correct. In your case you have installed AMPPS in E:/Program Files so the path to ext directory in php.ini will be extension_dir = "E:/Program Files/AMPPS/php/ext".
IP: --   

ampps 2.5 windows bad php ext dir path
delebash
Group: Member
Post Group: Newbie
Posts: 5
Status:
Rex,

Really, I mean you just going to reply that I installed it in E:\Program Files ect ect

when I am looking at it now and it is clearly installed in F:\Ampps directory.  The path in the php.ini was bad after the initial install.

Attached is the php file for the 5.6 php folder from a clean unmodified install using the 2.5 installer for windows.  As you can see the extension_dir = "E:/Program Files/AMPPS/php/ext" when the commented out relative path "./" should be used.  Even if I installed Ampps to the the E"\Program directory the ext folder should use a relative path and not the full path anyway.
IP: --   

ampps 2.5 windows bad php ext dir path
delebash
Group: Member
Post Group: Newbie
Posts: 5
Status:
Rex,

Really, I mean you just going to reply that I installed it in E:\Program Files ect ect

when I am looking at it now and it is clearly installed in F:\Ampps directory.  The path in the php.ini was bad after the initial install.

Attached is the php file for the 5.6 php folder from a clean unmodified install using the 2.5 installer for windows.  As you can see the extension_dir = "E:/Program Files/AMPPS/php/ext" when the commented out relative path "./" should be used.  Even if I installed Ampps to the the E"\Program directory the ext folder should use a relative path and not the full path anyway.
IP: --   

ampps 2.5 windows bad php ext dir path
amit.s
Group: Member
Post Group: Newbie
Posts: 45
Status:
Hi,
From your first post i assumed that you have installed ampps in your "E:/Program Files". You are correct about the path, the path to the ext folder in php.ini should be extension_dir = "{$path}/php/ext. We will check this issue and fix it the next version.

In php-5.6.ini change the below line 
extension_dir = "E:/Program Files/AMPPS/php/ext"

to
extension_dir = "{$path}/php/ext"


IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 28, 2024, 8:23 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.021