Grant wrote:
I'm running Gentoo Linux, and emerged (installed)
squirrelmail which automatically installed all of its
dependencies including PHP and (I think) mod_php. PHP
doesn't seem to be working though, as I always end up
looking at the raw PHP code in a browser. I do have
apache and apache2 i
On Sunday 15 August 2004 10:09, Grant wrote:
> I have asked about this on the Gentoo list and was
> told to add "-D PHP4" to an apache2 directive. I did
> that, but it still doesn't work.
Then escalate the issue! Or go through the chapter:
manual > Installation > Servers-Apache 2.0
to make s
--- Jason Wong <[EMAIL PROTECTED]> wrote:
> On Sunday 15 August 2004 07:45, Grant wrote:
> > I'm running Gentoo Linux, and emerged (installed)
> > squirrelmail which automatically installed all of
> its
> > dependencies including PHP and (I think) mod_php.
> PHP
> > doesn't seem to be working th
On Sunday 15 August 2004 07:45, Grant wrote:
> I'm running Gentoo Linux, and emerged (installed)
> squirrelmail which automatically installed all of its
> dependencies including PHP and (I think) mod_php. PHP
> doesn't seem to be working though, as I always end up
> looking at the raw PHP code in
--- John Holmes <[EMAIL PROTECTED]> wrote:
> Grant wrote:
>
> > I'm running Gentoo Linux, and emerged (installed)
> > squirrelmail which automatically installed all of
> its
> > dependencies including PHP and (I think) mod_php.
> PHP
> > doesn't seem to be working though, as I always end
> up
>
Grant wrote:
I'm running Gentoo Linux, and emerged (installed)
squirrelmail which automatically installed all of its
dependencies including PHP and (I think) mod_php. PHP
doesn't seem to be working though, as I always end up
looking at the raw PHP code in a browser. I do have
apache and apache2 i
The php installer doesn't do everything for a windows installation.
You'll need to edit php.ini & httpd.config for apache, as described in
the installation guide.
Raditha Dissanayake wrote:
Yes sounds like you have not read the installation guide.
Mark Mark wrote:
I am running Apache 1.3.29 a
Yes sounds like you have not read the installation guide.
Mark Mark wrote:
I am running Apache 1.3.29 and PHP 4.3.3. I installed apache first and got it to work. Then, I install the php installer and and copied the windows binary files. I followed the instruction to run as a module and I even uni
You can also change the apache config to use php for .html pages.
example in apache 2.0.x:
... normal stuff like documentroot, servername, ..
SetOutputFilter PHP
SetInputFilter PHP
Or globally in the /etc/httpd/conf.d/php.conf, add a:
SetOutputFilter PHP
SetInputFilter P
You can also change the apache config to use php for .html pages.
example in apache 2.0.x:
... normal stuff like documentroot, servername, ..
SetOutputFilter PHP
SetInputFilter PHP
Or globally in the /etc/httpd/conf.d/php.conf, add a:
SetOutputFilter PHP
SetInputFilter PHP
> PHP isn't working in my html docs - what changes do I need to make to get
it
> to do so? Does it need to be recompiled? Can I do it without
re-compiling?
Give your file a .php extension, maybe?
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
On Friday 08 November 2002 05:35, Mike At Spy wrote:
> There isn't any .htaccess file in the directory - I added one with the line
> you specified, and my directory comes up with a 'server misconfiguration
> error'. Any other ideas? :)
You may have to put it inside a directory container:
A
There isn't any .htaccess file in the directory - I added one with the line
you specified, and my directory comes up with a 'server misconfiguration
error'. Any other ideas? :)
Thanks!
-Mike
>
>
> In your .htaccess file remove anything that looks like this:
> AddHandler server-parsed .html
In your .htaccess file remove anything that looks like this:
AddHandler server-parsed .html
And add this line:
AddType application/x-httpd-php .php .htm .html
Do a search for "parse html php" for more help.
-Kevin
- Original Message -
From: "Mike At Spy" <[EMAIL PROTECTED]>
To: <[EMAIL
What extension are your files? Your web server is probably not set up to
handle your files as PHP files.
Marco
--
php|architect - The magazine for PHP Professionals
The first monthly worldwide magazine dedicated to PHP programmer
Come visit us at http://www.phparch.com!
--- Begi
If you use win xp pro try use phptriad is working in my winbox ,
phptriads include = apache+mysql+php. You can download in sourceforge.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I've got Windows XP Pro OS. I installed and am running
> mySQL on that.
> However, PHP is not getting configured with Apache on
> it. I got the latest Apache, 1.3.24 or something, not
> the Version 2. Anyway, Apache runs perfectly on it.
> However, when i put in the required PHP lines i
here's my apache config i use at home
(where i have the binary version, *not* server module)
ScriptAlias /pbin/ /usr/local/php-bin/
AddType application/x-httpd-php .php
Action application/x-httpd-php /pbin/php
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> I even tried the LoadModule trick, but since I didn't compile as a
> module, that just gave me an error when I restarted the server.
And therein lies the rub.
If you compiled as a stand-alone binary (aka CGI) you don't want AddHandler,
you want "Action".
Something not unlike:
Action applica
Jason et. al.,
Thanks for the suggestion, but I'm still up the creek. I've seen some posts
about AddHandler, so I tried adding the following to the .conf file:
AddHandler php-script .php
but again, with no success.
Any other ideas? TIA again.
Brent
Jason Lustig wrote:
> >I've added the lin
php.exe
he's using redhat ... so there might be a _very_good_ possibility that he doesn't have
php.exe laying around.
lenar.
""Jason Lustig"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >I've added the lines:
> >AddType application/x-httpd-php .
>I've added the lines:
>AddType application/x-httpd-php .php
>AddType application/x-httpd-php-source .phps
>to my httpd.conf file
Maybe try adding:
AddType application/x-httpd-php4 .php
instead of:
AddType application/x-httpd-php .php
It depends on how you did th
Hello Phil,
(PS == "Phil Scopes") [EMAIL PROTECTED] writes:
PS> I am trying to run PHP in Windows '95 with Apache server. I followed all
PS> the instructions in the installation doc, including editting the Apache and
PS> PHP configuration files, and putting the PHP.INI file in my Windows
PS>
23 matches
Mail list logo