logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: php-config returns incorrect info: msg#00006

Subject: Re: php-config returns incorrect info
Thanks, that is what I ended up doing. I was hoping that make install would
work for me, but the effort to get it to work right versus just copying the
binary made copying the obvious choice. So all is well.

________________________________________
Chip Burke


-----Original Message-----
From: Reinis Rozitis [mailto:roze@xxxxxxx] 
Sent: Wednesday, March 21, 2007 1:44 PM
To: eaccelerator-users@xxxxxxxxxxxxxxxxxxxxx
Cc: cburke@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Eaccelerator-users] php-config returns incorrect info

extension_dir is setting in php.ini ..
You dont actually need to php-config or eaccelerator to know that. Just in 
eaccelerator source directory do something like this (just skip the make 
install step in the end):

/path/to/phpize
./configure --with-php-config=/path/to/php-config
make
cp modules/eaccelerator.so  /whatever/directory/

and then in php.ini add:

zend_extension="/whatever/directory/eaccelerator.so"


And it will work just fine.

rr


----- Original Message ----- 
From: Chip Burke
To: eaccelerator-users@xxxxxxxxxxxxxxxxxxxxx
Sent: Wednesday, March 21, 2007 3:49 PM
Subject: [Eaccelerator-users] php-config returns incorrect info


I am trying to get eaccelerator to build. However, php-config is returning a

bogus value for the extension_dir. From what I have gathered, I have to 
recompile PHP to get php-config to return the correct extension_dir value 
(as it ignores php.ini) however I can't for the life of me find the switch 
to add to the ./configure to specify the extension_dir so that php-config 
can then report the correct value to eaccelerator's config script. Anyone 
else run into this? Des anyone know how to compile PHP with a custom 
extension_dir value?


Thanks,
________________________________________
Chip Burke




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV



_______________________________________________
eAccelerator-users mailing list
eAccelerator-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/eaccelerator-users 




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>