SunQuest
           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:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old June 26th, 2003, 08:40 AM
high avail high avail is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 1 high avail User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
php apache mysql with ssl



I HAVE FOUND THIS WEBPAGE THAT GIVES DETAILED INTRUCTION ON HOW TO INSTALL APACHE,PHP,MYSQL WITH SSL, BELOW ARE ITS INTRUCTIONS. I AM USING REDHAT LINUX 8. MY PROBLEM IS THAT WHEN I AM ABOUT TO INSTALL PHP AFTER I CONFIGURE IT, AFTER IT HAS LISTED A SERIES OF SCRIPTS, ON THE LAST PART IT READS "CONFIGURE:ERROR:UNABLE TO FIND LIBGD.(a|so) ANYWHERE UNDER /USR/LOCAL/GD-2.0.11." SO THINKING THIS IS JUST YOUR NORMAL ERROR READING I PROCEEDED TO TYPE "MAKE" AND THE TERMINAL RETURNED THIS "MAKE:*** NO TARGET SPECIFIED & NO MAKEFILE FOUND. STOP." WHAT DID I DO WRONG OR IS THERE SOMETHING WRONG WITH THE INSTRUCTION GIVEN BELOW. PLEASE HELP I HAVE BEEN WORKING ON THIS FOR OVER A WEEK AND SO FAR I HAVE NOT FOUND ANY SOLUTION.

THE LAST PART, DOWN BELOW IS THE INSTRUCTION ON HOW TO INSTALL PHP4.3.2. AND SOMEHOW I COULD NOT SUCCESSFULLY INSTALL THE BINARIES, I HAVE DELIBERATELY OMMITED THE NEXT INSTRUCTION AFTER INSTALLING THE PHP AS I WANTED TO RESOLVE FIRST THE "MAKE" ISSUE.


# Move to /usr/local
cd /usr/local
# Get the following source:


# Decompress the sources:
tar -xvzf openssl-0.9.7.tar.gz
tar -xzvf mod_ssl-2.8.12-1.3.27.tar.gz
tar -xvzf apache_1.3.27.tar.gz
tar -xvzf php-4.3.2.tar.gz
tar -xvzf mysql-3.23.55.tar.gz
tar -xvzf gd-2.0.11.tar.gz

# Compile the sources:
cd gd-2.0.11
./configure
make

cd ../mysql-3.23.55
./configure
make
make install
scripts/mysql_install_db

adduser mysql
# In the file /etc/login.access add this line:
-:mysql:ALL
# So the user mysql never actualy logs in

# For Slackware:
chown -R mysql.users /usr/local/var
# For Redhat:
chown -R mysql.mysql /usr/local/var

safe_mysqld --user=mysql &

# Hit <Enter>
mysqladmin -u root password 'yourpasswordhere'

cd ../openssl-0.9.7
sh config -fPIC
make
# If you get a "Not enough room for program headers" error here,
# install the LATEST version of binutils.

cd ../mod_ssl-2.8.12-1.3.27
./configure --with-apache=../apache_1.3.27

cd ../apache_1.3.27
SSL_BASE=../openssl-0.9.7
./configure --prefix=/usr/local/apache --enable-module=most
--enable-shared=max --enable-module=ssl --enable-shared=ssl
make

# Note: There is a Redhat bug that complains about mod_auth_dbm.so
# durning the Apache `make` proccess. Adding the configuration
# switch --disable-module=auth_dbm to the end of the ./configure line
# will fix it.

make certificate

# If you presently have a libphp4.so module you should make a backup:
cp /usr/local/apache/libexec/libphp4.so /usr/local/apache/libexec/libphp4.so.was

# If you have a file called /usr/local/apache/conf/httpd.conf already you
# should make a backup:
mv /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.was

# This way you'll get a fresh httpd.conf with all your Apache modules listed
# and 100% loadable.

# Don't worry if your web server is presently running. The httpd.conf file
# is only read by the httpd binary when starting the web server.

make install

cd ../php-4.3.2
./configure
--with-apxs=/usr/local/apache/bin/apxs
--with-config-file-path=/usr/local/apache/conf
--enable-versioning
--with-mysql=/usr/local
--enable-ftp
--with-gd=/usr/local/gd-2.0.11
--enable-bcmath
--disable-debug
--enable-memory-limit=yes
--enable-track-vars
make
make install


Reply With Quote
  #2  
Old June 27th, 2003, 01:51 AM
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: 3
Send a message via Yahoo to postalcow
RE: php apache mysql with ssl

You should not have to do a configure on the GD

cd ../php-4.3.2
./configure
--with-apxs=/usr/local/apache/bin/apxs
--with-config-file-path=/usr/local/apache/conf
--enable-versioning
--with-mysql=/usr/local
--enable-ftp
--with-gd=/usr/local/gd-2.0.11
--enable-bcmath
--disable-debug
--enable-memory-limit=yes
--enable-track-vars
make
make install

Reply With Quote
  #3  
Old June 30th, 2003, 08:59 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: php apache mysql with ssl

what i did over the weekend is to configure my php with just the mysql and apxs. I did not bother to include the others, somehow i was able to do a "make and make install". So far I was able to pull off the "info()", so from here on i will try practicing on some of the tutorials i have donwloaded.

Really appreciate the effort of replying ....

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > php apache mysql with ssl


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


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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway