Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Apache,mysql,php With Ssl
high avail
post Jun 26 2003, 03:56 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 26-June 03
Member No.: 1,014



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
Go to the top of the page
 
+Quote Post
chrisw
post Jun 26 2003, 09:22 AM
Post #2


RMS is my Hero
******

Group: Admin
Posts: 634
Joined: 27-September 02
From: Louisiana
Member No.: 5



why dont you just use the openssl rpms that are already on the system...
you can check by typing rpm -q openssl....
why do you need gd for anyway....

you do need the mod_ssl package to apply the patch for apache but
i think that thats all..then you can just compile apache
with the openssl packages already on your system

instead of using SSL_BASE=/path/to/openssl

just use SSL_BASE=SYSTEM

that will use the system openssl files...

i could be wrong but i have compiled apache, php, mysql with SSL support
and i havent run across any error yet with using what i have mentioned...


--------------------

Chris W.
Go to the top of the page
 
+Quote Post
Joey
post Jun 26 2003, 09:25 AM
Post #3


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



P.S. - I think your caps lock key is stuck.
Go to the top of the page
 
+Quote Post
high avail
post Jun 26 2003, 09:43 PM
Post #4


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 26-June 03
Member No.: 1,014



hey chris i will try your suggestion when i get back home from work, hope when i do that i would be able to use the "make" of the php. Sorry about the the caps, maybe i wasnt thinking that this would be a bit offensive, just wanted to seperate my letter to that of the instruction i copied.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th October 2017 - 03:36 PM