|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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 .... |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > php apache mysql with ssl |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|