Well, I know that this is a php PROGRAMMING forum, but I thought you guys might know this. I just installed apache on my linux box, and I want to install php, but there are like 50 commands, and a million options! Does anyone know of a good site that would have step by step instructions that I could follow, preferrably even just the commands that would compile and install it with the most common options?
I just want to be able to test my php w/o uploading it. The only thing my site does that is really php-intesive so-to-speak is that it creates thumbnails on the fly...so I guess that I need the image stuff installed.depending on what distibution you have you can install the rpm instead. it should be in the control panel some where about installing software. after installing then you can renmake it.have you check
<!-- m --><a class="postlink" href="http://ca2.php.net/manual/en/install.apache.phpThanks...I">http://ca2.php.net/manual/en/install.ap ... Thanks...I</a><!-- m --> tried to follow the instructions...but I get and error (maybe 2?). Here is the output:
[root@Server php-4.3.4]# ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-gd
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... exit 0;
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... gawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP parsers.
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2425: lex: command not found
configure: error: cannot find output from lex; giving up
[root@Server php-4.3.4]#i think you need
flex: 2.5.4
<!-- m --><a class="postlink" href="http://www.php.net/anoncvs.phpWell">http://www.php.net/anoncvs.phpWell</a><!-- m -->, I got the php installed, but I can't get the gd library to work. Setting it all up is quite a pain. You can see the info on it here: <!-- m --><a class="postlink" href="http://virtuwarz.no-ip.com/php/phpinfo.phpIt">http://virtuwarz.no-ip.com/php/phpinfo.phpIt</a><!-- m --> shows as being enabled. Therefore it has loaded the gd2 module
I just want to be able to test my php w/o uploading it. The only thing my site does that is really php-intesive so-to-speak is that it creates thumbnails on the fly...so I guess that I need the image stuff installed.depending on what distibution you have you can install the rpm instead. it should be in the control panel some where about installing software. after installing then you can renmake it.have you check
<!-- m --><a class="postlink" href="http://ca2.php.net/manual/en/install.apache.phpThanks...I">http://ca2.php.net/manual/en/install.ap ... Thanks...I</a><!-- m --> tried to follow the instructions...but I get and error (maybe 2?). Here is the output:
[root@Server php-4.3.4]# ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-gd
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... exit 0;
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... gawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP parsers.
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2425: lex: command not found
configure: error: cannot find output from lex; giving up
[root@Server php-4.3.4]#i think you need
flex: 2.5.4
<!-- m --><a class="postlink" href="http://www.php.net/anoncvs.phpWell">http://www.php.net/anoncvs.phpWell</a><!-- m -->, I got the php installed, but I can't get the gd library to work. Setting it all up is quite a pain. You can see the info on it here: <!-- m --><a class="postlink" href="http://virtuwarz.no-ip.com/php/phpinfo.phpIt">http://virtuwarz.no-ip.com/php/phpinfo.phpIt</a><!-- m --> shows as being enabled. Therefore it has loaded the gd2 module