Help with this PHP 5.1.5 build

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

Post Reply
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Help with this PHP 5.1.5 build

Post by neophyte »

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
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

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.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

So then, theoretically, this build directive

Code: Select all

--disable-cgi
Should set the install up in a way that CGI would be disabled, not enabled, as I guess neophyte is seing?
Post Reply