PHP - install question
Greetings, am trying to install apache 1.3, mysql, php on my freshly installed 6.3 box. Once I installed apache and mysql, I tried to install php. couldn't find mod_php4 in ports, so googled and found that I needed /usr/ports/lang/php4. Installed that without problem. Created file /usr/local/www/data/index.php with the following contents: html head titlePHP_TESTER/title /head body ?php phpinfo(); ? /body /html When I use my browser and hit the server, I get a blank page with the title PHP_TESTER. what step did I miss ? any help greatly appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: PHP - install question
On Thu, 2008-02-07 at 14:09 -0600, Darryl Hoar wrote: When I use my browser and hit the server, I get a blank page with the title PHP_TESTER. what step did I miss ? Did you add the following to your Apache configuration file: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps Well, crud. I typed in in three different times, and it didn't work. Tried again after your email (you know fourth times the charm) and it worked. I refuse to believe I made typos in the lines as I copied them. Oh well, who knows. It works now. thanks and sorry for the wasted bandwidth. -Darryl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PHP - install question
On Thu, 2008-02-07 at 14:09 -0600, Darryl Hoar wrote: When I use my browser and hit the server, I get a blank page with the title PHP_TESTER. what step did I miss ? Did you add the following to your Apache configuration file: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps -- /Peo -- - PGP signed/encrypted emails is prefered - -- [novice about this? ~ visit: www.gnupg.org] signature.asc Description: This is a digitally signed message part
RE: PHP - install question
Yes, but when I did an apachectl configtest, it barfed. Likewise apachectl start barfed. Remove the two lines you referred to, and it passes and starts. so, right now they are not in the httpd.conf file. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of tesolarisc Sent: Thursday, February 07, 2008 2:19 PM To: freebsd-questions@freebsd.org Subject: Re: PHP - install question On Thu, 2008-02-07 at 14:09 -0600, Darryl Hoar wrote: When I use my browser and hit the server, I get a blank page with the title PHP_TESTER. what step did I miss ? Did you add the following to your Apache configuration file: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps -- /Peo -- - PGP signed/encrypted emails is prefered - -- [novice about this? ~ visit: www.gnupg.org] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: PHP - install question
On Thu, 2008-02-07 at 14:28 -0600, Darryl Hoar wrote: Yes, but when I did an apachectl configtest, it barfed. Likewise apachectl start barfed. Remove the two lines you referred to, and it passes and starts. so, right now they are not in the httpd.conf file. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of tesolarisc Sent: Thursday, February 07, 2008 2:19 PM To: freebsd-questions@freebsd.org Subject: Re: PHP - install question On Thu, 2008-02-07 at 14:09 -0600, Darryl Hoar wrote: When I use my browser and hit the server, I get a blank page with the title PHP_TESTER. what step did I miss ? Did you add the following to your Apache configuration file: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps That was all I did on 6.2-Release to make it work. Sorry, I can't help you more...:-( -- /Peo -- - PGP signed/encrypted emails is prefered - -- [novice about this? ~ visit: www.gnupg.org] signature.asc Description: This is a digitally signed message part
Re: PHP - install question
On Thursday 07 February 2008 21:28:43 Darryl Hoar wrote: Yes, but when I did an apachectl configtest, it barfed. Unlike in life, it's good to specify the contents of the barf in unix diagnostics and support requests :) A typo is easier spotted by someone else or the cause might be that the server needed a full restart rather then a reload to load shared libraries. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PHP Install Options Problem
Hi All, I'm running FBSD 4.10 and recently had some problems with php. So i decided to de-install it and start again to see if that would help. Basically functions started to fail in Fatal Errors after upgrading to a newer version. Now when installing the package (from ports) it does not give any options to select what i want to install (i.e. no window saying mysql, xml support etc.). Is I think this is the root of the problem and php must not be installing the requred modules to handle the pages I am asking it to serve. PHP installs fine and the test page ( echo php_info(); ) works fine however alot of functons dont work such as preg_match() and mysql_connect() i get Fatal Error: etc... if these are called. Is thier a way to force the install to bring up these options or is thier a file where the values are installed that i could edit? when doing make it says: === Found saved configuration for mod_php4-4.3.8_2,1 Is thier a way to locate and delete this file. Atm using: cd /usr/ports/www/mod_php4/ make clean make make install make clean I have googled and searched the archive and nothing (as of yet) has turned up to be of much help. Found this: http://lists.freebsd.org/mailman/htdig/freebsd-questions/2004-July/053077.html and followed what it said however when doing make config i only get 3 options Apache2, Debug and IPV4. Cheers in advance Richard -- Richard Collyer [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PHP Install Options Problem
On Sunday 26 September 2004 14:00, Richard Collyer wrote: Hi All, I'm running FBSD 4.10 and recently had some problems with php. So i decided to de-install it and start again to see if that would help. Basically functions started to fail in Fatal Errors after upgrading to a newer version. Now when installing the package (from ports) it does not give any options to select what i want to install (i.e. no window saying mysql, xml support etc.). Is I think this is the root of the problem and php must not be installing the requred modules to handle the pages I am asking it to serve. PHP installs fine and the test page ( echo php_info(); ) works fine however alot of functons dont work such as preg_match() and mysql_connect() i get Fatal Error: etc... if these are called. Is thier a way to force the install to bring up these options or is thier a file where the values are installed that i could edit? when doing make it says: === Found saved configuration for mod_php4-4.3.8_2,1 Is thier a way to locate and delete this file. Atm using: cd /usr/ports/www/mod_php4/ make clean make make install make clean I have googled and searched the archive and nothing (as of yet) has turned up to be of much help. this is becoming a FAQ from /usr/ports/UPDATING 20040719: AFFECTS: users of PHP AUTHOR: [EMAIL PROTECTED] The old lang/php4 and lang/php5 ports have been splitted into 'base' PHP, PEAR, and shared extensions to allow more flexibility and add new features. Upgrading your current PHP installation will result in a 'base' PHP installation (no PEAR and no extensions). PEAR can be found in the new devel/php4-pear and devel/php5-pear ports, while the set of PHP extensions to install can be choosen via the meta-ports lang/php4-extensions and lang/php5-extensions, or installing singular extensions individually. If you have a previous php.ini configuration file, be sure to comment out the extension_dir parameter, since the correct path is statically compiled into the PHP binary. For an overview of the modules used with the old PHP binary, use the command php -m. Steve ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PHP Install Options Problem
On Sun, 2004-09-26 at 14:00, Richard Collyer wrote: Hi All, I'm running FBSD 4.10 and recently had some problems with php. So i decided to de-install it and start again to see if that would help. Basically functions started to fail in Fatal Errors after upgrading to a newer version. Now when installing the package (from ports) it does not give any options to select what i want to install (i.e. no window saying mysql, xml support etc.). Is I think this is the root of the problem and php must not be installing the requred modules to handle the pages I am asking it to serve. PHP installs fine and the test page ( echo php_info(); ) works fine however alot of functons dont work such as preg_match() and mysql_connect() i get Fatal Error: etc... if these are called. Is thier a way to force the install to bring up these options or is thier a file where the values are installed that i could edit? when doing make it says: === Found saved configuration for mod_php4-4.3.8_2,1 Is thier a way to locate and delete this file. Atm using: cd /usr/ports/www/mod_php4/ make clean make make install make clean I have googled and searched the archive and nothing (as of yet) has turned up to be of much help. Found this: http://lists.freebsd.org/mailman/htdig/freebsd-questions/2004-July/053077.html and followed what it said however when doing make config i only get 3 options Apache2, Debug and IPV4. Cheers in advance Richard Check /usr/ports/lang/php4-extensions ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PHP install
Does anyone know where I can find some documentation on installing PHP 4.2.3 on FreeBSD 4.4? __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: PHP install
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andrew Rench Does anyone know where I can find some documentation on installing PHP 4.2.3 on FreeBSD 4.4? The INSTALL file that comes with the distribution is pretty comprehensive. I recommend going the DSO route, rather than a static build. Alternatively, if you like using the FreeBSD ports, CD the appropriate directory and: make install. - Barry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: PHP install
From: Barry Byrne [EMAIL PROTECTED] To: Andrew Rench [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, December 06, 2002 9:44 AM Subject: RE: PHP install Does anyone know where I can find some documentation on installing PHP 4.2.3 on FreeBSD 4.4? The INSTALL file that comes with the distribution is pretty comprehensive. I recommend going the DSO route, rather than a static build. Alternatively, if you like using the FreeBSD ports, CD the appropriate directory and: make install. - Barry Second that. If you do desire a php-binary-executable instead of just a DSO, the instructions in the php manual at php.net were invaluable to me. But I'm sold on mod_php now $cd /usr/ports/www/mod_php4 $make install cleansee? Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message