Where to get php_perl.dll while pecl4win is down? - php

I need to call a Perl script from a PHP file, and I've gotten as far as know that I need the Perl class, and that it's in the php_perl.dll extension. I've also downloaded the php_perl package from PECL, but as you know, it's just the source and needs to be compiled. I don't work in C, so compiling it's not really an option -- I tried downloading Visual Studio Express but I still can't seem to make it happen.
So I really need php_perl.dll, but http://pecl4win.php.net/ext.php/php_perl.dll just tells me that "The pecl4win build box is temporarily out of service. We're preparing a new build system." Surely there must be SOMEWHERE else I can get the DLL, but I can't seem to find it. Every link I find seems to either be someone else looking for it, or a warez-looking site that wants you to give them your credit card info.
Thanks...
---- Nick

The Internet Archive Wayback Machine results look promising, perhaps one of the links will lead you to the file (although they often take such binary files out of the archive).
EDIT: I was able to get the DLL for the older branch php-5.0.5 (5_0) that way and uploaded it here (removed). Or try the direct link.
Looking for the newer branch php-5.1.6 (5_1) however gave no results so far, I checked the 4 most recent dates.
EDIT2: Found another working link for branch php-5.1.2.

The sidebar
says to use the following repository until the new buildsystem is online:
http://downloads.php.net/pierre/

Related

Compile PHP using shared option and directory location

I cannot figure out the proper ./configure options to use when giving the configure command if I would like to have something be shared (thus creating an .so extension) as well as stating a directory where required libraries are.
Example:
--with-openssl=shared will create a .so file
--with-openssl=/home/username/local will compile directly into the php build.
How do I state both? I see this nowhere in the php docs.
I am installing on a linux Ubuntu.
Well, I found it through trial and error as well as a few other posts of people going through different troubles that had their ./configure commands visible.
In my example case there are two flags you need:
--with-openssl=shared --with-openssl-dir=/home/username/local
In other instances there is no extension-name-dir flag, so you do comma separated values:
--with-cron=shared,/home/username/local
I could find no easy way to tell you which ones are which, but trial and error got me through these two that I needed. In the case of GD you actually need as many as four separate ones for the needed library support:
--with-gd=shared --with-jpeg-dir=/home/username/usr --with-png-dir=/home/username/usr --with-freetype-dir=/home/username/usr
Hope this helps someone else, I could find no other discussions about this issue (hard to believe there was no SO answers already).

Can't Find simplepie.inc in Version 1.3.1

I am trying Simple Pie for the first time and I'm running into a problem. I downloaded the new 1.3.1 version and unzipped it. I set up everything according to the instructions (created the php and cache folders in my root directory, loaded the library and php auto-loader.php file into the php folder, and set the permissions to 755 on the cache folder). However, despite looking at every single file in the Simple-pie folder I can't find the simplepie.inc file. I have searched Google for someplace to find it but I can't find anything and I've searched on here for solutions but I don't see anything. Can someone please tell me where to get the simple-pie.inc file?
If version 1.3.1 doesn't include it how can people that download that version use the program?
Thanks in advance!
It does. It exists in the library folder.
However you should not include the autoloader.php (if you are using the stock download and not your own build)
Some of the documentation for SimplePie perhaps needs updating, a lot of the examples use the older versions and may not work with the most recent version, I know I had to do significant heavy lifting to get the News Blocks 2.0 demo to work. And it still doesn't do everything POPURLS does, SimplePie is a beginning not necessarily an end, but it does work, assuming you give it good feeds. Poorly formatted feeds ie feeds that do not conform to RSS or Atom standards can bring your playhouse crashing down.
I just have this in my news aggregator index.php:
require_once('../news/php/autoloader.php');
Eventually they updated their documentation and the default download.

Any PHP svn GUI with commit functionally

I have seen a few that only have the checkout functions and options to view the diff and revisions but none with the option to commit changes, so my question:
Any PHP svn GUI with commit functionally?
Update:
to simplify even more:
i need a browser-based interface to a SVN repo that supports write operations, do you know of any?
I suspect the reason one doesn't exist is because it'd be clumsy to use.
You wouldn't have direct file system access (I don't think even Flash or Silverlight provide that, but I could be wrong), so you'd need to upload the files you want to commit or diff.
If you're not using any browser plugins you'd be further limited to uploading a single file at a time, which isn't the way SVN is meant to work. You commit a whole changeset, not one file at a time.
The only feasible way to do this I guess is to have your working copy also on the server and do your editing in the browser as well. At which point though you're not looking for just a web SVN GUI, you're looking for a web-based IDE that has SVN support.
--Edit--
The closest I've been able to find is this http://kodingen.com/ which is still in beta, and looks like it plans to have SVN support but it's not currently available in the beta version (at the time of this answer)

Tools to understand website source code

I recently had a website developed by an external source. They gave me the source code as well as sql files.
When I extract the source code I see folders like Smarty, fckeditor and many php files. I want to start editing these as I find it to be the best way to learn. What tool should I use. I tried using trial version of PHPdesigner, but it just doesnt open my php files.
Is there any tool that can take all these files in the form of a project and simultaneously show me a visual display of any changes that I make.
I suppose it is very clear that I am new to this. Any help will be greatly appreciated.
Just use simple text editor with some code highlight like Notepad++
It is free to use, very fast and it does what you need.
First of all try to know what are the different file types and which lanuguage are those targeted to. Once you know that you can then decide on the editor.
What i recommend is you try to find out if they used a framework for the website, something like CakePHP or CodeIgniter. The next step after you find out is to go the framework website and start reading the documentation.
If the site id developed in php most likely any type of WYSIWYG editing is going to inaccurate. This is because a number of different files need to be processed and combined by the php interpreter before they come together to make any given page or view. Thus the only way to really preview is to run it on a server. Since you say there are sql files he has laso used a DB to store something so most likely any changes you would need to make are going to be spread between both the php source files and the records in the db.
Aptana (Which is Eclipse based) is great at handling many different file type in one IDE. I would use Studio 2 w/ the plugins you need or if you feel cutting edge try Studio 3. It's cross platform so Linux/Windows or OSX.

Compiling PHP from source using Microsoft Visual c++ 2008 error

First off i want to thank everyone who has contributed towards making this website the great resource that it is today.
OK, Here is my problem.
I am trying to work with id3 tags in php and im using wamp server 2.0i on my vista 32bit ultimate. I followed the steps at php's wiki page on compiling extension for windows machines.(cant post the link).everything goes nice and smooth up until towards the end where i get an error saying fatal error c1083. could not open header zlib.h. I am running the shell as the administrator and not really sure what else there is i can do. But im really going crazy over this. I have followed instructions step by step but some how i am still getting stuck. Here is the link to the text file containing the compiling process.
https://docs.google.com/leaf?id=0Byjn3U-sXJBHNjA3ZTI1NTktYzlmZS00NjAxLTgyNzYtYTM3ZTRhYmY2NzE2&hl=en&authkey=CL6j7e4D
Thanks in advance,
I'm just gonna bang my head against the wall for little bit more and then either get unconscious or sleepy! LOL
Wooohoooo, Ok all I had to do was configure --disable-zlib and then nmake. But now one more thing. I am using wamp server and i tried just copy and pasting the produced folder but wamp does not like it and just crashes. Oops. good thing i kept the old copy of the php folder as a back up (unlike what i usually do). So i guess my question is: how do i use this compiled php with my id3 module? sorry about the dumm question.
The PECL id3 module is listed in alpha and hasn't been modified since 2004, so it is very unlikely that you'll be able to use it in any stable method against PHP 5.3.
Have you considered using the GPL-based getID3 class ( http://getid3.sourceforge.net/ ) which, despite its name, is capable of reading and writing id3 from a wide variety of files and has comparable functions to everything the id3 module ( http://us2.php.net/id3 ).

Categories