Hello,
I am trying to get this working
From what i understand i need to install this onto my server as an extention?
i thought extentions were .dll's on a windows server? i dont see a .dll here
http://cvs.php.net/viewcvs.cgi/pecl/shp ... 1&pathrev=
When i down load it, where do i place the files on my Apache server ?
Any help would be great.
drew
install php Extention
Moderator: General Moderators
The directory you've linked has a README in it, which if you were to have read you would find the link to the actual library homepage and downloads. Although your message is unclear as to whether you're actually using Windows, there is a Windows distribution .zip file there.
The files in that directory are source code files, I would expect to use on Linux or a Unix derivative.
The files in that directory are source code files, I would expect to use on Linux or a Unix derivative.
Last edited by bdlang on Fri Jun 09, 2006 9:42 pm, edited 1 time in total.
you put the file in your path (where your other extension are) then make note of it in your php.ini file
extension=some_extension.dll
extension=some_extension.dll
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
- dibyendrah
- Forum Contributor
- Posts: 491
- Joined: Wed Oct 19, 2005 5:14 am
- Location: Nepal
- Contact:
extension can be loaded at runtime if you have dl() function on. But if you want the extension to be loaded everytime the apache server starts then just uncomment the line with extenstion in extension section of php.ini. But I think, running the PHP in safe mode will not allow the extension to be loaded in runtime. Please follow the following URL :
http://www.php.net/manual/en/install.pecl.windows.php
Regards,
Dibyendra
http://www.php.net/manual/en/install.pecl.windows.php
Regards,
Dibyendra
Hi everyone ,
Thanks for the tips
So i went and downloaded the .dll and exe files the read me pointed me to.
- added the .dll + others (.obj .exe) to the /ext/ dir in php
edited the php .ini file and added extension=shapelib.dll since that was the name in the windows distibution .dll
(http://dl.maptools.org/dl/shapelib/ [ shapelib128_bin_win.zip ]
restarted Apache
checked out phpinfo(INFO_MODULES);
but nothing is listed
tryied a sample file and got errors
Do i have to do anything with the . c . h .m4 or .xml to get this working ...
http://cvs.php.net/viewcvs.cgi/pecl/shp ... 1&pathrev=
Hope someone can find the time to help..
drew
Thanks for the tips
So i went and downloaded the .dll and exe files the read me pointed me to.
- added the .dll + others (.obj .exe) to the /ext/ dir in php
edited the php .ini file and added extension=shapelib.dll since that was the name in the windows distibution .dll
(http://dl.maptools.org/dl/shapelib/ [ shapelib128_bin_win.zip ]
restarted Apache
checked out phpinfo(INFO_MODULES);
but nothing is listed
tryied a sample file and got errors
Do i have to do anything with the . c . h .m4 or .xml to get this working ...
http://cvs.php.net/viewcvs.cgi/pecl/shp ... 1&pathrev=
Hope someone can find the time to help..
drew
Ah, my bad. I hadn't actually d/l and look at the files, because I run Linux here. I booted into a windows machine and once I had a look at the files in the zip realized it's actually not a PHP library, it's the actual C implementation of shapelib under Windows/DOS. The PECL extension is a PHP wrapper for that.cgishack wrote: So i went and downloaded the .dll and exe files the read me pointed me to.
- added the .dll + others (.obj .exe) to the /ext/ dir in php
edited the php .ini file and added extension=shapelib.dll since that was the name in the windows distibution .dll
(http://dl.maptools.org/dl/shapelib/ [ shapelib128_bin_win.zip ]
Looks like you may have to contact the developer (who, oddly enough also uses Slackware Linux) and find out how to procure a windows .dll extension. The alternative would be to setup a Linux Apache/PHP server and compile / use the extension provided there.