Accu Web Hosting Accu Web Hosting Accuweb Hosting
Accu Web Hosting Accu Web Hosting Window Hosting Home Accu Web Hosting Window Hosting Accu Web Hosting PHP Hosting Accu Web Hosting Reseller Accu Web Hosting SQL Hosting Accu Web Hosting   accu web hosting
 

Go Back   Web Hosting Technical Support Discussion Forum > Linux Web Hosting - Pre Sales Questions > Linux Reseller Accounts Pre-Sales Questions
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Linux Reseller Accounts Pre-Sales Questions Discussion forum on Pre-sales question of Linux Web Hosting - Reseller Accounts.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 07-10-2006
Manuel_ Manuel_ is offline
Senior Member
 
Join Date: May 2005
Location: (.)
Age: 24
Posts: 144
Rep Power: 0
Manuel_ is on a distinguished road
Send a message via MSN to Manuel_
Default

First you need to check whether php is compiled or not.

# php –v

Above command will provide you installed version of php. If you want to upgrade it then you need to download the source from the URL:

http://www.php.net/releases.php

or use try the below mentioned steps:

# cd /usr/src

# wget http://museum.php.net/php4/php-4.3.3.tar.gz

# tar -zxvf php-4.3.3.tar.gz

# cd /usr/src/php-4.3.3

# ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql

Note: ‘/usr/local/apache/bin/apxs’ the path of this apache extension binary may not be the same you need to set it as per your server configuration.
You can add other prefix and options for php extension like GD and other while compiling it.

# make

# make test

# make install

You need to make some changes to work php with Apache, hence need to change the httpd.conf apache configuration file. Open this file with vi editor in insert mode.

If LoadModule php4_module modules/libphp4.so line is not added by php install to httpd.conf, then you have to add it yourself. Add it somewhere below section named "Dynamic Shared Object (DSO) Support"

LoadModule php4_module modules/libphp4.so

Now, add this line to httpd.conf file:

AddType application/x-httpd-php .php

Lastly restart your apache server.

Now create a test PHP file using any text editor and add these lines to it:

<?php
phpinfo();
?>

Save it under phpinfo.php and test your PHP installation by accessing file phpinfo.php.

Please check the original thread posted bu me at http://forum.ev1servers.net/showthread.php?p=385790
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hacking issue of PHP Based forums Manuel_ Updates and Bug-fixes 4 07-10-2006 01:47 AM
How to :: add php extension in windows server Manuel_ Windows Dedicated Servers 0 06-23-2006 07:53 AM
Howto: Install PHP on Windows 2003 Manuel_ Windows Dedicated Servers 0 06-22-2006 04:31 PM
Sendmail form for php donjory Windows Web Hosting Discussion Forum 1 02-05-2006 01:48 AM
PHP email facility on site not working anymore Adriaan Linux Web Hosting Discussion Forum and Support 2 08-30-2005 02:02 AM


All times are GMT -5. The time now is 06:30 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0
http://www.accuwebhosting.com/terms.htm

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28