Compile PHP 4.3.1 + binary Apache 4.3.1 + Suse
| From: | Jose Manuel | Date: | Thu, 26 Jun 2003 19:42:44 +0000 |
| Subject: | Compile PHP 4.3.1 + binary Apache 4.3.1 + Suse | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-11171@lists.php.net to get a copy of this message | ||
I have compiled PHP 4.3.1 over Suse 8.0 with
#./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/sbin/apxs
#make
#make install
and it's all correct ( info.php function correctly ) . The version of Apache
is a binary distribution 1.3.2.
When i access a web page that uses sessions and MySQL conection ( a
validation user page, a user and password edit text object and a button that
verifies the user over MySQL table ) not respond, it's not run. The server
not respond any error.
MySQL function correctly ( phpMyAdmin ).
The compilation ( make ) output
Installing PHP CLI binary: /usr/local/bin/
Installing PHP SAPI module
Installing shared extensions:
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment: /usr/local/lib/php/
[PEAR] Archive_Tar - already installed: 0.9
[PEAR] Console_Getopt - already installed: 1.0
[PEAR] PEAR - already installed: 1.0b3
[PEAR] DB - already installed: 1.3
[PEAR] HTTP - already installed: 1.2
[PEAR] Mail - already installed: 1.0.1
[PEAR] Net_SMTP - already installed: 1.0
[PEAR] Net_Socket - already installed: 1.0.1
[PEAR] XML_Parser - already installed: 1.0
[PEAR] XML_RPC - already installed: 1.0.4
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
program: phpextdist
I have insert various lines to file httpd.conf :
..
LoadModule php4_module /usr/lib/apache/libphp4.so
..
AddModule mod_php4.c
..
ScriptAlias /php/ "/usr/local/lib/php"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php "/php/php"
...
What's the problem?
Thanks.