Ming on dreamhost?

software development

#1

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.


#2

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

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#3

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.


#4

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

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#5

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


#6

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


#7

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

[quote]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[/quote]
You need to export your own paths to keep everything in your userspace.

But…

[quote][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..)[/quote]

So…

[code]export PATH=[color=#00CC00]$loc[/color]/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=[color=#00CC00]$loc[/color]
make
make install

php

–with-ming=[color=#00CC00]$loc[/color]
[/code]

  • Substitute [color=#00CC00]$loc[/color] with your script’s location variable.

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost