downloaded 4.3.1 and issued the commands
./configure
make
make install
But then when I run phpinfo() it still states that I'm running the old ver 4.0.6
Someone once suggested to re-complie something in apache?
help me obe one kenobi

Moderators: macek, egami, gesf


-----------------
Install apache:
-----------------
1. cd /usr/local
2. wget http://www.apache.org/dist/httpd/apache_1.3.27.tar.gz
3. tar -xzf apache_1.3.27.tar.gz
4. cd apache_1.3.27
5. ./configure --enable-module=unique_id --enable-module=rewrite --enable-module=speling --enable-module=expires --enable-module=info --enable-module=log_agent --enable-module=log_referer --enable-module=usertrack --enable-module=proxy --enable-module=userdir --enable-module=so
6. make
7. make install
-----------------
Install PHP:
-----------------
1. cd /usr/local
2. download php-4.3.x and tar -xzf php-4.3.x.tar.gz
3. cd php-4.3.x
4. ./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--enable-track-vars \
--enable-ftp \
--enable-sysvsem \
--enable-sysvshm \
--enable-sockets
5. make ... make install (as apache)
CONFS:
in /usr/local/apache/conf/http.conf :
put:
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php .php3
AddType application/x-httpd-php-source .phps
change:
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml
</IfModule>
to:
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.php index.php4 index.php3 index.phtml index.cgi
</IfModule>
Then hit /usr/local/apache/bin/apachectl start
and apache will start.

Users browsing this forum: Bing [Bot] and 2 guests