PDA

View Full Version : eaccelerator installation - can't find php5-config


tom
8th May 2006, 15:02
I would like install eaccelerator beta2 with php5.

On the eaccelerator page http://eaccelerator.net/wiki/InstallFromSource they tell to change that path PHP_PREFIX but I can't find the file php5-config. Only php-config and php4-config I can find on debian3.1 with php5.1.4.

Any ideas how to set the right path for compiling?

export PHP_PREFIX="/usr"
$PHP_PREFIX/bin/phpize
./configure --enable-eaccelerator=shared --with-php-config=$PHP_PREFIX/bin/php-config
make

tom

falko
9th May 2006, 01:08
Maybe php-config belongs to your PHP5 installation?
How did you install PHP5? As a package, or did you compile from the sources?

tom
9th May 2006, 18:40
Maybe php-config belongs to your PHP5 installation?
How did you install PHP5? As a package, or did you compile from the sources?

As a package

WARNUNG: Die folgenden Pakete können nicht authentifiziert werden!
php5
Diese Pakete ohne Überprüfung installieren [j/N]? j
Wähle vormals abgewähltes Paket php5.
(Lese Datenbank ... 22663 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacke php5 (aus .../php5_5.1.4-1.dotdeb.1_all.deb) ...
Richte php5 ein (5.1.4-1.dotdeb.1) ...

sarge01:/usr/lib/php5# updatedb
sarge01:/usr/lib/php5# locate php-config
/root/ispconfig/php/bin/php-config
/root/ispconfig/php/man/man1/php-config.1
sarge01:/usr/lib/php5# locate php4-config
sarge01:/usr/lib/php5#

I'm even a bit unhappy with php5 package and the disauthenticity.
Now I've removed php4 and php5 and reinstalled php5 again but now there is no php-config anymore only for ispconfig. Is'nt it?

falko
10th May 2006, 00:09
What's the output of updatedb
locate php|grep config?

tom
10th May 2006, 19:23
What's the output of updatedb
locate php|grep config?


everything in
/home/admispconfig/
/root/ispconfig/

but nothing what I'm searching for.

falko
11th May 2006, 01:14
As you installed PHP5 as a package, you must also install php5-devel (or similar). php-config should be in there.

tom
11th May 2006, 20:12
As you installed PHP5 as a package, you must also install php5-devel (or similar). php-config should be in there.


which on is it?
I think "php5-dev - Files for PHP5 module development"
that includes /usr/bin/php-config5

What for I need php5-dev or similar?
Only for the installation eaccelerator?

sarge01:~# apt-cache search php5
php-image-canvas - Image_Canvas module for PEAR
php-image-graph - Image_Graph module for PEAR
php-pear - PEAR - PHP Extension and Application Repository
php5-clamavlib - PHP ClamAV Lib - ClamAV Interface for PHP5 Scripts
php5-recode - recode module for php5
php5-sqlite - SQLite module for php5
php5-xmlrpc - XML-RPC module for php5
php5-xsl - XSL module for php5
libapache-mod-php5 - PHP 5 scripting language - apache 1.3 module
libapache2-mod-php5 - PHP 5 scripting language - apache 2.0 module
php5 - server-side, HTML-embedded scripting language (meta-package)
php5-cgi - PHP 5 scripting language
php5-cli - PHP 5 scripting language
php5-common - Common files for packages built from the php5 source
php5-curl - CURL module for php5
php5-dev - Files for PHP5 module development
php5-gd - GD module for php5
php5-gmp - GMP module for php5
php5-imap - IMAP module for php5
php5-ldap - LDAP module for php5
php5-mcrypt - MCRYPT module for php5
php5-mhash - MHASH module for php5
php5-ming - Ming module for php5
php5-mysql - MySQL module for php5
php5-mysqli - MySQLi module for php5
php5-odbc - ODBC module for php5
php5-pdo-mysql - PDO-MySQL module for php5
php5-pdo-pgsql - PDO-PostgreSQL module for php5
php5-pdo-sqlite - PDO-SQLite module for php5
php5-pear - PEAR - PHP Extension and Application Repository
php5-pgsql - PostgreSQL module for php5
php5-pspell - Pspell module for php5
php5-snmp - SNMP module for php5
php5-sybase - Sybase module for php5
php5-tidy - Tidy module for php5
php5-apc - apc module for php5
sarge01:~#

falko
12th May 2006, 12:25
which on is it?
I think "php5-dev - Files for PHP5 module development"
that includes /usr/bin/php-config5
Yes, it's php5-dev.

What for I need php5-dev or similar?
Only for the installation eaccelerator?Whenever you compile something that needs PHP, you need PHP5-dev.

tom
15th May 2006, 11:27
Yes, it's php5-dev.

Whenever you compile something that needs PHP, you need PHP5-dev.

Now I've installed fastcgi and eaccelerator but I get an error 500 after I've installed eaccelerator.

Do they work clean together?

falko
15th May 2006, 16:36
I'm not quite sure if eaccelerator supports PHP5.
Is there anything in your Apache error log?