Link to home
Start Free TrialLog in
Avatar of sgalzin
sgalzin

asked on

Installation of Apache 1.3.33, PHP & MySQL with SSL on Mac OS X

Hello,

In my recent attempts to install SSL on my Apache 1.3.33, PHP 5.0.2 & MySQL configuration it seems as though I have completely messed up my installations.

I have deleted all the directories in which my installations were done and decided to restart from scratch, but with no luck. I cannot event build Apache anymore.

Any help would be much apreciated, thanks,

Stephane.
ASKER CERTIFIED SOLUTION
Avatar of daniel416
daniel416

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sgalzin
sgalzin

ASKER

hi,

thanks for the input. just in case someone else needs to do the same thing, here's how i did it :

- first, i know so little about macs / unix that the only solution i found to clean up my system was a complete erase & install of macos :-(

- then i configured the apache server provided with macos. (tons of tutorials out there for apache ssl configuration)

- finally, i followed the tips on this page to build php :
http://www.phpmac.com/articles.php?view=165

please note however that the tutorial is not up to date. the exact command didn't work for me, here's the command i used :

./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-apxs --enable-magic-quotes --enable-save-mode --enable-inline-optimization --disable-debug --enable-memory-limit=yes --enable-track-vars --enable-trans-sid --with-ldap=/usr --with-kerberos=/usr --enable-cli --with-zlib-dir=/usr --with-xml --enable-exif --enable-ftp --enable-mbstring=all --enable-mbregex --with-mysql=/usr/local/mysql --with-iconv=/sw --with-pdflib=/sw --enable-dbx --enable-sockets --with-iodbc=/usr --with-curl=/usr --with-config-file-path=/etc --with-openssl --with-png-dir=/sw --with-jpeg-dir=/sw --with-freetype-dir=/usr/local --with-tiff-dir=/sw --with-t1lib=/sw --with-gd --enable-gd-imgstrttf --enable-gd-native-ttf --enable-calendar --enable-tokenizer --enable-bcmath --with-gmp=/sw --with-mcrypt=/sw --with-gettext=/sw

i used fink, which is pretty neat ! and the whole process took me at least a couple of hours (i had to do some trial & error with the configure and make).

one last thing : when your build doesn't work and you want to try another build, use "make clean" before reiterating your make !!

cheers and thanks for the help,

stephane.
thanks for the points!
the exact command for php will come in handy, i'm sure.

just out of curiosity, is there a reason why you're compiling php from source, instead of using the precompiled binaries?
they seem to be up to date (5.0.2) and it's a double click operation.
are you using a particular library not included in these binaries? it's also ok if you're just doing it to learn how it's done. i'm just curious.

daniel416
Avatar of sgalzin

ASKER

hi,

sorry for the late response ! actually, i did all this to get the open_ssl library to work in php. to tell you the truth, if i could've gotten the results without learning anything i don't think i would've minded !

cheers,

stephane.