|
|
|||||||
| 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. |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
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 |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
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 |