|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
PLEASE HELP ME.. i AM LOST
ok so nobody will help me.. maybe I am not clear.
I have apache installed with mod_so.c and now I am trying to install php4-latest.tar.gz I do ./configure --with-mysql --with-apxsd2 and no make file.. help what do i do. |
|
#2
|
|||
|
|||
|
RE: PLEASE HELP ME.. i AM LOST
I am giving you just my two cents. If it breaks anything don't blame me!
tar zxvf php-x.x.xx.tar.gz Then, cd into the source directory and do a ./configure --with-apxs=/usr/sbin/apxs --with-mysql for a basic MySQL. If you want to configure PHP with additional options, do a ./configure --help this will tell you whats available Then do the compile and install with make make install Then edit the /etc/httpd/conf/httpd.conf file add these. Before you do that make a backup of the httpd.conf file cd /etc/httpd/conf/ then cp httpd.conf httpd.orig. Make sure you have the following in your httpd.conf file. <IfDefine HAVE_PHP> LoadModule php_module modules/mod_php.so <IfDefine HAVE_PHP4> LoadModule php4_module modules/libphp4.so <IfDefine HAVE_PHP> AddModule mod_php.c <IfDefine HAVE_PHP4> AddModule mod_php4.c DirectoryIndex index.html index.htm index.shtml index.php index.php4 index.php3 index.cgi <IfModule mod_php4.c> AddType application/x-httpd-php .php4 .php3 .phtml .php AddType application/x-httpd-php-source .phps </IfModule> this will tell apache how to deal with a php file Finally restart the thing /etc/rc.d/init.d/httpd restart |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > PLEASE HELP ME.. i AM LOST |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|