Re: PHP5 And Apache on 4.4
On 12/12/2008, at 4:51 PM, Marcos Laufer - Ipv4networks.com wrote: Or you could just enable short tags in php.ini: short_open_tag = On [cut] Yes, that's what I used to do. And then I used someone else's server. Or a fresh install of PHP 5. Or something. And I/you forget about short tags. And then you wonder why PHP is broken on this other/new server. And waste several hours re-installing, testing, etc., etc., etc. Best to break the old habit and use long tags ... obviously if you've got a legacy app with short tags, the short tags directive is attractive. But you are going to have to take the pain one day (probably when you least want to/expect it.) PHP 5, mate, you have got to use long tags ?php phpinfo(); ? Well just everybody PLEASE Laugh at me... No I mean Laugh with me... Thats what I get for using an old learn Apache, MySQL and PHP book Thanks and Yes I was LMAO ;-D Bret
Re: PHP5 And Apache on 4.4
Le Thu, 11 Dec 2008 19:55:27 +1300, Richard Toohey [EMAIL PROTECTED] a C)crit : [cut] Yes a clean install, Apache works fine,, index,html servers up across my network... php -i from the command line works,,, a page called qw.php with only ? phpinfo(); ? displays nothing but from firefox a show page source shows the ? phpinfo(); ? as being there. also did multiple reboots to make sure. Bret PHP 5, mate, you have got to use long tags ?php phpinfo(); ? Or set short_open_tag to On in /etc/php.ini But long tag is cleaner. Julien
Re: PHP5 And Apache on 4.4
Richard Toohey wrote: [cut] Yes a clean install, Apache works fine,, index,html servers up across my network... php -i from the command line works,,, a page called qw.php with only ? phpinfo(); ? displays nothing but from firefox a show page source shows the ? phpinfo(); ? as being there. also did multiple reboots to make sure. Bret PHP 5, mate, you have got to use long tags ?php phpinfo(); ? Well just everybody PLEASE Laugh at me... No I mean Laugh with me... Thats what I get for using an old learn Apache, MySQL and PHP book Thanks and Yes I was LMAO ;-D Bret
Re: PHP5 And Apache on 4.4
Or you could just enable short tags in php.ini: short_open_tag = On On Thu, Dec 11, 2008 at 08:14:14PM -0700, Bret wrote: Richard Toohey wrote: [cut] Yes a clean install, Apache works fine,, index,html servers up across my network... php -i from the command line works,,, a page called qw.php with only ? phpinfo(); ? displays nothing but from firefox a show page source shows the ? phpinfo(); ? as being there. also did multiple reboots to make sure. Bret PHP 5, mate, you have got to use long tags ?php phpinfo(); ? Well just everybody PLEASE Laugh at me... No I mean Laugh with me... Thats what I get for using an old learn Apache, MySQL and PHP book Thanks and Yes I was LMAO ;-D Bret
PHP5 And Apache on 4.4
Greets: I recently did a clean install of OpenBSD 4.4 on a system that had been running 4.0. I have tried getting Php5 to run but I have not had any luck. Apache works fine. I installed from packages and followed the Instructions to do: ln -s /var/www/conf/modules.sample/php5.conf /var/www/conf/modules and mkdir /var/www/tmp I also enabled the: AddType application/x-httpd-php .php I have yet to find any idea other than the straight forward descrpition you get on the install. I am out of ideas after making the dirs and moving libphp6.so and also a copy of php from /usr/local/bin I have also did another clean install when my first tries did not work and then used ports to see if that would work instead. Bret
Re: PHP5 And Apache on 4.4
On 11/12/2008, at 5:10 PM, Bret wrote: Greets: I recently did a clean install of OpenBSD 4.4 on a system that had been running 4.0. I have tried getting Php5 to run but I have not had any luck. Apache works fine. I installed from packages and followed the Instructions to do: ln -s /var/www/conf/modules.sample/php5.conf /var/www/conf/modules and mkdir /var/www/tmp I also enabled the: AddType application/x-httpd-php .php I have yet to find any idea other than the straight forward descrpition you get on the install. I am out of ideas after making the dirs and moving libphp6.so and also a copy of php from /usr/local/bin I have also did another clean install when my first tries did not work and then used ports to see if that would work instead. Bret Clean install = scrubbed the 4.0 install completely? Or did you try and upgrade? How do you know that it is not working? What symptoms? Any error messages? i386? Does the command line version work e.g. php -i ? Restarted Apache / machine?
Re: PHP5 And Apache on 4.4
Richard Toohey wrote: On 11/12/2008, at 5:10 PM, Bret wrote: Greets: I recently did a clean install of OpenBSD 4.4 on a system that had been running 4.0. I have tried getting Php5 to run but I have not had any luck. Apache works fine. I installed from packages and followed the Instructions to do: ln -s /var/www/conf/modules.sample/php5.conf /var/www/conf/modules and mkdir /var/www/tmp I also enabled the: AddType application/x-httpd-php .php I have yet to find any idea other than the straight forward descrpition you get on the install. I am out of ideas after making the dirs and moving libphp6.so and also a copy of php from /usr/local/bin I have also did another clean install when my first tries did not work and then used ports to see if that would work instead. Bret Clean install = scrubbed the 4.0 install completely? Or did you try and upgrade? How do you know that it is not working? What symptoms? Any error messages? i386? Does the command line version work e.g. php -i ? Restarted Apache / machine? Greets Yes a clean install, Apache works fine,, index,html servers up across my network... php -i from the command line works,,, a page called qw.php with only ? phpinfo(); ? displays nothing but from firefox a show page source shows the ? phpinfo(); ? as being there. also did multiple reboots to make sure. Bret
Re: PHP5 And Apache on 4.4
[cut] Yes a clean install, Apache works fine,, index,html servers up across my network... php -i from the command line works,,, a page called qw.php with only ? phpinfo(); ? displays nothing but from firefox a show page source shows the ? phpinfo(); ? as being there. also did multiple reboots to make sure. Bret PHP 5, mate, you have got to use long tags ?php phpinfo(); ?