PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old September 5th, 2002, 07:32 AM
noppie noppie is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: seattle, WA USA
Posts: 2 noppie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to noppie
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.

Reply With Quote
  #2  
Old September 8th, 2002, 11:47 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to postalcow
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

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > PLEASE HELP ME.. i AM LOST


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek