ming on dreamhost?

ming on dreamhost?

Posted by: tacomachris
Posted on: 2009-06-10 15:12:00

I'm trying to get ming functioning on a dreamhost account?

I'm using php_ming 0.4.2, and PHP 5.2.9.

For whatever reason it doesn't want to work.

I'm aware that Ming doesn't necessarily work well with Debian, but I'm hoping someone has it working and could offer some tips/instructions.

Re: ming on dreamhost?

Posted by: sXi
Posted on: 2009-06-11 00:23:00

In reply to:

For whatever reason it doesn't want to work.


Did it build? What dependancies did it require? Any notes in the error logs?




How To Install PHP.INI / ionCube on DreamHost

Re: ming on dreamhost?

Posted by: tacomachris
Posted on: 2009-06-11 07:38:00

After installing php5, I followed the directions posted here.

http://www.lampdocs.com/blog/2008/07/01/how-to-install-ming-support-for-php/

ming wont show up in phpinfo.

I don't see any errors.

Re: ming on dreamhost?

Posted by: sXi
Posted on: 2009-06-11 12:33:00

Looks like you need to build ming, then add --with-ming to your php build options.




How To Install PHP.INI / ionCube on DreamHost

Re: ming on dreamhost?

Posted by: tacomachris
Posted on: 2009-06-11 12:48:00

Thanks for your help, but I did all of that.

Re: ming on dreamhost?

Posted by: tacomachris
Posted on: 2009-06-11 14:48:00

after starting over again i get this error after 'make install'.

./configure (worked)
make (worked)
make install

test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c 'libming.la' '/usr/local/lib/libming.la'
/usr/bin/install -c .libs/libming.so.1.4.1 /usr/local/lib/libming.so.1.4.1
/usr/bin/install: cannot create regular file `/usr/local/lib/libming.so.1.4.1': Permission denied


Re: ming on dreamhost?

Posted by: sXi
Posted on: 2009-06-12 10:53:00

In reply to:

Thanks for your help, but I did all of that.


My bad, I thought you indicated you installed PHP, then compiled ming.

In reply to:

est -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c 'libming.la' '/usr/local/lib/libming.la'
/usr/bin/install -c .libs/libming.so.1.4.1 /usr/local/lib/libming.so.1.4.1
/usr/bin/install: cannot create regular file `/usr/local/lib/libming.so.1.4.1': Permission denied


You need to export your own paths to keep everything in your userspace.

But...

In reply to:

[26 Jan 4:27pm UTC] jani@php.net

As suggested by the "EXPERIMENTAL" status, this is truly experimental 
extension since it doesn't even compile. Apparently libming is also
pretty much experimental since they chose to break BC between their
0.4.x release and 0.3a which is the version PHP 5.2.x compiles fine
with. You should use the extension that is bundled with the current
libming version. Also note that ext/ming will be moved to PECL in PHP
5.3.0. (and apparently abandoned..)



So...

export PATH=$loc/bin:$PATH

# ming
curl -O http://internode.dl.sourceforge.net/sourceforge/ming/ming-php-0.3.0.tar.gz
tar -xzf ming-0.3.0.tar.gz
cd ming-0.3.0
./configure --prefix=$loc
make
make install

# php
--with-ming=$loc


* Substitute $loc with your script's location variable.




How To Install PHP.INI / ionCube on DreamHost

Tags: dreamhostphp 5