
8th May 2006, 14:02
|
|
Senior Member
|
|
Join Date: Apr 2006
Posts: 489
Thanks: 8
Thanked 6 Times in 5 Posts
|
|
eaccelerator installation - can't find php5-config
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?
Code:
export PHP_PREFIX="/usr"
$PHP_PREFIX/bin/phpize
./configure --enable-eaccelerator=shared --with-php-config=$PHP_PREFIX/bin/php-config
make
tom
|

9th May 2006, 00:08
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Maybe php-config belongs to your PHP5 installation?
How did you install PHP5? As a package, or did you compile from the sources?
|

9th May 2006, 17:40
|
|
Senior Member
|
|
Join Date: Apr 2006
Posts: 489
Thanks: 8
Thanked 6 Times in 5 Posts
|
|
Quote:
|
Originally Posted by falko
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
Code:
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?
Last edited by tom; 9th May 2006 at 17:58.
|

9th May 2006, 23:09
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
What's the output of
Code:
updatedb
locate php|grep config
?
|

10th May 2006, 18:23
|
|
Senior Member
|
|
Join Date: Apr 2006
Posts: 489
Thanks: 8
Thanked 6 Times in 5 Posts
|
|
Quote:
|
Originally Posted by falko
What's the output of
Code:
updatedb
locate php|grep config
?
|
everything in
Code:
/home/admispconfig/
/root/ispconfig/
but nothing what I'm searching for.
Last edited by tom; 10th May 2006 at 18:25.
|

11th May 2006, 00:14
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
As you installed PHP5 as a package, you must also install php5-devel (or similar). php-config should be in there.
|

11th May 2006, 19:12
|
|
Senior Member
|
|
Join Date: Apr 2006
Posts: 489
Thanks: 8
Thanked 6 Times in 5 Posts
|
|
Quote:
|
Originally Posted by falko
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?
Quote:
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:~#
|
Last edited by tom; 11th May 2006 at 19:25.
|

12th May 2006, 11:25
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
|
Originally Posted by tom
which on is it?
I think "php5-dev - Files for PHP5 module development"
that includes /usr/bin/php-config5
|
Yes, it's php5-dev.
Quote:
|
Originally Posted by tom
What for I need php5-dev or similar?
Only for the installation eaccelerator?
|
Whenever you compile something that needs PHP, you need PHP5-dev.
|

15th May 2006, 10:27
|
|
Senior Member
|
|
Join Date: Apr 2006
Posts: 489
Thanks: 8
Thanked 6 Times in 5 Posts
|
|
Quote:
|
Originally Posted by falko
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?
|

15th May 2006, 15:36
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
I'm not quite sure if eaccelerator supports PHP5.
Is there anything in your Apache error log?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 22:55.
|
Recent comments
20 hours 31 min ago
1 day 1 hour ago
1 day 2 hours ago
1 day 3 hours ago
1 day 5 hours ago
1 day 9 hours ago
1 day 10 hours ago
1 day 13 hours ago
2 days 2 hours ago
2 days 3 hours ago