php not working (blank screen)
Douglas Clinton
declinton at sympatico.ca
Mon Dec 1 01:22:53 UTC 2003
On Sun, 30 Nov 2003 14:01:25 -0500
linbox <paul_lin at twincomp.com> wrote:
> Robert L Cochran wrote:
>
> > That is...'service httpd restart' doesn't do it. Sorry for the error,
> > guess I'm getting dyslexic.
> >
> > Bob
> >
> >
> > Robert L Cochran wrote:
> >
> >> Did you compile PHP yourself? The current Fedora version is 4.3.4. If
> >> you did, you need to change httpd.conf to add that application type
> >> and load the new module. You must also kill and restart every httpd
> >> process to get PHP to show up. 'service restart httpd' doesn't do it.
> >> My method, which will no doubt make veteran linux people laugh, is to
> >> restart the computer.
> >>
> >> Bob
> >>
> >>
> >>
> >> linbox wrote:
> >>
> >>> I have apache working in Fedora, but cannot get php to work. I have
> >>> edited the php.ini file to point to the proper directory, but all I
> >>> ever get when I run a php script in a browser is a blank screen.
> >>> php --version returns:
> >>>
> >>> PHP 4.3.3 (cgi) (built: Oct 21 2003 09:51:55)
> >>> Copyright (c) 1997-2003 The PHP Group
> >>> Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
> >>>
> >>> I hesitate to post my php.ini and httpd.conf files because of the
> >>> length, but let me know if I should.
> >>>
> >>> Does anyone know what I am missing?
> >>>
> >>> TIA
> >>>
> >>>
> >>> --
> >>> fedora-list mailing list
> >>> fedora-list at redhat.com
> >>> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> >>>
> >>>
> >>
> >
> thanks for the quick responses.
>
> 1) No I did not compile php myself. It is the compiled version that
> came with Fedora.
> 2) Yes I restarted httpd and at your request I even restarted the
> computer. No luck.
> 3) I created a script in gedit that had just <?php phpinfo(); ?> with
> no luck. I then put a line of plain text under it in the script, and
> the text showed up in the browser window, so I know it is a php problem.
> 4) Problem happens as both root and user.
>
> Any additional help appreciated.
>
>
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
apachectl restart
This will restart the httpd server
--
Douglas Clinton
declinton at sympatico.ca
www.dblsys.ca
More information about the fedora-list
mailing list