[NTLUG:Discuss] Running php - learning help
Brian Koontz
nlc at pongonova.net
Mon Jun 6 20:16:46 CDT 2005
Not much info here, so it's hard to tell.
Any error messages on apache startup? (Don't just recycle it using
"apachectl restart" -- doesn't always work. Use "apachectl stop" and
"apachectl start".)
If you file named with a .php extension? If not, apache won't parse
it as a PHP file.
There is an excellent PHP user's group in the Dallas area at
http://www.dallasphp.org. Lots of PHP gurus there who would probably be
more than willing to help dig into your problem.
--Brian
On Mon, Jun 06, 2005 at 08:33:25PM -0500, Dennis wrote:
> Starting a new learning curve - learning how to use use php.
>
> Have a book, and the first example is comming up blank. The error must
> be in the configuration of the system for apache or php.
>
> My ultra simple book example:
> <?php
> phpinfo();
> ?>
>
> I made changes to the httpd.conf file to include:
> AddType application/x-httpd-php .php
>
> To allow debuging (not on Internet accessable system), changed php.ini with:
> display_errors = On
>
> When I run firefox against the file (in a special directory -
> file:/programming/php/), I get a blank screen.
>
> OK, I need a 2x4 to guide me in the right direction. Please help.
> Appreciate.
>
> Dennis Rice
> dearroz at comcast.net
>
>
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list