:wave: Friends Help out
I have fedora core 1
I have httpd-2.0.51(apache)
and Php-4.3.8 and php-5.0.1
I want to make php ant version work with Apache
I had done following things to install them
tar -zxf httpd-2.0.51
tar -zxf mysql-4.0.16.tar.gz
tar -zxf Php-4.3.8 or php-5.0.1 (i had done same for both)
Compiling apache
cd httpd-2.0.51
#./configure –prefix=/usr/local/apache2 –enable-
mods-shared=most (enter)
#make
#make install
#vi /usr/local/apache2/conf/httpd.conf
then i put the following lines in httpd.conf
LoadModule php4_module modules/libphp4.so (for php-4.3.8)
DirectoryIndex index.html index.html.var index.php
AddType application/x-httpd-php .php
compiling mysql
#./configure –prefix=/usr/local/mysql –
localstatedir=/usr/local/mysql/data –
disable-maintainer-mode –with-mysqld-user=mysql –enable-large-files-without-debug
make
make install
#/usr/sbin/groupadd mysql
#/usr/sbin/useradd -g mysql mysql
#./scripts/mysql_install_db
# chown -R root:mysql /usr/local/mysql
# chown -R mysql:mysql /usr/local/mysql/data
#vi /etc/ld.so.conf
then put following line in ld.so.conf
/usr/local/mysql/lib/mysql
then
#/usr/local/mysql/bin/mysqld_safe –user=mysql &
#/usr/local/mysql/bin/mysqladmin -u root password new_password
compiling Php-4.3.8 or php-5.0.1
for this time i takeing php-4.3.8
#./configure –prefix=/usr/local/php –with-apxs2=/usr/local/apache2/bin/apxs –with
-mysql=/usr/local/mysql
make
make install
#cp php.ini-recommended /usr/local/php/lib/php.ini
#vi /usr/local/php/lib/php.ini
then i editted the following line
doc_root= “/usr/local/apache2/htdocs/”
file_uploads=Off
After that all installation
I wrote a test.php file
<?php phpinfo(); ?>
save it in in htdocs of apaches
But when i try to load test.php i got error "requested url not found in this server"
I have fedora core 1
I have httpd-2.0.51(apache)
and Php-4.3.8 and php-5.0.1
I want to make php ant version work with Apache
I had done following things to install them
tar -zxf httpd-2.0.51
tar -zxf mysql-4.0.16.tar.gz
tar -zxf Php-4.3.8 or php-5.0.1 (i had done same for both)
Compiling apache
cd httpd-2.0.51
#./configure –prefix=/usr/local/apache2 –enable-
mods-shared=most (enter)
#make
#make install
#vi /usr/local/apache2/conf/httpd.conf
then i put the following lines in httpd.conf
LoadModule php4_module modules/libphp4.so (for php-4.3.8)
DirectoryIndex index.html index.html.var index.php
AddType application/x-httpd-php .php
compiling mysql
#./configure –prefix=/usr/local/mysql –
localstatedir=/usr/local/mysql/data –
disable-maintainer-mode –with-mysqld-user=mysql –enable-large-files-without-debug
make
make install
#/usr/sbin/groupadd mysql
#/usr/sbin/useradd -g mysql mysql
#./scripts/mysql_install_db
# chown -R root:mysql /usr/local/mysql
# chown -R mysql:mysql /usr/local/mysql/data
#vi /etc/ld.so.conf
then put following line in ld.so.conf
/usr/local/mysql/lib/mysql
then
#/usr/local/mysql/bin/mysqld_safe –user=mysql &
#/usr/local/mysql/bin/mysqladmin -u root password new_password
compiling Php-4.3.8 or php-5.0.1
for this time i takeing php-4.3.8
#./configure –prefix=/usr/local/php –with-apxs2=/usr/local/apache2/bin/apxs –with
-mysql=/usr/local/mysql
make
make install
#cp php.ini-recommended /usr/local/php/lib/php.ini
#vi /usr/local/php/lib/php.ini
then i editted the following line
doc_root= “/usr/local/apache2/htdocs/”
file_uploads=Off
After that all installation
I wrote a test.php file
<?php phpinfo(); ?>
save it in in htdocs of apaches
But when i try to load test.php i got error "requested url not found in this server"












