Re: PHP Apache please help (please)

From: Gooofy (gooofy60_at_hotmail.com)
Date: 02/05/05


Date: Fri, 4 Feb 2005 23:16:57 -0500

Wait guys, I am starting to think that his Apache on Solaris isn't
configured to run PHP at all.

I only know how to do this for Windows Apache, in the config.ini file

  ScriptAlias /php/ "d:/apps/php/"
  AddType application/x-httpd-php .php
  AddType application/x-httpd-php-source .phps
  Action application/x-httpd-php "/php/php.exe"

"J.O. Aho" <user@example.net> wrote in message
news:3654ojF4s6m5oU1@individual.net...
> Peter Wilson wrote:
>> In this case the pages are the same so still does not really answer the
>> question.
>
> Are the version of your PHP the same?
> As you use an old variable, it won't work well in newer versions of PHP.
>
>
>> Also I am trying to move away from windoz but cannot until I get this
>> server up and running.
>
> If you are using linux and you are using the distros apache/php/mysql
> setup, everything should work out of the box, all blank pages would in
> that case be caused by code written for an older version of PHP or using
> variables only avaible for IIS.
>
> I do suggest you take a look what I wrote in my previous post and try the
> code change and see if not your page works better. Don't forget to check
> your logfiles to see if there are any error messages there (some do set
> php to not output errors to the browser but store it in the logfile).
>
>
> //Aho



Relevant Pages

  • Help with php5 install under windows
    ... This includes moving php from the ... Enable the PHP scripting language engine under Apache. ... or per-virtualhost web server configuration file. ... The PHP directives register_globals, ...
    (php.general)
  • Re: [PHP] problem loading phpinfo
    ... You didn't actually install PHP correctly. ... check the log to get the error messages it spews out at start up if ... My Apache is httpd-2.2.3. ... <?php phpinfo(); ?> ...
    (php.general)
  • RE: Virtual hosts and PHP "downloads": php5 and apache22 on FreeBSD6.1-STABLE
    ... Apache web server. ... Subject: Virtual hosts and PHP "downloads": php5 and apache22 on ...
    (freebsd-questions)
  • Re: HELP: send binary replies back and forth ???
    ... > My php application needs to do the following: ... > My PHP script loops through all records and sends each of them ONE BY ONE. ... > other than to be able to communicate with apache. ... All communication is binary because the connection used is pricy and ...
    (comp.lang.php)
  • Re: approaches to PHP-based application interface?
    ... "safe" so that the applicable parts of it can run on a public server. ... One major advantage of sticking with PHP is that my fairly large ... stripped-down browser so it runs as a Windows application without any ... apache involvement. ...
    (comp.lang.php)