custom php5

custom php5

Posted by: Anonymous
Posted on: 2005-08-31 12:23:00

Regarding the script for custom php5 posted over on wiki.dreamhost:

Is there a place in the script to change the location of the php.ini file? I have two domains set up and I'd like the custom php for one and not the other.

I was thinking it was here:

cd $HOME

mkdir -p etc/php5

cp $HOME/src/php/php-5.0.4/php.ini-dist $HOME/etc/php5/php.ini

...but I'm new at this and would appreciate any help.

Re: custom php5 and undefined reference

Posted by: joeygun
Posted on: 2005-09-18 14:15:00

In the wiki script, there is a discussion comment:

I just tried this (4 Sept 2005) and libxml and all its dependencies (libxslt, php) wouldn't compile with errors like:

./.libs/libxml2.so: undefined reference to `pthread_getspecific'




I'm getting these errors also. But when I attempt to use the fix recommended by the author of the comment, I get:

configure: error: unrecognized option: ---with-threads=no


Using ./configure --help seems to indicate that the option takes no arguments.

Anybody suggest a way to get around the undefined reference issue?




Edit: syntax error in the Wiki

---with-threads=no

should have been

--with-threads=no

Corrected syntax in WikiEdited by joeygun on 09/18/05 02:43 PM (server time).

Tags: php 5ini filephp5dreamhostwikiappreciatedomainshelp