Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can !
Moderator: General Moderators
neophyte
DevNet Resident
Posts: 1537 Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota
Post
by neophyte » Sun Aug 20, 2006 10:43 pm
Whats wrong with this configuration. I keep getting CGI only installs using this:
Code: Select all
--prefix=/usr --with-apxs2=/usr/bin/apxs2 --disable-cgi --with-config-file-path=/etc/php5 --with-layout=GNU --enable-memory-limit --enable-calendar --with-iconv --with-gettext --with-imap --with-kerberos=/usr --with-openssl --with-zlib --enable-bcmath --with-mime-magic --with-curl --enable-filepro --enable-ftp --with-gd=/usr --enable-gd-native-ttf --with-jpeg-dir=/usr --with-xpm-dir=/usr/X11R6 --with-png-dir=/usr --with-freetype-dir=/usr --with-imap --with-ldap
--with-ldap-sasl --enable-mbstring --with-mysql=/usr --with-mysqli=/usr --with-pdo-mysql --with-pdo-sqlite --enable-soap --with-unixODBC --with-pear=/usr/share/php5
What am I missing. BTW I'm trying to install PHP5.1.5
RobertGonzalez
Site Administrator
Posts: 14293 Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA
Post
by RobertGonzalez » Tue Aug 22, 2006 12:51 am
Does doing it this way eliminate the need to edit the php.ini file? I know that sounds heck of newbie, but I have never built PHP on a linux machine, so this will help me learn too.
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Tue Aug 22, 2006 1:01 am
From my understanding they can be used as performance tuning by removing cruft you won't use. The catch is if you ever need to use that functionality, you have to recompile.
RobertGonzalez
Site Administrator
Posts: 14293 Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA
Post
by RobertGonzalez » Tue Aug 22, 2006 8:48 am
So then, theoretically, this build directive
Should set the install up in a way that CGI would be disabled, not enabled, as I guess neophyte is seing?